Function at 0x456830
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521930
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 0x456b0e
xor ecx, ecx
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x14], ecx
jle 0x456b07
or edi, 0xffffffff
nop
test ecx, ecx
je 0x456af4
mov ecx, dword [eax + ecx*4]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004095e0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
push edx
call fcn.004542a0
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
jne 0x4568c5
mov esi, edi
jmp 0x4568eb
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
jge 0x4568d2
mov esi, edi
jmp 0x4568eb
push eax
push ecx
call fcn.004ec277
add esp, 8
test eax, eax
jne 0x4568e4
mov esi, edi
jmp 0x4568eb
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 0x45690d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, edi
je 0x45697a
lea ecx, [ebp - 0x30]
push ecx
call fcn.004542a0
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [eax]
push 0x530e54
push eax
lea ecx, [ebp - 0x10]
call fcn.0041e680
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 0x456953
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.0048b990
test al, al
je 0x456975
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
add ecx, 0x5c
push edx
call fcn.00411920
jmp 0x456ad3
lea ecx, [ebp - 0x34]
push ecx
call fcn.004555f0
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
jne 0x456994
mov eax, edi
jmp 0x4569b8
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
jge 0x4569a1
mov eax, edi
jmp 0x4569b8
push eax
push ecx
call fcn.004ec277
add esp, 8
test eax, eax
jne 0x4569b3
mov eax, edi
jmp 0x4569b8
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 0x4569df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x456ad3
lea ecx, [ebp - 0x38]
push ecx
call fcn.004555f0
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [eax]
push 0x530e54
push eax
lea ecx, [ebp - 0x10]
call fcn.0041e680
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 0x456a29
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 0x456ad1
push 0x537788
push eax
call fcn.004ec277
add esp, 8
test eax, eax
je 0x456ad1
sub eax, dword [ebp - 0x10]
sar eax, 1
mov esi, eax
cmp esi, edi
je 0x456ad1
push esi
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00411010
mov byte [ebp - 4], 0xa
inc esi
push esi
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x10]
call fcn.004120d0
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.0041f6c0
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 0x456aaf
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 0x456ad1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x456ad3
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 0x456af4
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 0x456890
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