Function at 0x428920
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6bc5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x54c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
test esi, esi
je 0x428c20
mov ecx, dword [edi + 0x24]
mov eax, 0x7f807f81
sub ecx, dword [edi + 0x20]
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x4c], eax
jae 0x428c20
mov ecx, esi
call dword [sym.imp.soui.dll_public:_unsigned_int___thiscall_SOUI::SWindow::GetChildrenCount_void_const]
test eax, eax
jne 0x428993
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 0x10]
call dword [eax + 0x28]
sub esp, 8
mov ecx, esi
call fcn.00428d00
mov dword [ebp - 0x44], eax
test eax, eax
je 0x428bea
imul esi, dword [ebp - 0x4c], 0x202
mov ecx, dword [edi + 0x20]
push dword [esi + ecx]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::SetUserData_unsigned_long_int_]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edi + 0x20]
add eax, 4
add eax, esi
mov edx, dword [ecx]
push eax
call dword [edx + 0x40]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edi + 0x20]
add eax, 4
add eax, esi
mov edx, dword [ecx]
push eax
call dword [edx + 0x44]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::ISlotFunctor::constructor_void_]
mov dword [ebp - 0x1c], vtable.SOUI::MemberFunctionSlot_class_SOUI::SAllGameWndAdapter__class_SOUI::EventArgs_.0
mov dword [ebp - 0x18], 0x428c50
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x1c]
push eax
push 0x2710
add ecx, 0x30
mov dword [ebp - 4], 0
call dword [sym.imp.soui.dll_public:_bool___thiscall_SOUI::SEventSet::subscribeEvent_unsigned_long_int__struct_SOUI::ISlotFunctor_const__]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.soui.dll_public_virtual:_void___thiscall_SOUI::ISlotFunctor::destructor_void_]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 1
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x50], vtable.GamePicDownloadInfo.0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [edi + 0x20]
push dword [esi + eax]
call fcn.00480f50
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 0x428aa5
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 esi, eax
add esp, 4
test esi, esi
jne 0x428b46
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x428ae3
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x428ad9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c3d
push ecx
push edx
call fcn.004c04a1
add esp, 8
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
cmp ecx, 7
jbe 0x428b34
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x428b2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c3d
push ecx
push edx
call fcn.004c04a1
add esp, 8
mov ecx, dword [ebp - 0x44]
push 0
push 0
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SImageWnd::SetImage_struct_SOUI::IBitmap___enum_SOUI::FilterLevel_]
jmp 0x428bea
mov ecx, dword [ebp - 0x44]
push 3
push esi
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SImageWnd::SetImage_struct_SOUI::IBitmap___enum_SOUI::FilterLevel_]
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x428b99
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x428b8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c3d
push ecx
push edx
call fcn.004c04a1
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 0x428bea
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x428be0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c3d
push ecx
push edx
call fcn.004c04a1
add esp, 8
mov al, byte [ebp - 0x45]
sub esp, 0x28
mov ecx, esp
mov dword [ecx], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8SAllGameWndAdapter_SOUI__AEXH_ZPAV34_ABU___Ph__00_2__std__XH_std__.0
mov dword [ecx + 4], 0x428c90
mov byte [ecx + 8], al
imul eax, dword [ebp - 0x4c], 0x202
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x24], ecx
add eax, dword [edi + 0x20]
push dword [eax]
call fcn.0046f0f0
mov ecx, eax
call fcn.0046f3f0
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.004c048e
mov esp, ebp
pop ebp
ret 0xc
call fcn.004cfc7c
int3