Function at 0x419d50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43ff1c
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x45d070]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push esi
push edi
mov eax, dword [0x45d070]
xor eax, esp
push eax
lea eax, [esp + 0x498]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
cmp dword [0x45f780], 8
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov eax, 0x45f76c
cmovae eax, dword [0x45f76c]
push eax
call edi
test eax, eax
je 0x41a147
cmp dword [0x45f798], 8
mov eax, 0x45f784
cmovae eax, dword [0x45f784]
push eax
call edi
test eax, eax
je 0x41a147
mov ecx, esi
call dword [sym.imp.ouilibx.dll_public_virtual:_bool___thiscall_OUI::COVDialog::OnInitDialog_void_]
test al, al
je 0x41a147
mov ecx, esi
call dword [sym.imp.ouilibx.dll_public:_struct_HWND____const___thiscall_OUI::COVWnd::GetSafeHwnd_void_]
push 0x446a58
lea ecx, [esp + 0x50]
mov ebx, eax
call fcn.00405eb0
mov dword [esp + 0x4a0], 0
mov ecx, dword [0x45f650]
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov eax, dword [0x45f6c8]
test ecx, ecx
jne 0x419e58
test eax, eax
jne 0x419e58
push 0x86
push dword [0x460548]
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push edi
push 0
push 0x80
push ebx
call esi
push edi
push 1
push 0x80
push ebx
call esi
jmp 0x41a0c8
xor edx, edx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], dx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edx
mov word [esp + 0x1c], dx
mov byte [esp + 0x4a0], 2
test ecx, ecx
je 0x419ea2
push 0xffffffffffffffff
push edx
push 0x45f640
lea ecx, [esp + 0x28]
call fcn.00405a30
jmp 0x419f4e
test eax, eax
je 0x419f4e
push 0x45f658
lea ecx, [esp + 0x68]
call fcn.00403120
mov byte [esp + 0x4a0], 3
call fcn.0040fb40
lea eax, [esp + 0x64]
push eax
call fcn.004117d0
xor eax, eax
push 0x206
push eax
mov word [esp + 0x28c], ax
lea eax, [esp + 0x28e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [0x45f6fc], 8
mov ecx, 0x45f6e8
cmovae ecx, dword [0x45f6e8]
cmp dword [esp + 0x78], 8
push ecx
lea eax, [esp + 0x68]
cmovae eax, dword [esp + 0x68]
push eax
push str._s_s
lea eax, [esp + 0x290]
push 0x208
push eax
call fcn.00401810
add esp, 0x14
lea eax, [esp + 0x284]
push eax
lea ecx, [esp + 0x20]
call fcn.00403150
lea ecx, [esp + 0x64]
mov byte [esp + 0x4a0], 2
call fcn.00402fd0
push str..ico
lea ecx, [esp + 0x20]
call fcn.004031a0
xor eax, eax
push 0x206
push eax
mov word [esp + 0x84], ax
lea eax, [esp + 0x86]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [sym.Gamebox.exe____B_1__GetInstance___CSingleton_VCOPathManager___oopa__SAPAVCOPathManager__XZ_51]
add esp, 0xc
test al, 1
jne 0x419f9a
or eax, 1
push 0x4427b0
mov dword [sym.Gamebox.exe____B_1__GetInstance___CSingleton_VCOPathManager___oopa__SAPAVCOPathManager__XZ_51], eax
call fcn.0043be9d
add esp, 4
push sym.Gamebox.exe_class_COPathManager__public:_static_class_COPathManager____cdecl_oopa::CSingleton_class_COPathManager_::GetInstance_void_::_2::inst
lea ecx, [esp + 0x38]
call fcn.00403150
push 0x208
lea eax, [esp + 0x80]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esp + 0x30], 8
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
cmp dword [esp + 0x48], 8
push ecx
push str.icons
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
push eax
push str._s_s_s
lea eax, [esp + 0x8c]
push 0x208
push eax
call fcn.00401810
add esp, 0x18
lea eax, [esp + 0x7c]
push 0x10
push 0
push 0
push 1
push eax
push dword [0x460548]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esp + 0x18], eax
test eax, eax
je 0x41a03e
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x80
push ebx
call esi
push dword [esp + 0x18]
push 1
push 0x80
push ebx
call esi
jmp 0x41a073
push 0x86
push dword [0x460548]
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push edi
push 0
push 0x80
push ebx
call esi
push edi
push 1
push 0x80
push ebx
call esi
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
cmp dword [esp + 0x30], 8
jb 0x41a083
push dword [esp + 0x1c]
call edi
add esp, 4
xor eax, eax
mov byte [esp + 0x4a0], al
cmp dword [esp + 0x48], 8
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
jb 0x41a0b1
push dword [esp + 0x34]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
push 0x86
push dword [0x460548]
call dword [sym.imp.USER32.dll_LoadIconW]
cmp dword [esp + 0x60], 8
mov ebx, dword [esp + 0x14]
mov esi, dword [sym.imp.ouilibx.dll_public:_struct_HWND____const___thiscall_OUI::COVWnd::GetSafeHwnd_void_]
lea ecx, [esp + 0x4c]
cmovae ecx, dword [esp + 0x4c]
push eax
push ecx
push ecx
mov ecx, ebx
call esi
push eax
call sym.Gamebox.exe_public:_static_class_COSystemTray____cdecl_oopa::CSingleton_class_COSystemTray_::GetInstance_void_
mov ecx, eax
call fcn.00429430
cmp dword [esp + 0x60], 8
lea eax, [esp + 0x4c]
cmovae eax, dword [esp + 0x4c]
push eax
mov ecx, ebx
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, ebx
call fcn.0041a170
call dword [sym.imp.ouilibx.dll_public:_static_class_OUI::COUIManager____cdecl_OUI::COUIManager::GetUIManager_void_]
mov dword [eax + 8], ebx
cmp dword [esp + 0x60], 8
jb 0x41a143
push dword [esp + 0x4c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
jmp 0x41a149
xor al, al
mov ecx, dword [esp + 0x498]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x480]
xor ecx, esp
call fcn.0043bd5c
mov esp, ebp
pop ebp
ret