Function at 0x402a18
Capabilities:
Accept command line arguments

Disassembly:
push 0xd0
mov eax, 0x41f9e5
call fcn.0040e3fe
mov eax, dword [ebp + 8]
mov edi, ecx
push eax
lea esi, [ebp - 0x80]
mov dword [ebp - 0xc0], edi
call fcn.00401183
xor esi, esi
push 0x20
lea eax, [ebp - 0x80]
mov dword [ebp - 4], esi
call fcn.00402812
cmp dword [ebp - 0x6c], 8
mov eax, dword [ebp - 0x80]
pop ecx
mov dword [ebp - 0xc8], esi
jae 0x402a5d
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0xc8]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push dword [ebp - 0xc8]
mov ecx, str.miscKCommandLine.cpp
push str.argc_d.
push str.kupdate::KCommandLine::_DoParseCmdLine
push 0x74
push 7
pop ebx
push ebx
mov dword [ebp - 0xcc], eax
call fcn.00402697
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
inc ecx
add esp, 0x14
mov dword [ebp - 0xd0], eax
cmp eax, ecx
je 0x402acc
xor edx, edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
mov byte [ebp - 4], cl
mov dword [ebp - 0xbc], ecx
cmp eax, ecx
jg 0x402af9
push 1
xor edi, edi
lea esi, [ebp - 0x48]
call fcn.004013ee
xor ebx, ebx
push dword [ebp - 0xcc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 1
xor edi, edi
lea esi, [ebp - 0x80]
call fcn.004013ee
mov eax, ebx
call fcn.0040e481
ret 4
mov edi, dword [ebp - 0xc0]
push 7
pop ebx
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xcc]
lea eax, [eax + ecx*4]
push dword [eax]
lea esi, [ebp - 0x2c]
mov dword [ebp - 0xc4], eax
call fcn.00401183
push 0x20
mov eax, esi
mov byte [ebp - 4], 2
call fcn.00402812
mov eax, dword [ebp - 0xc4]
pop ecx
push dword [eax]
mov ecx, str.miscKCommandLine.cpp
push dword [ebp - 0xbc]
push 0x423298
push str.kupdate::KCommandLine::_DoParseArgv
push 0x52
push 9
call fcn.00402697
add esp, 0x18
cmp dword [ebp - 0x1c], 2
jb 0x402c24
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x402b64
mov eax, esi
cmp word [eax], 0x2f
je 0x402b80
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x402b76
lea eax, [ebp - 0x2c]
cmp word [eax], 0x2d
jne 0x402c24
and dword [ebp - 0x54], 0
xor eax, eax
mov dword [ebp - 0x50], ebx
mov word [ebp - 0x64], ax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040292b
push 0x22
lea eax, [ebp - 0x64]
call fcn.00402812
pop ecx
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0xb8]
call fcn.00402dfa
lea eax, [ebp - 0x64]
push eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.00402dfa
lea ecx, [ebp - 0xb8]
mov edx, edi
mov byte [ebp - 4], 5
call fcn.004032ac
push eax
push edi
lea esi, [ebp - 0xdc]
call fcn.00403060
push 1
xor edi, edi
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.004013ee
push 1
lea esi, [ebp - 0xb8]
call fcn.004013ee
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call fcn.0040128f
push 1
lea esi, [ebp - 0x64]
call fcn.004013ee
jmp 0x402cd3
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
cmp byte [esi + 0x45], 0
mov ebx, eax
jne 0x402c66
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
lea ecx, [esi + 0xc]
jae 0x402c41
lea eax, [ebp - 0x48]
mov edi, dword [ebp - 0x38]
push eax
mov eax, dword [ecx + 0x10]
call fcn.00403143
test eax, eax
jns 0x402c56
mov esi, dword [esi + 8]
jmp 0x402c5a
mov ebx, esi
mov esi, dword [esi]
cmp byte [esi + 0x45], 0
je 0x402c32
mov edi, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ebx
cmp ebx, dword [edi + 4]
je 0x402c9d
lea eax, [ebx + 0xc]
cmp dword [eax + 0x14], 8
mov edi, dword [eax + 0x10]
jb 0x402c7f
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x48]
call fcn.00403143
mov edi, dword [ebp - 0xc0]
test eax, eax
js 0x402c9d
lea eax, [ebp - 0xc4]
jmp 0x402cac
mov eax, dword [edi + 4]
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xd4]
mov esi, dword [eax]
cmp esi, dword [edi + 4]
je 0x402d00
cmp dword [esi + 0x38], 0
jne 0x402d00
push 0x22
lea eax, [ebp - 0x2c]
call fcn.00402812
pop ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x28]
push 0
lea eax, [ebp - 0x2c]
call fcn.0040128f
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004013ee
inc dword [ebp - 0xbc]
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xd0]
jl 0x402af0
jmp 0x402ac0
call fcn.00402eb0
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.004013ee
push 1
lea esi, [ebp - 0x48]
call fcn.004013ee
mov ebx, 0x80004005
jmp 0x402ace