Function at 0x408a63
Capabilities:
Accept command line arguments

Disassembly:
push 0x7c
mov eax, 0x429a42
call fcn.004120da
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov esi, ecx
push 0x42eecc
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x80], edi
call fcn.0040b587
xor esi, esi
inc esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x74], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x74]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], esi
mov dword [ebp - 0x6c], esi
cmp dword [ebp - 0x74], esi
jle 0x408d22
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x6c]
lea esi, [eax + ecx*4]
mov edi, dword [esi]
mov eax, edi
mov dword [ebp - 0x7c], esi
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x408ae1
sub eax, ecx
sar eax, 1
mov ebx, eax
push edi
lea eax, [ebp - 0x2c]
call fcn.0040c629
test al, al
je 0x408b1d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x408b0b
lea eax, [ebp - 0x2c]
sub edi, eax
push ebx
sar edi, 1
lea eax, [ebp - 0x2c]
push edi
mov ecx, eax
call fcn.0040c057
jmp 0x408b5d
push 0
lea eax, [ebp - 0x2c]
call fcn.0040c5bd
test al, al
je 0x408b5d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x408b37
lea eax, [ebp - 0x2c]
lea esi, [ebx + ebx]
push esi
push edi
push eax
call fcn.004118e0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x1c], ebx
jae 0x408b54
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov word [esi + eax], cx
mov esi, dword [ebp - 0x7c]
push 1
xor eax, eax
lea ecx, [ebp - 0x2c]
call fcn.0040c11a
cmp eax, 0xffffffff
je 0x408bb5
lea eax, [ebp - 0x64]
push eax
lea edi, [ebp - 0x2c]
call fcn.0040c937
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0040c98d
pop ecx
pop ecx
mov ebx, eax
mov eax, edi
mov byte [ebp - 4], 3
call fcn.0040bf6c
push 1
xor edi, edi
lea esi, [ebp - 0x48]
call fcn.0040c1b5
push 1
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0040c1b5
jmp 0x408d10
mov edi, dword [ebp - 0x70]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0040b719
mov eax, edi
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x78]
cmp eax, ecx
je 0x408be7
add eax, 0x28
mov esi, dword [ebp - 0x68]
push 0
push eax
or eax, 0xffffffff
call fcn.0040c434
jmp 0x408d03
push 3
push 0x42eedc
push dword [esi]
call fcn.0040f617
add esp, 0xc
test eax, eax
jne 0x408cf9
mov edi, dword [esi]
add edi, 6
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408c0a
sub eax, edx
sar eax, 1
mov ebx, eax
push edi
lea eax, [ebp - 0x2c]
call fcn.0040c629
test al, al
je 0x408c46
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x408c34
lea eax, [ebp - 0x2c]
sub edi, eax
push ebx
sar edi, 1
lea eax, [ebp - 0x2c]
push edi
mov ecx, eax
call fcn.0040c057
jmp 0x408c86
push 0
lea eax, [ebp - 0x2c]
call fcn.0040c5bd
test al, al
je 0x408c86
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x408c60
lea eax, [ebp - 0x2c]
lea esi, [ebx + ebx]
push esi
push edi
push eax
call fcn.004118e0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x1c], ebx
jae 0x408c7d
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov word [esi + eax], cx
mov esi, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x70]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0040b719
mov eax, dword [eax]
mov ecx, edi
mov dword [ebp - 0x78], eax
cmp eax, dword [ecx + 4]
je 0x408cf9
push 0xffffffffffffffff
push 1
add eax, 0x28
push eax
lea esi, [ebp - 0x48]
call fcn.0040b665
push eax
push 0x42eedc
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.0040c9b3
pop ecx
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0040bf6c
push 1
xor edi, edi
lea esi, [ebp - 0x64]
call fcn.0040c1b5
push 1
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0040c1b5
lea eax, [ebp - 0x2c]
jmp 0x408bd4
push dword [esi]
push dword [ebp - 0x68]
call fcn.0040b5cf
push 0x42eed4
push dword [ebp - 0x68]
call fcn.0040b5cf
inc dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x74]
jl 0x408acb
xor esi, esi
inc esi
push esi
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.0040c1b5
mov eax, dword [ebp - 0x68]
call fcn.0041215d
ret 4