Function at 0x406833
Capabilities:
Accept command line arguments

Disassembly:
push 0x9c
mov eax, 0x43cdc9
call fcn.00435dea
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.004071aa
mov dword [esi], eax
mov dword [ebp - 4], 2
lea ecx, [edi + 0xc]
call fcn.00404390
mov byte [ebp - 4], 3
lea ecx, [edi + 0x24]
call fcn.00404390
mov byte [ebp - 4], 4
lea ecx, [edi + 0x3c]
call fcn.00404390
push 5
pop ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x7c]
test eax, eax
jne 0x4068c3
mov ecx, 0x45b294
mov eax, dword [0x45b294]
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 0x406b15
push dword [eax]
lea ecx, [edi + 0x24]
call fcn.00404260
xor esi, esi
inc esi
cmp dword [ebp - 0x94], esi
jle 0x406951
mov eax, dword [ebp - 0x9c]
push dword [eax + 4]
lea ecx, [edi + 0xc]
call fcn.00404260
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [edi + 0x3c]
call fcn.00404260
push ecx
lea eax, [edi + 0xc]
push eax
lea ecx, [edi + 0x3c]
call fcn.00404120
cmp eax, 0xffffffff
je 0x406951
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x3c]
call fcn.004040e0
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x3c]
call fcn.004042b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.00404040
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x7c], esi
cmp esi, dword [ebp - 0x94]
jge 0x406b09
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax + esi*4]
mov dword [ebp - 0x88], edx
movzx eax, word [edx]
cmp eax, 0x2f
je 0x4069c4
cmp eax, 0x2d
je 0x4069c4
test ecx, ecx
je 0x406a64
push ecx
lea ecx, [ebp - 0x44]
call fcn.00404080
mov byte [ebp - 4], 0x10
push dword [ebp - 0x88]
lea eax, [ebp - 0x44]
push eax
lea ecx, [edi + 4]
call fcn.00406d79
mov ecx, eax
call fcn.00404260
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.00404040
xor ecx, ecx
mov dword [ebp - 0x78], ecx
jmp 0x406a64
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 0x4069d8
sub ecx, dword [ebp - 0x84]
sar ecx, 1
je 0x406a61
mov eax, edx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x84], eax
cmp byte [ebp - 0x80], 0
je 0x406ace
push 0x3d
push edx
call fcn.0041a07f
pop ecx
pop ecx
mov dword [ebp - 0x90], eax
test eax, eax
je 0x406a70
xor ecx, ecx
mov word [eax], cx
mov byte [ebp - 4], 7
push dword [ebp - 0x88]
lea ecx, [ebp - 0x5c]
call fcn.00404080
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.00406d79
mov ecx, eax
call fcn.00404260
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.00404040
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x78]
inc esi
jmp 0x406956
mov byte [ebp - 4], 0xa
push dword [ebp - 0x88]
lea ecx, [ebp - 0x74]
call fcn.00404080
mov byte [ebp - 4], 0xb
push 0x44b6b8
lea eax, [ebp - 0x74]
push eax
lea ecx, [edi + 4]
call fcn.00406d79
mov ecx, eax
call fcn.00404260
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x74]
jmp 0x406a59
mov byte [ebp - 4], 0xd
push edx
lea ecx, [ebp - 0x2c]
call fcn.00404080
mov byte [ebp - 4], 0xe
push 0x44b6b8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 4]
call fcn.00406d79
mov ecx, eax
call fcn.00404260
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
jmp 0x406a59
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.00435d37
ret 8