Function at 0x401450
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x4a5638
mov eax, dword fs:[0]
push eax
sub esp, 0x230
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c3518]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [esp + 0x254]
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 4]
lea esi, [edi + 8]
push ecx
mov ecx, esi
call fcn.00402490
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
xor ebp, ebp
mov dword [esi + 0x1c], ebp
mov dword [eax], eax
mov esi, dword [esi + 0x18]
mov dword [esi + 8], esi
mov edx, dword [ebx]
cmp dword [edx - 0xc], ebp
je 0x401809
add edi, 4
mov eax, ebx
call fcn.00402180
mov ebx, dword [ebx]
push ebx
lea eax, [esp + 0x144]
call fcn.00403d10
mov dword [esp + 0x24c], ebp
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.00401bc0
mov byte [esp + 0x24c], 2
mov eax, dword [esp + 0x140]
lea edx, [esp + 0x144]
cmp eax, edx
je 0x401509
push eax
call fcn.0048556b
add esp, 4
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [esp + 0x30], esi
cmp esi, ebp
je 0x4017de
mov edx, dword [0x4c602c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4c602c
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x24c], 3
mov edx, dword [0x4c602c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4c602c
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x24c], 4
cmp dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
jle 0x401755
mov ecx, dword [esp + 0x24]
mov ebp, dword [esi + ecx*4]
lea edx, [esp + 0x40]
mov dword [esp + 0x3c], edx
test ebp, ebp
jne 0x40158c
mov dword [esp + 0x3c], ebp
jmp 0x4015bd
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
inc ebx
lea edi, [esp + 0x40]
mov ecx, ebx
lea esi, [esp + 0x3c]
call fcn.00403ba0
mov eax, dword [esp + 0x3c]
add ebx, ebx
push ebx
push ebp
push ebx
push eax
call fcn.0048545d
push eax
call fcn.00403c50
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x24c], 5
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00401bc0
mov bl, 7
mov byte [esp + 0x24c], bl
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x40]
cmp eax, edx
je 0x4015f1
push eax
call fcn.0048556b
add esp, 4
mov eax, dword [esp + 0x18]
push 0x4aacd0
push eax
call fcn.00485706
add esp, 8
test eax, eax
je 0x4016d4
sub eax, dword [esp + 0x18]
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x4016d4
lea ecx, [esp + 0x38]
lea edx, [esp + 0x18]
call fcn.00401d90
lea edi, [esp + 0x1c]
mov byte [esp + 0x24c], 8
call fcn.00402180
mov byte [esp + 0x24c], bl
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401661
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x1c]
call fcn.00402060
mov ebx, eax
call fcn.004020e0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
sub eax, esi
lea edx, [esp + 0x18]
dec eax
push edx
lea ecx, [esp + 0x38]
call fcn.00401d10
lea edi, [esp + 0x20]
mov byte [esp + 0x24c], 9
call fcn.00402180
mov byte [esp + 0x24c], 7
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4016c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x20]
call fcn.00402060
mov ebx, eax
call fcn.004020e0
jmp 0x4016ff
lea eax, [esp + 0x18]
lea edi, [esp + 0x1c]
call fcn.00402180
mov ebx, edi
call fcn.00402060
mov ebx, eax
call fcn.004020e0
push 0x4aad14
xor ebx, ebx
lea eax, [esp + 0x24]
call fcn.004026a0
mov eax, dword [esp + 0x254]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
call fcn.00401b10
mov byte [esp + 0x24c], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40173e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
inc eax
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
jl 0x401573
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [esp + 0x24c], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401784
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24c], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4017ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24c], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4017d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x40180b
mov dword [esp + 0x24c], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401809
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x23c
ret 4