Function at 0x4089c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x4c]
call fcn.00408dd0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.00407b70
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x408bec
lea ecx, [ebp - 0x14]
call fcn.00405ce0
lea ecx, [ebp - 0x10]
call fcn.00405ce0
mov dword [ebp - 0x18], 0
jmp 0x408a1f
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 4]
jge 0x408bb6
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405d00
push 0x4d1c50
lea ecx, [ebp - 0x1c]
call fcn.00409510
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x408b70
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00409770
push eax
lea ecx, [ebp - 0x14]
call fcn.00407b90
lea ecx, [ebp - 0x24]
call fcn.00405d40
lea ecx, [ebp - 0x14]
call fcn.00409640
lea ecx, [ebp - 0x14]
call fcn.004095b0
lea ecx, [ebp - 0x1c]
call fcn.004063a0
sub eax, dword [ebp - 0x20]
sub eax, 1
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00409700
push eax
lea ecx, [ebp - 0x10]
call fcn.00407b90
lea ecx, [ebp - 0x28]
call fcn.00405d40
lea ecx, [ebp - 0x10]
call fcn.00409640
lea ecx, [ebp - 0x10]
call fcn.004095b0
push 0x22
push 1
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00409770
push eax
call fcn.004097e0
add esp, 8
mov byte [ebp - 0x29], al
lea ecx, [ebp - 0x30]
call fcn.00405d40
movzx edx, byte [ebp - 0x29]
test edx, edx
je 0x408b19
lea ecx, [ebp - 0x10]
call fcn.004063a0
sub eax, 1
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x10]
call fcn.00409700
push eax
lea ecx, [ebp - 0x10]
call fcn.00407b90
lea ecx, [ebp - 0x34]
call fcn.00405d40
push 0x22
push 1
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00409700
push eax
call fcn.004097e0
add esp, 8
mov byte [ebp - 0x35], al
lea ecx, [ebp - 0x3c]
call fcn.00405d40
movzx edx, byte [ebp - 0x35]
test edx, edx
je 0x408b6e
lea ecx, [ebp - 0x10]
call fcn.004063a0
sub eax, 1
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x10]
call fcn.00409770
push eax
lea ecx, [ebp - 0x10]
call fcn.00407b90
lea ecx, [ebp - 0x40]
call fcn.00405d40
jmp 0x408b99
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00407b90
lea ecx, [ebp - 0x14]
call fcn.00409640
lea ecx, [ebp - 0x14]
call fcn.004095b0
push 0x4d1c54
lea ecx, [ebp - 0x10]
call fcn.00405d60
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.00408d10
lea ecx, [ebp - 0x1c]
call fcn.00405d40
jmp 0x408a16
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x44], 1
lea ecx, [ebp - 0x10]
call fcn.00405d40
lea ecx, [ebp - 0x14]
call fcn.00405d40
lea ecx, [ebp - 0xc]
call fcn.00405d40
lea ecx, [ebp + 8]
call fcn.00405d40
mov eax, dword [ebp - 0x44]
jmp 0x408c06
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0xc]
call fcn.00405d40
lea ecx, [ebp + 8]
call fcn.00405d40
mov eax, dword [ebp - 0x48]
mov esp, ebp
pop ebp
ret 4