Function at 0x42fbd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f752f
mov eax, dword fs:[0]
push eax
sub esp, 0x54
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 esi, ecx
mov dword [ebp - 0x54], esi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
test edi, edi
je 0x4300ed
mov ecx, dword [esi + 0x24]
mov eax, 0x7f807f81
sub ecx, dword [esi + 0x20]
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x50], eax
jae 0x4300ed
mov ecx, edi
call dword [sym.imp.soui.dll_public:_unsigned_int___thiscall_SOUI::SWindow::GetChildrenCount_void_const]
test eax, eax
jne 0x42fc46
mov eax, dword [edi]
mov ecx, edi
push dword [ebp + 0x10]
call dword [eax + 0x28]
imul eax, dword [ebp - 0x50], 0x202
mov ecx, edi
add eax, dword [esi + 0x20]
mov dword [ebp - 0x4c], eax
push dword [eax]
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::SetUserData_unsigned_long_int_]
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::SSearchWndAdapter__class_SOUI::EventArgs_.0
mov dword [ebp - 0x18], 0x430110
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push 0x271a
lea ecx, [edi + 0x30]
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_]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::ISlotFunctor::constructor_void_]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], vtable.SOUI::MemberFunctionSlot_class_SOUI::SSearchWndAdapter__class_SOUI::EventArgs_.0
mov dword [ebp - 0x18], 0x430190
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 1
push eax
push 0x271b
lea ecx, [edi + 0x30]
call dword [sym.imp.soui.dll_public:_bool___thiscall_SOUI::SEventSet::subscribeEvent_unsigned_long_int__struct_SOUI::ISlotFunctor_const__]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.soui.dll_public_virtual:_void___thiscall_SOUI::ISlotFunctor::destructor_void_]
sub esp, 8
mov ecx, edi
call fcn.00428d00
mov esi, eax
mov dword [ebp - 0x60], esi
test esi, esi
je 0x4300bb
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
call fcn.0041e8c0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
call dword [0x5558ac]
add esp, 4
test al, al
jne 0x42fd1f
mov byte [ebp - 0x41], al
jmp 0x42fd3c
push dword [ebp - 0x58]
call dword [0x555a60]
add esp, 4
test eax, eax
jg 0x42fd35
mov byte [ebp - 0x41], 0
jmp 0x42fd3c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x41], 1
push ecx
push str.m_game_item_limit
mov ecx, esi
call fcn.00427920
mov esi, eax
test esi, esi
je 0x42fdaa
lea ecx, [ebp - 0x48]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 2
push 0x50fc20
push ecx
push eax
call dword [sym.imp.utilities.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits____cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::Format_wchar_t_const__]
add esp, 0x10
mov byte [ebp - 4], 3
mov ecx, esi
mov edx, dword [esi]
push dword [eax]
call dword [edx + 0x40]
lea ecx, [ebp - 0x58]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
movzx eax, byte [ebp - 0x41]
mov ecx, esi
push 1
push eax
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SWindow::SetVisible_int__int_]
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax]
call fcn.0041e8c0
push esi
call dword [0x555a4c]
mov esi, dword [ebp - 0x60]
mov ecx, esi
push str.m_game_item_national
mov byte [ebp - 0x42], al
call fcn.00427920
mov dword [ebp - 0x48], eax
test eax, eax
je 0x42fe01
mov edx, dword [eax]
mov ecx, eax
push 0x50fc50
call dword [edx + 0x40]
cmp byte [ebp - 0x41], 0
jne 0x42fdf3
cmp byte [ebp - 0x42], 0
je 0x42fdf3
mov eax, 1
jmp 0x42fdf5
xor eax, eax
mov ecx, dword [ebp - 0x48]
push 1
push eax
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SWindow::SetVisible_int__int_]
push ecx
push str.m_game_item_speed
mov ecx, esi
call fcn.00427c00
mov dword [ebp - 0x48], eax
test eax, eax
je 0x42fe6b
push dword [ebp - 0x50]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::SetUserData_unsigned_long_int_]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::ISlotFunctor::constructor_void_]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x1c], vtable.SOUI::MemberFunctionSlot_class_SOUI::SSearchWndAdapter__class_SOUI::EventArgs_.0
mov dword [ebp - 0x18], 0x430290
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x48]
push eax
push 0x2710
add ecx, 0x30
call dword [sym.imp.soui.dll_public:_bool___thiscall_SOUI::SEventSet::subscribeEvent_unsigned_long_int__struct_SOUI::ISlotFunctor_const__]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.soui.dll_public_virtual:_void___thiscall_SOUI::ISlotFunctor::destructor_void_]
jmp 0x42fe6e
mov esi, dword [ebp - 0x54]
push ecx
push str.m_game_item_add
mov ecx, edi
call fcn.00427650
mov edi, eax
test edi, edi
je 0x42fecf
push dword [ebp - 0x50]
mov ecx, edi
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::SetUserData_unsigned_long_int_]
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::SSearchWndAdapter__class_SOUI::EventArgs_.0
mov dword [ebp - 0x18], 0x430210
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 5
push eax
push 0x2710
lea ecx, [edi + 0x30]
call dword [sym.imp.soui.dll_public:_bool___thiscall_SOUI::SEventSet::subscribeEvent_unsigned_long_int__struct_SOUI::ISlotFunctor_const__]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.soui.dll_public_virtual:_void___thiscall_SOUI::ISlotFunctor::destructor_void_]
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x60]
mov ecx, edi
push dword [esi]
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::SetUserData_unsigned_long_int_]
mov eax, dword [edi]
add esi, 4
push esi
mov ecx, edi
call dword [eax + 0x40]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x44]
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], 6
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x48], vtable.GamePicDownloadInfo.0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x4c]
push dword [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 0x42ff78
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 0x430018
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x42ffb6
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42ffac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43010a
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 0x430007
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42fffd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43010a
push ecx
push edx
call fcn.004c04a1
add esp, 8
push 0
push 0
mov ecx, edi
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SImageWnd::SetImage_struct_SOUI::IBitmap___enum_SOUI::FilterLevel_]
jmp 0x4300bb
push 3
push esi
mov ecx, edi
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], 6
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x43006a
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x430060
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43010a
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 0x4300bb
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4300b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43010a
push ecx
push edx
call fcn.004c04a1
add esp, 8
mov al, byte [ebp - 0x42]
sub esp, 0x28
mov ecx, esp
mov dword [ecx], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8SSearchWndAdapter_SOUI__AEXH_ZPAV34_ABU___Ph__00_2__std__XH_std__.0
mov dword [ecx + 4], 0x430310
mov byte [ecx + 8], al
mov eax, dword [ebp - 0x54]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x4c]
mov dword [ecx + 0x24], ecx
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