Function at 0x4052b5
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x416004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0x238], eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 0x20019
push 0x40562c
push 0x80000002
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], ebx
call fcn.00405279
test eax, eax
je 0x407fef
push 0x4055f0
push 8
call fcn.004018db
pop ecx
pop ecx
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x230]
rep stosd dword es:[edi], eax
mov esi, 0x405500
lea edi, [ebp - 0x234]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x238]
xor esi, esi
inc esi
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0x405510
call fcn.00406f12
push 0x4055a8
push 0x55000001
push esi
push eax
mov dword [0x4160c4], eax
call fcn.00405667
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push ebx
push 0x65
push 0x64
push dword [ebp - 0x238]
mov ebx, 0x416158
push 0x416028
mov ecx, ebx
mov dword [ebp - 0x23c], eax
call fcn.0040583c
mov dword [0x4161a4], esi
mov esi, 0x4055a0
lea edi, [ebp - 0xc]
lea eax, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x23c]
movsw word es:[edi], word [esi]
call fcn.00404415
xor edi, edi
mov dword [ebp - 0x238], eax
cmp eax, edi
jne 0x408014
call fcn.00406d16
test eax, eax
je 0x4080f2
push 0x20019
push 0x404288
push 0x80000000
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x24c], edi
call fcn.00405279
mov esi, eax
cmp esi, edi
jne 0x40810f
push 1
push 0x404298
push dword [ebp - 0x254]
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x258], edi
call fcn.00405279
mov esi, eax
cmp esi, edi
jne 0x40811b
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x404310
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x23c], 0x104
call fcn.00403e38
mov dword [0x4161a4], edi
cmp eax, edi
jne 0x40548d
mov dword [0x4161a4], 1
mov ecx, ebx
call fcn.00406cc3
push 0x405560
push 0x55000002
push 1
push dword [0x4160c4]
call fcn.00405667
push dword [0x4160c4]
call fcn.00413a77
push 0x405520
push 8
call fcn.004018db
mov esi, dword [0x4161b4]
pop ecx
pop ecx
lea ecx, [ebp - 0x260]
call fcn.004019ed
lea ecx, [ebp - 0x254]
call fcn.004019ed
lea ecx, [ebp - 0x248]
call fcn.004019ed
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004018c9
leave
ret 0x10
push section..data
push 0x4082b0
lea ecx, [ebp - 0x248]
call fcn.00401940
lea ecx, [ebp - 0x248]
call fcn.004019ed
jmp 0x405317
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
cmp esi, edi
jge 0x40803d
push esi
push 0x408260
push 1
call fcn.004018db
add esp, 0xc
mov ecx, ebx
call fcn.0040cbf8
jmp 0x4054e0
push 0xb
push 0x408248
push dword [ebp - 0x238]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x40806c
mov ecx, ebx
call fcn.00410339
mov esi, eax
cmp esi, edi
jge 0x4080c3
push esi
push 0x4081f0
jmp 0x4080b9
push 9
push 0x4081dc
push dword [ebp - 0x238]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x408089
push edi
jmp 0x4080a5
push 7
push 0x4081cc
push dword [ebp - 0x238]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x4080c3
push 1
push edi
mov ecx, ebx
call fcn.0040fa5c
mov esi, eax
cmp esi, edi
jge 0x4080c3
push esi
push 0x408178
push 1
call fcn.004018db
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x238]
call fcn.00404415
mov dword [ebp - 0x238], eax
cmp eax, edi
jne 0x40803d
mov ecx, ebx
call fcn.0040cbf8
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4054e0
push 0x408128
push 1
call fcn.004018db
pop ecx
pop ecx
mov ecx, ebx
call fcn.0040cbf8
or esi, 0xffffffff
jmp 0x4054e0
mov ecx, ebx
call fcn.0040cbf8
jmp 0x4054d5
mov ecx, ebx
call fcn.0040cbf8
jmp 0x4054ca