Function at 0x456760
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521ae0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x587978]
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 0x456a3e
xor ecx, ecx
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x14], ecx
jle 0x456a37
or edi, 0xffffffff
nop
test ecx, ecx
je 0x456a24
mov ecx, dword [eax + ecx*4]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00409590
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
push edx
call fcn.00454090
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
jne 0x4567f5
mov esi, edi
jmp 0x45681b
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
jge 0x456802
mov esi, edi
jmp 0x45681b
push eax
push ecx
call fcn.004ec4a7
add esp, 8
test eax, eax
jne 0x456814
mov esi, edi
jmp 0x45681b
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 0x45683d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, edi
je 0x4568aa
lea ecx, [ebp - 0x30]
push ecx
call fcn.00454090
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [eax]
push 0x530e54
push eax
lea ecx, [ebp - 0x10]
call fcn.0041ea10
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 0x456883
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 [0x589074]
call fcn.0048bd60
test al, al
je 0x4568a5
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
add ecx, 0x5c
push edx
call fcn.00411c00
jmp 0x456a03
lea ecx, [ebp - 0x34]
push ecx
call fcn.00455520
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
jne 0x4568c4
mov eax, edi
jmp 0x4568e8
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
jge 0x4568d1
mov eax, edi
jmp 0x4568e8
push eax
push ecx
call fcn.004ec4a7
add esp, 8
test eax, eax
jne 0x4568e3
mov eax, edi
jmp 0x4568e8
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 0x45690f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x456a03
lea ecx, [ebp - 0x38]
push ecx
call fcn.00455520
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [eax]
push 0x530e54
push eax
lea ecx, [ebp - 0x10]
call fcn.0041ea10
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 0x456959
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 0x456a01
push 0x537758
push eax
call fcn.004ec4a7
add esp, 8
test eax, eax
je 0x456a01
sub eax, dword [ebp - 0x10]
sar eax, 1
mov esi, eax
cmp esi, edi
je 0x456a01
push esi
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004112f0
mov byte [ebp - 4], 0xa
inc esi
push esi
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x10]
call fcn.004123b0
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.0041f9a0
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 0x4569df
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 0x456a01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x456a03
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 0x456a24
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 0x4567c0
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