Function at 0x429340
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508f1d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x566040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x429529
push ecx
push str.plat_list
call fcn.004274d0
test eax, eax
je 0x429529
push 0
mov ecx, eax
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::GetWindow_int_const]
mov esi, eax
test esi, esi
je 0x429529
nop dword [eax]
mov edi, dword [esi]
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SImageWnd::GetClassNameW_void_]
push eax
mov eax, dword [edi + 4]
mov ecx, esi
call eax
push ecx
mov ecx, esi
push str.plat_radio
test eax, eax
je 0x429510
call fcn.00429c50
test esi, esi
je 0x429515
test eax, eax
je 0x429515
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x40], cx
mov dword [ebp - 4], ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov dword [ebp - 0x44], vtable.GamePicDownloadInfo.0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::GetUserData_void_]
push eax
call fcn.00485c00
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42946b
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.soui.dll_public:_static_struct_SOUI::IBitmap____cdecl_SOUI::SResLoadFromFile::LoadImageW_wchar_t_const__]
mov edi, eax
add esp, 4
test edi, edi
je 0x42946b
push 3
push edi
mov ecx, esi
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SImageWnd::SetImage_struct_SOUI::IBitmap___enum_SOUI::FilterLevel_]
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4294a9
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42949f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429546
push ecx
push edx
call fcn.004d3111
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x4294fa
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4294f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429546
push ecx
push edx
call fcn.004d3111
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
jmp 0x429515
call fcn.00429c50
push 3
mov ecx, esi
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::GetWindow_int_const]
mov esi, eax
test esi, esi
jne 0x4293a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d30fe
mov esp, ebp
pop ebp
ret 4
call fcn.004e2a5c
int3