Function at 0x405dd9
Capabilities:
Accept command line arguments

Disassembly:
push 0x9c
mov eax, 0x43bdeb
call fcn.00434e0a
mov edi, ecx
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x80], al
mov dword [edi], vtable.NGUtils::CCommandLine.0
lea esi, [edi + 4]
mov dword [ebp - 0x90], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00406750
mov dword [esi], eax
mov dword [ebp - 4], 2
lea ecx, [edi + 0xc]
call fcn.004043e0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x24]
call fcn.004043e0
mov byte [ebp - 4], 4
lea ecx, [edi + 0x3c]
call fcn.004043e0
push 5
pop ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x7c]
test eax, eax
jne 0x405e69
mov ecx, 0x458a00
mov eax, dword [vtable.NGWinApi::IKernelApi.0]
call dword [eax + 0x90]
mov dword [ebp - 0x7c], eax
and dword [ebp - 0x94], 0
lea ecx, [ebp - 0x94]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x4060bb
push dword [eax]
lea ecx, [edi + 0x24]
call fcn.004042b0
xor esi, esi
inc esi
cmp dword [ebp - 0x94], esi
jle 0x405ef7
mov eax, dword [ebp - 0x9c]
push dword [eax + 4]
lea ecx, [edi + 0xc]
call fcn.004042b0
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [edi + 0x3c]
call fcn.004042b0
push ecx
lea eax, [edi + 0xc]
push eax
lea ecx, [edi + 0x3c]
call fcn.00404170
cmp eax, 0xffffffff
je 0x405ef7
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x3c]
call fcn.00404130
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x3c]
call fcn.00404300
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.00404090
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x7c], esi
cmp esi, dword [ebp - 0x94]
jge 0x4060af
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax + esi*4]
mov dword [ebp - 0x88], edx
movzx eax, word [edx]
cmp eax, 0x2f
je 0x405f6a
cmp eax, 0x2d
je 0x405f6a
test ecx, ecx
je 0x40600a
push ecx
lea ecx, [ebp - 0x44]
call fcn.004040d0
mov byte [ebp - 4], 0x10
push dword [ebp - 0x88]
lea eax, [ebp - 0x44]
push eax
lea ecx, [edi + 4]
call fcn.0040631f
mov ecx, eax
call fcn.004042b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.00404090
xor ecx, ecx
mov dword [ebp - 0x78], ecx
jmp 0x40600a
add edx, 2
mov dword [ebp - 0x88], edx
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x84], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x8c]
jne 0x405f7e
sub ecx, dword [ebp - 0x84]
sar ecx, 1
je 0x406007
mov eax, edx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x84], eax
cmp byte [ebp - 0x80], 0
je 0x406074
push 0x3d
push edx
call fcn.004190ef
pop ecx
pop ecx
mov dword [ebp - 0x90], eax
test eax, eax
je 0x406016
xor ecx, ecx
mov word [eax], cx
mov byte [ebp - 4], 7
push dword [ebp - 0x88]
lea ecx, [ebp - 0x5c]
call fcn.004040d0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x90]
add eax, 2
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [edi + 4]
call fcn.0040631f
mov ecx, eax
call fcn.004042b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.00404090
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x78]
inc esi
jmp 0x405efc
mov byte [ebp - 4], 0xa
push dword [ebp - 0x88]
lea ecx, [ebp - 0x74]
call fcn.004040d0
mov byte [ebp - 4], 0xb
push 0x44a6b8
lea eax, [ebp - 0x74]
push eax
lea ecx, [edi + 4]
call fcn.0040631f
mov ecx, eax
call fcn.004042b0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x74]
jmp 0x405fff
mov byte [ebp - 4], 0xd
push edx
lea ecx, [ebp - 0x2c]
call fcn.004040d0
mov byte [ebp - 4], 0xe
push 0x44a6b8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 4]
call fcn.0040631f
mov ecx, eax
call fcn.004042b0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
jmp 0x405fff
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.00434d57
ret 8