Function at 0x4b64a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bf2e7
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x72b01c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
call fcn.00496d70
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [ebp - 0x2c], ebx
test ebx, ebx
je 0x4b681a
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00481460
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
lea ecx, [ebx + eax*4]
mov eax, ebx
mov dword [ebp - 0x28], ecx
cmp ebx, ecx
jae 0x4b6813
push 0xffffffffffffffff
push dword [eax]
lea eax, [ebp - 0x54]
push eax
call fcn.00492160
add esp, 0xc
mov ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
or eax, 0xa
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ebp - 0x14], eax
test al, 4
je 0x4b65a1
and dword [ebp - 0x14], 0xfffffffb
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4b65a1
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x4b65a1
push 4
push 2
push ecx
call fcn.0045fe90
add esp, 0xc
mov eax, dword [ebp - 0x14]
test al, 2
je 0x4b65d3
and dword [ebp - 0x14], 0xfffffffd
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4b65d3
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x4b65d3
push 4
push 2
push dword [ebp - 0x54]
call fcn.0045fe90
add esp, 0xc
mov ecx, dword [esi + 8]
mov ebx, ecx
mov edi, dword [esi]
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], ecx
test edi, edi
je 0x4b66be
cmp dword [edi], 1
mov edi, dword [esi]
mov ebx, dword [esi + 8]
jg 0x4b66be
cmp ecx, ebx
jne 0x4b6660
test edi, edi
je 0x4b6660
mov ecx, dword [esi + 4]
lea eax, [edi + 0xf]
and eax, 0xfffffffc
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [edi + 8]
sar edx, 1
sub eax, ebx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
je 0x4b665d
mov ecx, dword [esi + 4]
lea eax, [ebx + ebx*2]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 8], eax
inc dword [esi + 8]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
jmp 0x4b67e2
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x4b66be
test edi, edi
je 0x4b66be
mov ecx, dword [esi + 4]
lea eax, [edi + 0xf]
and eax, 0xfffffffc
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4b66bb
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ecx - 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [ecx - 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx - 4], eax
add dword [esi + 4], 0xfffffff4
inc dword [esi + 8]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
jmp 0x4b67e2
mov ecx, dword [ebp - 0x18]
movq xmm0, qword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 3
test ebx, ebx
je 0x4b66f3
test ecx, ecx
jne 0x4b66f3
mov al, 1
jmp 0x4b66f5
xor al, al
mov byte [ebp - 0xd], al
movzx ebx, al
test edi, edi
je 0x4b675f
cmp dword [edi], 1
jg 0x4b675f
mov edi, dword [esi]
cmp ebx, 1
jne 0x4b671f
test edi, edi
je 0x4b674f
mov eax, dword [esi + 4]
lea ecx, [edi + 0xf]
and ecx, 0xfffffffc
sub eax, ecx
cmp eax, 0xc
jmp 0x4b674d
test al, al
jne 0x4b674f
test edi, edi
je 0x4b674f
mov ecx, dword [esi + 4]
lea eax, [edi + 0xf]
and eax, 0xfffffffc
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [edi + 8]
sub eax, dword [esi + 8]
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
cmp eax, 1
jge 0x4b676b
push 0
push 1
push ebx
mov ecx, esi
call fcn.00464190
test al, al
jne 0x4b676b
push 0
push 1
push ebx
mov ecx, esi
call fcn.004801c0
cmp byte [ebp - 0xd], 0
je 0x4b6797
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x48]
mov dword [ecx - 0xc], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx - 8], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx - 4], eax
xor ecx, ecx
add dword [esi + 4], 0xfffffff4
inc dword [esi + 8]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
jmp 0x4b67bc
lea eax, [ebp - 0x48]
mov dword [ebp - 0x68], esi
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x5c], 0
call fcn.0047f540
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x5c]
add dword [ecx + 8], eax
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4b67e2
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x4b67e2
push 4
push 2
push ecx
call fcn.0045fe90
add esp, 0xc
mov eax, dword [esi]
test eax, eax
je 0x4b67ed
cmp dword [eax], 1
jle 0x4b67fa
push 0
push 0
push 0
mov ecx, esi
call fcn.004801c0
mov eax, dword [ebp - 0x20]
add eax, 4
mov byte [ebp - 4], 0
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x28]
jb 0x4b6534
mov ebx, dword [ebp - 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
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