Function at 0x4afdf0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8c77
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x71c56c]
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.004906d0
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [ebp - 0x2c], ebx
test ebx, ebx
je 0x4b016a
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0047adb0
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 0x4b0163
push 0xffffffffffffffff
push dword [eax]
lea eax, [ebp - 0x54]
push eax
call fcn.0048bab0
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 0x4afef1
and dword [ebp - 0x14], 0xfffffffb
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4afef1
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x4afef1
push 4
push 2
push ecx
call fcn.004597e0
add esp, 0xc
mov eax, dword [ebp - 0x14]
test al, 2
je 0x4aff23
and dword [ebp - 0x14], 0xfffffffd
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4aff23
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x4aff23
push 4
push 2
push dword [ebp - 0x54]
call fcn.004597e0
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 0x4b000e
cmp dword [edi], 1
mov edi, dword [esi]
mov ebx, dword [esi + 8]
jg 0x4b000e
cmp ecx, ebx
jne 0x4affb0
test edi, edi
je 0x4affb0
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 0x4affad
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 0x4b0132
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x4b000e
test edi, edi
je 0x4b000e
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 0x4b000b
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 0x4b0132
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 0x4b0043
test ecx, ecx
jne 0x4b0043
mov al, 1
jmp 0x4b0045
xor al, al
mov byte [ebp - 0xd], al
movzx ebx, al
test edi, edi
je 0x4b00af
cmp dword [edi], 1
jg 0x4b00af
mov edi, dword [esi]
cmp ebx, 1
jne 0x4b006f
test edi, edi
je 0x4b009f
mov eax, dword [esi + 4]
lea ecx, [edi + 0xf]
and ecx, 0xfffffffc
sub eax, ecx
cmp eax, 0xc
jmp 0x4b009d
test al, al
jne 0x4b009f
test edi, edi
je 0x4b009f
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 0x4b00bb
push 0
push 1
push ebx
mov ecx, esi
call fcn.0045dae0
test al, al
jne 0x4b00bb
push 0
push 1
push ebx
mov ecx, esi
call fcn.00479b10
cmp byte [ebp - 0xd], 0
je 0x4b00e7
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 0x4b010c
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.00478e90
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 0x4b0132
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x4b0132
push 4
push 2
push ecx
call fcn.004597e0
add esp, 0xc
mov eax, dword [esi]
test eax, eax
je 0x4b013d
cmp dword [eax], 1
jle 0x4b014a
push 0
push 0
push 0
mov ecx, esi
call fcn.00479b10
mov eax, dword [ebp - 0x20]
add eax, 4
mov byte [ebp - 4], 0
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x28]
jb 0x4afe84
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