Function at 0x40afe7
Capabilities:
Accept command line arguments

Disassembly:
push 0x9c
mov eax, 0x57d6eb
call fcn.00552f19
mov edi, ecx
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x9c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
xor ebx, ebx
mov byte [ebp - 0x88], bl
mov dword [edi], vtable.NGUtils::CCommandLine.0
lea esi, [edi + 4]
mov dword [ebp - 0x90], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.0040ba16
mov dword [esi], eax
mov dword [ebp - 4], 2
lea ecx, [edi + 0xc]
call fcn.00404998
mov byte [ebp - 4], 3
lea ecx, [edi + 0x24]
call fcn.00404998
mov byte [ebp - 4], 4
lea ecx, [edi + 0x3c]
call fcn.00404998
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x40b072
mov ecx, 0x5fb8f4
mov eax, dword [0x5fb8f4]
call dword [eax + 0x90]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x94], ebx
lea ecx, [ebp - 0x94]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 0x98], esi
test esi, esi
je 0x40b2c7
push dword [esi]
lea ecx, [edi + 0x24]
call fcn.00403b70
cmp dword [ebp - 0x94], 1
jle 0x40b0fa
push dword [esi + 4]
lea ecx, [edi + 0xc]
call fcn.00403b70
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [edi + 0x3c]
call fcn.00403b70
push ebx
lea eax, [edi + 0xc]
push eax
lea ecx, [edi + 0x3c]
call fcn.0040b626
cmp eax, 0xffffffff
je 0x40b0fa
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [edi + 0x3c]
call fcn.0040b5d1
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x3c]
call fcn.0040a6e2
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004043b0
mov dword [ebp - 0x7c], ebx
xor edx, edx
inc edx
mov dword [ebp - 0x84], edx
cmp edx, dword [ebp - 0x94]
jge 0x40b2c0
mov eax, dword [esi + edx*4]
mov dword [ebp - 0x80], eax
movzx ecx, word [eax]
mov dword [ebp - 0x8c], ecx
cmp ecx, 0x2f
mov ecx, dword [ebp - 0x7c]
je 0x40b175
cmp word [ebp - 0x8c], 0x2d
je 0x40b175
test ecx, ecx
je 0x40b273
push ecx
lea ecx, [ebp - 0x48]
call fcn.0040b595
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 4]
call fcn.0040b533
push dword [ebp - 0x80]
mov ecx, eax
call fcn.00403b70
mov byte [ebp - 4], 5
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0040b70f
mov dword [ebp - 0x7c], ebx
jmp 0x40b26d
add eax, 2
mov dword [ebp - 0x80], eax
mov ecx, eax
lea eax, [ecx + 2]
mov dword [ebp - 0x8c], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x40b186
sub ecx, dword [ebp - 0x8c]
sar ecx, 1
je 0x40b273
mov eax, dword [ebp - 0x80]
mov ecx, eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x8c], ecx
cmp byte [ebp - 0x88], 0
je 0x40b279
push 0x3d
push eax
call fcn.005576b4
pop ecx
pop ecx
mov dword [ebp - 0x90], eax
test eax, eax
je 0x40b215
xor ecx, ecx
mov word [eax], cx
mov byte [ebp - 4], 7
push dword [ebp - 0x80]
lea ecx, [ebp - 0x60]
call fcn.0040b595
mov byte [ebp - 4], 8
lea eax, [ebp - 0x60]
push eax
lea ecx, [edi + 4]
call fcn.0040b533
mov ecx, eax
mov eax, dword [ebp - 0x90]
add eax, 2
push eax
call fcn.00403b70
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
jmp 0x40b2a9
mov byte [ebp - 4], 0xa
push dword [ebp - 0x80]
lea ecx, [ebp - 0x78]
call fcn.0040b595
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x78]
push eax
lea ecx, [edi + 4]
call fcn.0040b533
push 0x5c5710
mov ecx, eax
call fcn.00403b70
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x78]
jmp 0x40b2a9
mov edx, dword [ebp - 0x84]
inc edx
jmp 0x40b100
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x30]
call fcn.0040b595
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x30]
push eax
lea ecx, [edi + 4]
call fcn.0040b533
push 0x5c5710
mov ecx, eax
call fcn.00403b70
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x30]
push ebx
push 1
call fcn.0040b70f
mov dword [ebp - 4], 5
jmp 0x40b26d
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.00552e66
ret 8