Function at 0x4b7440
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f898
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x569638]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4b748f
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
jne 0x4b748f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4b7479
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
jle 0x4b766e
jmp 0x4b74c0
mov eax, dword [eax + ecx*4]
cmp word [eax], 0x2f
jne 0x4b765b
lea edx, [ebp + 0xc]
lea ecx, [eax + 2]
push edx
call fcn.0042bf40
mov dword [ebp - 4], 0
mov eax, dword [0x570fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x570fac
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [0x570fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x570fac
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
jle 0x4b75ba
push 0x3a
push eax
call fcn.004f8503
add esp, 8
test eax, eax
je 0x4b75ba
sub eax, dword [ebp + 0xc]
sar eax, 1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4b75ba
lea ecx, [ebx + 1]
lea esi, [ebp - 0x24]
lea edx, [ebp + 0xc]
call fcn.004272f0
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0042b950
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b757b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0xc]
push ecx
mov eax, ebx
lea ecx, [ebp - 0x28]
call fcn.00427320
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0042b950
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b75c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4b75c5
lea eax, [ebp + 0xc]
lea edi, [ebp - 0x14]
call fcn.0042b950
lea ecx, [ebp - 0x10]
push ecx
call fcn.0048ac80
push eax
call fcn.0048abf0
lea edi, [ebp - 0x14]
call fcn.00428bd0
mov edi, dword [ebp + 8]
push eax
call fcn.00418230
mov edi, eax
lea eax, [ebp - 0x10]
call fcn.0042b950
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b7612
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 - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b7635
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b765b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
inc ecx
cmp ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
jl 0x4b74c0
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8