Function at 0x42da00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5082e7
mov eax, dword fs:[0]
push eax
sub esp, 0xaa8
mov eax, dword [0x564040]
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 dword [ebp - 0xa80], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa7c], esi
test esi, esi
je 0x42e003
lea ecx, [ebp - 0xa74]
call fcn.00422ac0
call fcn.00422100
lea eax, [ebp - 0xa74]
push eax
call dword [0x56f4a8]
add esp, 4
test al, al
jne 0x42da77
push 0
push esi
call fcn.0042d920
jmp 0x42e003
mov esi, dword [ebp - 0xa70]
mov dword [edi + 0x20], esi
call fcn.00422100
push esi
call dword [0x56f394]
add esp, 4
mov dword [ebp - 0xa94], eax
mov dword [ebp - 0xa8c], 0
mov dword [ebp - 0xa88], 0
mov dword [ebp - 0xa84], 0
mov dword [ebp - 4], 0
call fcn.00422100
lea eax, [ebp - 0xa8c]
push eax
push dword [edi + 0x20]
call fcn.00423590
mov esi, dword [ebp - 0xa8c]
mov ecx, dword [ebp - 0xa88]
test al, al
jne 0x42dae9
cmp esi, ecx
cmovne ecx, esi
mov dword [ebp - 0xa88], ecx
sub ecx, esi
mov eax, 0x7e07e07f
imul ecx
mov dword [ebp - 0xaa8], ecx
sar edx, 8
mov edi, edx
shr edi, 0x1f
add edi, edx
mov dword [ebp - 0xaa4], edi
cmp edi, 1
ja 0x42db11
push 0
jmp 0x42db12
push edi
push dword [ebp - 0xa7c]
call fcn.0042d920
push ecx
mov ecx, dword [ebp - 0xa7c]
push str.plat_list
call fcn.0042e7d0
mov dword [ebp - 0xa90], eax
test eax, eax
je 0x42df6b
push ecx
mov ecx, dword [ebp - 0xa7c]
push str.accel_edit_game_path
call fcn.0042e940
mov esi, eax
mov dword [ebp - 0xa98], esi
test esi, esi
je 0x42db71
mov edx, dword [esi]
mov ecx, esi
push 0x520f50
call dword [edx + 0x44]
mov edx, dword [esi]
mov ecx, esi
push 0x520f50
call dword [edx + 0x40]
push ecx
mov ecx, dword [ebp - 0xa7c]
push str.accel_scan_game_path
call fcn.0042c4a0
mov esi, eax
test esi, esi
je 0x42dbcb
lea ecx, [ebp - 0x1c]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::ISlotFunctor::constructor_void_]
mov eax, dword [ebp - 0xa80]
mov dword [ebp - 0x1c], vtable.SOUI::MemberFunctionSlot_class_SOUI::SGamePathAdapter__class_SOUI::EventArgs_.0
mov dword [ebp - 0x18], 0x42e240
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
push 0x2710
lea ecx, [esi + 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 byte [ebp - 4], 0
call dword [sym.imp.soui.dll_public_virtual:_void___thiscall_SOUI::ISlotFunctor::destructor_void_]
xor ecx, ecx
mov dword [ebp - 0xa78], 0xffffffff
test edi, edi
je 0x42dc3b
mov eax, dword [ebp - 0xa8c]
mov edx, dword [eax + 4]
cmp dword [ebp - 0xa94], edx
je 0x42dc3b
mov esi, dword [ebp - 0xa80]
mov esi, dword [esi + 0x20]
cmp esi, dword [eax]
je 0x42dbfd
test ecx, ecx
jne 0x42dc05
mov dword [ebp - 0xa78], edx
jmp 0x42dc0b
mov edx, dword [ebp - 0xa78]
inc ecx
add eax, 0x208
cmp ecx, edi
jb 0x42dbe1
cmp edx, 0xffffffff
je 0x42dc3b
call fcn.00422100
push dword [ebp - 0xa78]
push esi
call dword [0x56f548]
mov eax, dword [ebp - 0xa78]
add esp, 8
mov dword [ebp - 0xa94], eax
cmp edi, 1
jbe 0x42dd60
mov esi, dword [ebp - 0xa8c]
xor edi, edi
mov dword [ebp - method.GamePicDownloadInfo.virtual_0], vtable.GamePicDownloadInfo.0
add esi, 4
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x3c], 7
movups xmmword [ebp - 0x50], xmm0
mov word [ebp - 0x50], ax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x50]
push eax
push dword [esi]
call fcn.004847f0
cmp dword [ebp - 0x24], 7
lea eax, [ebp - 0x38]
cmova eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42dcf0
mov edx, dword [ebp - 0xa80]
sub esp, 0x28
mov ecx, dword [esi]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], ecx
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, esp
mov dword [ebp - 0x14], edi
movups xmm0, xmmword [ebp - 0x20]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_1a5553522582b60bb8e8bf2b126252c6___void___.0
movups xmmword [eax + 4], xmm0
mov dword [eax + 0x24], eax
call fcn.0047df90
push dword [esi]
push ecx
call fcn.0047e9c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
cmp ecx, 7
jbe 0x42dd2e
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42dd24
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e020
push ecx
push edx
call fcn.004d1b31
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov byte [ebp - 4], al
call fcn.00415020
inc edi
add esi, 0x208
cmp edi, dword [ebp - 0xaa4]
jb 0x42dc60
mov ecx, dword [ebp - 0xa90]
mov esi, dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::GetWindow_int_const]
push 0
call esi
mov edi, eax
test edi, edi
je 0x42dd97
push 3
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xa90]
mov esi, eax
push edi
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SWindow::DestroyChild_class_SOUI::SWindow__]
mov edi, esi
test esi, esi
mov esi, dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::GetWindow_int_const]
jne 0x42dd76
cmp dword [ebp - 0xaa4], 1
jbe 0x42dfae
mov ecx, dword [ebp - 0xa90]
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
call eax
mov edi, dword [ebp - 0xa8c]
xor esi, esi
mov dword [ebp - 0xaac], esi
mov dword [ebp - 0xaa0], 0xa
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
add edi, 4
mov dword [ebp - 0xab0], ecx
lea eax, [ecx + 0x10]
mov dword [ebp - 0xaa8], eax
nop word [eax + eax]
lea ecx, [ebp - 0xa9c]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
mov eax, dword [ebp - 0xab0]
push esi
push eax
push eax
push 0
push dword [ebp - 0xaa0]
lea eax, [ebp - 0xab4]
mov byte [ebp - 4], 5
push esi
push str._img_name_plat__d__pos__d__d__size__d__d__msgTransparent_0___radio_name_plat_radio__pos_0_0__0__0__skin_skin_gamepath_path_icon_radio_png__cursor_hand_____img_
push eax
lea eax, [ebp - 0xa9c]
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, 0x24
lea ecx, [ebp - 0xab4]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
push dword [ebp - 0xa9c]
mov ecx, dword [ebp - 0xa90]
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::CreateChildren_wchar_t_const__]
test eax, eax
je 0x42df1d
push ecx
push str.plat_radio
mov ecx, eax
call fcn.0042eab0
mov dword [ebp - 0xa78], eax
test eax, eax
je 0x42df1d
lea ecx, [ebp - 0x1c]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::ISlotFunctor::constructor_void_]
mov eax, dword [ebp - 0xa80]
mov dword [ebp - 0x1c], vtable.SOUI::MemberFunctionSlot_class_SOUI::SGamePathAdapter__class_SOUI::EventArgs_.0
mov dword [ebp - 0x18], 0x42e4c0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xa78]
lea eax, [ebp - 0x1c]
push eax
push 0x1fab
add ecx, 0x30
mov byte [ebp - 4], 6
call dword [sym.imp.soui.dll_public:_bool___thiscall_SOUI::SEventSet::subscribeEvent_unsigned_long_int__struct_SOUI::ISlotFunctor_const__]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call dword [sym.imp.soui.dll_public_virtual:_void___thiscall_SOUI::ISlotFunctor::destructor_void_]
push dword [edi]
mov ecx, dword [ebp - 0xa78]
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::SetUserData_unsigned_long_int_]
mov ecx, dword [ebp - 0xa94]
xor eax, eax
cmp ecx, dword [edi]
mov ecx, dword [ebp - 0xa78]
sete al
push eax
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SWindow::SetCheck_int_]
mov eax, dword [ebp - 0xa94]
cmp eax, dword [edi]
jne 0x42df1d
mov ecx, dword [ebp - 0xa98]
test ecx, ecx
je 0x42df1d
mov eax, dword [ecx]
lea esi, [edi + 4]
push esi
call dword [eax + 0x44]
mov ecx, dword [ebp - 0xa98]
push esi
mov eax, dword [ecx]
call dword [eax + 0x40]
push dword [edi]
mov ecx, dword [ebp - 0xa98]
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::SetUserData_unsigned_long_int_]
mov esi, dword [ebp - 0xaac]
lea ecx, [ebp - 0xa9c]
mov byte [ebp - 4], 0
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov eax, dword [ebp - 0xaa8]
inc esi
add dword [ebp - 0xaa0], eax
add edi, 0x208
mov dword [ebp - 0xaac], esi
cmp esi, dword [ebp - 0xaa4]
jb 0x42ddf0
mov esi, dword [ebp - 0xa8c]
mov eax, dword [ebp - 0xa80]
mov ecx, eax
push dword [ebp - 0xa7c]
mov edx, dword [eax]
call dword [edx + 0x18]
test esi, esi
je 0x42e003
mov ecx, dword [ebp - 0xa84]
mov eax, 0x7e07e07f
sub ecx, esi
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x208
mov eax, esi
cmp ecx, 0x1000
jb 0x42dff9
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e020
jmp 0x42dff9
mov eax, dword [ebp - 0xaa8]
add eax, 0xfffffdf8
cmp eax, 0x208
jae 0x42df52
mov edi, dword [ebp - 0xa98]
test edi, edi
je 0x42df52
mov esi, dword [ebp - 0xa8c]
mov ecx, edi
mov eax, dword [edi]
add esi, 8
push esi
call dword [eax + 0x44]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x40]
mov esi, dword [ebp - 0xa8c]
mov ecx, edi
push dword [esi + 4]
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::SetUserData_unsigned_long_int_]
jmp 0x42df58
push ecx
push esi
call fcn.004d1b31
add esp, 8
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.004d1b1e
mov esp, ebp
pop ebp
ret 8
call fcn.004e183c
int3