Function at 0x4056a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x48]
call fcn.00405af0
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x14
call fcn.00404bf0
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x48]
add ecx, 0x14
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 0x4058ca
lea ecx, [ebp - 0x10]
call fcn.00404bb0
lea ecx, [ebp - 0xc]
call fcn.00404bb0
mov dword [ebp - 0x14], 0
jmp 0x405705
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 4]
jge 0x40589c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
push eax
lea ecx, [ebp - 0x18]
call fcn.00403da0
push 0x4def30
lea ecx, [ebp - 0x18]
call fcn.00406330
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x405856
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x18]
call fcn.00406590
push eax
lea ecx, [ebp - 0x10]
call fcn.00404bf0
lea ecx, [ebp - 0x20]
call fcn.00403e20
lea ecx, [ebp - 0x10]
call fcn.00406460
lea ecx, [ebp - 0x10]
call fcn.004063d0
lea ecx, [ebp - 0x18]
call fcn.004043d0
sub eax, dword [ebp - 0x1c]
sub eax, 1
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406520
push eax
lea ecx, [ebp - 0xc]
call fcn.00404bf0
lea ecx, [ebp - 0x24]
call fcn.00403e20
lea ecx, [ebp - 0xc]
call fcn.00406460
lea ecx, [ebp - 0xc]
call fcn.004063d0
push 0x22
push 1
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0xc]
call fcn.00406590
push eax
call fcn.00406600
add esp, 8
mov byte [ebp - 0x25], al
lea ecx, [ebp - 0x2c]
call fcn.00403e20
movzx edx, byte [ebp - 0x25]
test edx, edx
je 0x4057ff
lea ecx, [ebp - 0xc]
call fcn.004043d0
sub eax, 1
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xc]
call fcn.00406520
push eax
lea ecx, [ebp - 0xc]
call fcn.00404bf0
lea ecx, [ebp - 0x30]
call fcn.00403e20
push 0x22
push 1
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0xc]
call fcn.00406520
push eax
call fcn.00406600
add esp, 8
mov byte [ebp - 0x31], al
lea ecx, [ebp - 0x38]
call fcn.00403e20
movzx edx, byte [ebp - 0x31]
test edx, edx
je 0x405854
lea ecx, [ebp - 0xc]
call fcn.004043d0
sub eax, 1
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xc]
call fcn.00406590
push eax
lea ecx, [ebp - 0xc]
call fcn.00404bf0
lea ecx, [ebp - 0x3c]
call fcn.00403e20
jmp 0x40587f
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00404bf0
lea ecx, [ebp - 0x10]
call fcn.00406460
lea ecx, [ebp - 0x10]
call fcn.004063d0
push 0x4def34
lea ecx, [ebp - 0xc]
call fcn.00403e40
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.00405a30
lea ecx, [ebp - 0x18]
call fcn.00403e20
jmp 0x4056fc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0xc]
call fcn.00403e20
lea ecx, [ebp - 0x10]
call fcn.00403e20
lea ecx, [ebp + 8]
call fcn.00403e20
mov eax, dword [ebp - 0x40]
jmp 0x4058dc
mov dword [ebp - 0x44], 0
lea ecx, [ebp + 8]
call fcn.00403e20
mov eax, dword [ebp - 0x44]
mov esp, ebp
pop ebp
ret 4