Function at 0x43f710
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518978
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 4], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.0043fc00
mov dword [ebx], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, 1
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x34], edi
jle 0x43f906
nop dword [eax + eax]
mov edx, dword [eax + edi*4]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f7b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041b490
mov byte [ebp - 4], 2
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov esi, dword [ebp + 0x18]
mov ecx, esi
cmovae edx, dword [ebp + 8]
cmp dword [ebp - 0x18], esi
cmovb ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp esi, eax
cmovb eax, esi
push eax
call fcn.0041ba80
add esp, 4
test eax, eax
jne 0x43f8ed
cmp dword [ebp - 0x2c], esi
jb 0x43f8ed
ja 0x43f8ed
push eax
push ecx
push esi
push ecx
lea ecx, [ebp - 0x28]
call fcn.0043fa80
lea eax, [edi + 1]
cmp eax, dword [ebp - 0x34]
jge 0x43f8ed
mov edi, eax
mov ecx, ebx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043fa00
mov esi, dword [ebp - 0x40]
cmp esi, dword [ebx]
je 0x43f89e
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov dword [ebp - 0x2c], eax
jb 0x43f85b
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov edx, dword [eax + 0x10]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
cmp edx, eax
mov dword [ebp - 0x30], edx
cmovb eax, edx
mov edx, dword [ebp - 0x2c]
push eax
call fcn.0041ba80
add esp, 4
test eax, eax
jne 0x43f897
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jbe 0x43f893
or eax, 0xffffffff
jmp 0x43f897
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
je 0x43f8c5
lea eax, [ebp - 0x28]
push ecx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push ecx
mov ecx, ebx
call fcn.0043fd90
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x38]
push eax
call fcn.0043fe20
mov esi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx + edi*4]
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x30], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f8d3
sub eax, dword [ebp - 0x30]
lea ecx, [esi + 0x28]
sar eax, 1
push eax
push edx
call fcn.0041b490
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0041b400
mov eax, dword [ebp - 0x3c]
inc edi
cmp edi, dword [ebp - 0x34]
jl 0x43f790
lea ecx, [ebp + 8]
call fcn.0041b400
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret 0x18