Function at 0x40af74
Capabilities:
Accept command line arguments

Disassembly:
push 0x9c
mov eax, 0x57d61b
call fcn.00552e4a
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.0040b9a3
mov dword [esi], eax
mov dword [ebp - 4], 2
lea ecx, [edi + 0xc]
call fcn.00404928
mov byte [ebp - 4], 3
lea ecx, [edi + 0x24]
call fcn.00404928
mov byte [ebp - 4], 4
lea ecx, [edi + 0x3c]
call fcn.00404928
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x40afff
mov ecx, 0x5fb8ec
mov eax, dword [0x5fb8ec]
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 0x40b254
push dword [esi]
lea ecx, [edi + 0x24]
call fcn.00403b00
cmp dword [ebp - 0x94], 1
jle 0x40b087
push dword [esi + 4]
lea ecx, [edi + 0xc]
call fcn.00403b00
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [edi + 0x3c]
call fcn.00403b00
push ebx
lea eax, [edi + 0xc]
push eax
lea ecx, [edi + 0x3c]
call fcn.0040b5b3
cmp eax, 0xffffffff
je 0x40b087
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [edi + 0x3c]
call fcn.0040b55e
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x3c]
call fcn.0040a66f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00404340
mov dword [ebp - 0x7c], ebx
xor edx, edx
inc edx
mov dword [ebp - 0x84], edx
cmp edx, dword [ebp - 0x94]
jge 0x40b24d
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 0x40b102
cmp word [ebp - 0x8c], 0x2d
je 0x40b102
test ecx, ecx
je 0x40b200
push ecx
lea ecx, [ebp - 0x48]
call fcn.0040b522
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 4]
call fcn.0040b4c0
push dword [ebp - 0x80]
mov ecx, eax
call fcn.00403b00
mov byte [ebp - 4], 5
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0040b69c
mov dword [ebp - 0x7c], ebx
jmp 0x40b1fa
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 0x40b113
sub ecx, dword [ebp - 0x8c]
sar ecx, 1
je 0x40b200
mov eax, dword [ebp - 0x80]
mov ecx, eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x8c], ecx
cmp byte [ebp - 0x88], 0
je 0x40b206
push 0x3d
push eax
call fcn.005575e4
pop ecx
pop ecx
mov dword [ebp - 0x90], eax
test eax, eax
je 0x40b1a2
xor ecx, ecx
mov word [eax], cx
mov byte [ebp - 4], 7
push dword [ebp - 0x80]
lea ecx, [ebp - 0x60]
call fcn.0040b522
mov byte [ebp - 4], 8
lea eax, [ebp - 0x60]
push eax
lea ecx, [edi + 4]
call fcn.0040b4c0
mov ecx, eax
mov eax, dword [ebp - 0x90]
add eax, 2
push eax
call fcn.00403b00
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
jmp 0x40b236
mov byte [ebp - 4], 0xa
push dword [ebp - 0x80]
lea ecx, [ebp - 0x78]
call fcn.0040b522
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x78]
push eax
lea ecx, [edi + 4]
call fcn.0040b4c0
push 0x5c5700
mov ecx, eax
call fcn.00403b00
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x78]
jmp 0x40b236
mov edx, dword [ebp - 0x84]
inc edx
jmp 0x40b08d
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x30]
call fcn.0040b522
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x30]
push eax
lea ecx, [edi + 4]
call fcn.0040b4c0
push 0x5c5700
mov ecx, eax
call fcn.00403b00
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x30]
push ebx
push 1
call fcn.0040b69c
mov dword [ebp - 4], 5
jmp 0x40b1fa
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.00552d97
ret 8