Function at 0x4238f0
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ff5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64c
mov eax, dword [0x453540]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x658], ecx
mov dword [ebp - 0x654], 0
mov byte [ebp - 0x435], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x14]
call fcn.00403030
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040f7b0
mov eax, dword [ebp - 0x14]
push eax
push str.CommandLine:__s
push 0x454488
call fcn.00419160
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x658]
call fcn.004222b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00409aa0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4239ab
mov edx, dword [ebp - 0x10]
push edx
push str.Default_Config_file_found:__s
push 0x454488
call fcn.00419160
add esp, 0xc
mov byte [ebp - 0x435], 1
jmp 0x4239c5
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push str.Default_Config_file:__s_not_found:__ld
push 0x454488
call fcn.00419160
add esp, 0x10
push 0x104
lea edx, [ebp - 0x644]
push edx
push 0
call dword [0x453fbc]
test eax, eax
jne 0x423a3b
push str.GetModuleFileName_failed
push str.class_ATL::CStringT_unsigned_short_class_ATL::StrTraitATL_unsigned_short_class_ATL::ChTraitsCRT_unsigned_short________thiscall_Model::LocateConfigFile_void_
push 0x356
push str..Model.cpp
push 1
mov ecx, 0x454488
call fcn.004192c0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403370
mov ecx, dword [ebp - 0x654]
or ecx, 1
mov dword [ebp - 0x654], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004030a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004030a0
mov eax, dword [ebp + 8]
jmp 0x423d2c
lea edx, [ebp - 0x644]
push edx
call fcn.0042f400
add esp, 4
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x14]
call fcn.00409aa0
push eax
call fcn.0042f2d0
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x423ad6
lea ecx, [ebp - 0x644]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x648], eax
mov edx, dword [ebp - 0x648]
push edx
call fcn.0042f400
add esp, 4
cmp dword [ebp - 0x648], 0
je 0x423ad4
mov eax, dword [ebp - 0x648]
push eax
lea ecx, [ebp - 0x434]
push ecx
call fcn.0042f2d0
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x423ad4
mov edx, dword [ebp - 0x648]
push edx
call fcn.0042e400
add esp, 4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00423d60
add esp, 8
mov dword [ebp - 0x1c], eax
jmp 0x423af5
lea ecx, [ebp - 0x644]
push ecx
call fcn.0042e400
add esp, 4
push eax
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00423d60
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x423cf3
push 0x44b53c
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0042f2d0
add esp, 8
cmp eax, dword [ebp - 0x1c]
jne 0x423b24
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00423d50
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov ax, word [edx]
push eax
call fcn.0042f250
add esp, 4
test eax, eax
je 0x423b48
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00423d50
add esp, 4
mov dword [ebp - 0x1c], eax
jmp 0x423b24
push 0x44b540
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0042f2d0
add esp, 8
cmp eax, dword [ebp - 0x1c]
jne 0x423b7b
push str._silent
call fcn.0042e400
add esp, 4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00423d60
add esp, 8
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dx, word [ecx]
push edx
call fcn.0042f250
add esp, 4
test eax, eax
je 0x423b9f
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00423d50
add esp, 4
mov dword [ebp - 0x1c], eax
jmp 0x423b7b
push 0x44b560
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0042f2d0
add esp, 8
cmp eax, dword [ebp - 0x1c]
jne 0x423bc4
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00423d50
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0042e400
add esp, 4
cmp eax, 1
jbe 0x423c2c
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x650], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0042e400
add esp, 4
sub eax, 1
push eax
mov eax, dword [ebp - 0x650]
push eax
call fcn.00423d60
add esp, 8
push 0x44b564
mov ecx, dword [ebp - 0x650]
push ecx
call fcn.0042f2d0
add esp, 8
cmp eax, dword [ebp - 0x650]
jne 0x423c2a
push 0
mov edx, dword [ebp - 0x650]
push edx
call fcn.0042fec0
add esp, 8
jmp 0x423c6a
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403370
mov ecx, dword [ebp - 0x654]
or ecx, 1
mov dword [ebp - 0x654], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004030a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004030a0
mov eax, dword [ebp + 8]
jmp 0x423d2c
mov edx, dword [ebp - 0x1c]
push edx
push 0x44b568
push 0x454488
call fcn.00419160
add esp, 0xc
lea eax, [ebp - 0x64c]
push eax
call fcn.0040d4d0
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x64c]
call fcn.00418040
lea ecx, [ebp - 0x64c]
call fcn.00409aa0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423ce4
lea edx, [ebp - 0x64c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00401160
mov eax, dword [ebp - 0x10]
push eax
push str.xml_file_found_in_command_line:__s
push 0x454488
call fcn.00419160
add esp, 0xc
mov byte [ebp - 0x435], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64c]
call fcn.004030a0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403370
mov edx, dword [ebp - 0x654]
or edx, 1
mov dword [ebp - 0x654], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004030a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004030a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x20]
call fcn.0042bcf0
mov esp, ebp
pop ebp
ret 4