Function at 0x408df0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b360
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4b249c]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x248], ecx
mov eax, dword [ebp - 0x248]
cmp dword [eax + 0x38], 0
jne 0x408e34
xor eax, eax
jmp 0x409115
lea ecx, [ebp - 0x14]
call fcn.0040d0d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040d0d0
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x38]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x408ee4
push str.CCmdlineParser::_Parser
call fcn.0040de50
add esp, 4
test eax, eax
jne 0x408eb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CommandLineToArgvW_return_NULL._error__d__0x_x
mov ecx, dword [ebp - 0x248]
push ecx
push str.CCmdlineParser::_Parser
call fcn.0040e820
add esp, 8
push eax
call fcn.0040d720
add esp, 0x10
mov dword [ebp - 0x240], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00403cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403cf0
mov eax, dword [ebp - 0x240]
jmp 0x409115
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x408f99
xor ecx, ecx
mov word [ebp - 0x23c], cx
push 0x206
push 0
lea edx, [ebp - 0x23a]
push edx
call fcn.00426300
add esp, 0xc
push 0x104
lea eax, [ebp - 0x23c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x23c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x23c]
push ecx
call fcn.00426b46
add esp, 8
test eax, eax
je 0x408f92
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.00426b46
add esp, 8
test eax, eax
je 0x408f92
cmp dword [ebp - 0x2c], 0
je 0x408f99
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.00426b46
add esp, 8
test eax, eax
jne 0x408f99
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 0
jmp 0x408fab
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x10]
jge 0x4090ea
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x408fe6
mov edx, dword [ebp - 0x28]
movzx eax, word [edx]
cmp eax, 0x2d
jne 0x4090bb
mov ecx, dword [ebp - 0x28]
add ecx, 2
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403aa0
lea ecx, [ebp - 0x14]
call fcn.00409580
mov edx, dword [ebp - 0x18]
add edx, 1
cmp edx, dword [ebp - 0x10]
jl 0x409028
push 0x43dcec
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x248]
call fcn.00409130
mov ecx, eax
call fcn.00403aa0
jmp 0x4090b9
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + ecx*4 + 4]
movzx ecx, word [eax]
cmp ecx, 0x2d
jne 0x409060
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx*4 + 4]
movzx edx, word [ecx + 2]
cmp edx, 0x30
jl 0x40909e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax*4 + 4]
movzx eax, word [edx + 2]
cmp eax, 0x39
jg 0x40909e
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + ecx*4 + 4]
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x40909e
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx*4 + 4]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x248]
call fcn.00409130
mov ecx, eax
call fcn.00403aa0
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x4090b9
push 0x43dcec
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x248]
call fcn.00409130
mov ecx, eax
call fcn.00403aa0
jmp 0x4090e5
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x24]
call fcn.00403aa0
lea ecx, [ebp - 0x24]
call fcn.00403cd0
test eax, eax
jbe 0x4090e5
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x248]
add ecx, 0x20
call fcn.00409410
jmp 0x408fa2
mov dword [ebp - 0x244], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00403cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403cf0
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.0042624f
mov esp, ebp
pop ebp
ret