Function at 0x456fe0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7e90
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4572be
xor ecx, ecx
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x14], ecx
jle 0x4572b7
or edi, 0xffffffff
nop
test ecx, ecx
je 0x4572a4
mov ecx, dword [eax + ecx*4]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00409830
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
push edx
call fcn.00454ab0
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
jne 0x457075
mov esi, edi
jmp 0x45709b
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
jge 0x457082
mov esi, edi
jmp 0x45709b
push eax
push ecx
call fcn.004abdd7
add esp, 8
test eax, eax
jne 0x457094
mov esi, edi
jmp 0x45709b
sub eax, dword [ebp - 0x10]
sar eax, 1
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4570bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, edi
je 0x45712a
lea ecx, [ebp - 0x30]
push ecx
call fcn.00454ab0
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [eax]
push 0x4e6ea0
push eax
lea ecx, [ebp - 0x10]
call fcn.00411e60
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457103
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [0x52f4fc]
call fcn.0048cff0
test al, al
je 0x457125
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
add ecx, 0x5c
push edx
call fcn.00412bf0
jmp 0x457283
lea ecx, [ebp - 0x34]
push ecx
call fcn.00455da0
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
jne 0x457144
mov eax, edi
jmp 0x457168
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
jge 0x457151
mov eax, edi
jmp 0x457168
push eax
push ecx
call fcn.004abdd7
add esp, 8
test eax, eax
jne 0x457163
mov eax, edi
jmp 0x457168
sub eax, dword [ebp - 0x10]
sar eax, 1
cmp eax, edi
setne bl
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45718f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x457283
lea ecx, [ebp - 0x38]
push ecx
call fcn.00455da0
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [eax]
push 0x4e6ea0
push eax
lea ecx, [ebp - 0x10]
call fcn.00411e60
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4571d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jl 0x457281
push 0x4ed8d8
push eax
call fcn.004abdd7
add esp, 8
test eax, eax
je 0x457281
sub eax, dword [ebp - 0x10]
sar eax, 1
mov esi, eax
cmp esi, edi
je 0x457281
push esi
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004121e0
mov byte [ebp - 4], 0xa
inc esi
push esi
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x10]
call fcn.004138d0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x68
call fcn.00422920
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45725f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457281
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x457283
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4572a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp - 0x14]
jl 0x457040
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret