Function at 0x4044d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4246fb
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4304f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 4], edi
mov ebx, 1
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x2c], eax
cmp eax, edi
je 0x4047b7
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x24], ebx
jle 0x4047a2
mov ecx, 0x429920
shr ecx, 0x10
mov dword [ebp - 0x28], ecx
jmp 0x404560
mov ecx, dword [ebp - 0x20]
mov edi, dword [eax + ecx*4]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
test edi, edi
je 0x4045a8
test edi, 0xffff0000
jne 0x4045ac
movzx edi, di
call fcn.00401080
test eax, eax
je 0x4045cf
push eax
mov eax, edi
lea edi, [ebp - 0x14]
call fcn.00401a30
jmp 0x4045cc
xor eax, eax
jmp 0x4045c0
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4045b1
sub eax, edx
sar eax, 1
push edi
lea ecx, [ebp - 0x14]
push ecx
mov ebx, eax
call fcn.00401850
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], 2
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x28], 0
mov byte [ebp - 4], 3
jne 0x404614
mov ecx, 0x429920
movzx edi, cx
call fcn.00401080
test eax, eax
je 0x404627
push eax
mov eax, edi
lea edi, [ebp - 0x1c]
call fcn.00401a30
jmp 0x404627
push 0x429920
lea edx, [ebp - 0x1c]
push edx
mov ebx, 1
call fcn.00401850
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx - 0xc]
or dword [ebp - 0x10], 2
cmp eax, dword [esi - 0xc]
jg 0x4046c3
push eax
push ecx
push esi
call fcn.00413f0c
add esp, 0xc
test eax, eax
sete al
test al, al
je 0x4046c3
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x28], 0
mov dword [ebp - 4], 6
jne 0x404692
mov eax, 0x429920
movzx edi, ax
call fcn.00401080
test eax, eax
je 0x4046a5
push eax
mov eax, edi
lea edi, [ebp - 0x18]
call fcn.00401a30
jmp 0x4046a5
push 0x429920
lea ecx, [ebp - 0x18]
push ecx
mov ebx, 1
call fcn.00401850
mov dword [ebp - 4], 7
or dword [ebp - 0x10], 4
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.00412c70
test al, al
je 0x4046c3
mov bl, 1
jmp 0x4046c5
xor bl, bl
mov dword [ebp - 4], 4
test byte [ebp - 0x10], 4
je 0x4046f5
mov eax, dword [ebp - 0x18]
and dword [ebp - 0x10], 0xfffffffb
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4046f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 2
test byte [ebp - 0x10], 2
je 0x404725
mov eax, dword [ebp - 0x1c]
and dword [ebp - 0x10], 0xfffffffd
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404725
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x404753
lea ecx, [ebp - 0x14]
push ecx
mov eax, 1
xor ecx, ecx
call fcn.00402590
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx - 0xc]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ecx - 1]
mov eax, 1
call fcn.00402590
mov esi, dword [ebp - 0x14]
mov eax, dword [esi - 0xc]
mov ebx, dword [ebp + 8]
push eax
push esi
call fcn.00404bc0
push 1
push 0x429924
call fcn.00404bc0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40478c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
inc eax
cmp eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
jl 0x404560
mov esi, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, esi
call fcn.00402b50
mov ebx, eax
call fcn.00402bd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4