Function at 0x4937c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660263
mov eax, dword fs:[0]
push eax
sub esp, 0xb20
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8c], ecx
cmp dword [ebp + 8], 0
jne 0x4937fd
jmp 0x49405e
lea ecx, [ebp - 0xa84]
call fcn.0047b0c0
lea eax, [ebp - 0xa84]
push eax
call fcn.0046a540
mov ecx, eax
call fcn.0046c810
movzx ecx, al
test ecx, ecx
jne 0x493838
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xa8c]
call fcn.00493760
jmp 0x49405e
mov eax, dword [ebp - 0xa8c]
mov ecx, dword [ebp - 0xa80]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0xa8c]
mov eax, dword [edx + 0x20]
push eax
call fcn.0046a540
mov ecx, eax
call fcn.0046ba30
mov dword [ebp - 0xac0], eax
lea ecx, [ebp - 0xaa0]
call fcn.0047af20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xaa0]
push ecx
mov edx, dword [ebp - 0xa8c]
mov eax, dword [edx + 0x20]
push eax
call fcn.0046a540
mov ecx, eax
call fcn.0046bc50
movzx ecx, al
test ecx, ecx
jne 0x4938a4
lea ecx, [ebp - 0xaa0]
call fcn.004853a0
lea ecx, [ebp - 0xaa0]
call fcn.00489de0
cmp eax, 1
ja 0x4938c7
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xa8c]
call fcn.00493760
jmp 0x4938e2
lea ecx, [ebp - 0xaa0]
call fcn.00489de0
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xa8c]
call fcn.00493760
push 0xffffffffffffffff
push 0x681f28
mov ecx, dword [ebp + 8]
call fcn.0048e320
mov dword [ebp - 0xaa4], eax
cmp dword [ebp - 0xaa4], 0
jne 0x493917
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xaa0]
call fcn.0047bff0
jmp 0x49405e
push 0xffffffffffffffff
push 0x681f3c
mov ecx, dword [ebp + 8]
call fcn.00494ac0
mov dword [ebp - 0xa88], eax
cmp dword [ebp - 0xa88], 0
je 0x493965
push 0x681f68
mov ecx, dword [ebp - 0xa88]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xa88]
mov eax, dword [edx + 0x44]
call eax
push 0x681f6c
mov ecx, dword [ebp - 0xa88]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xa88]
mov eax, dword [edx + 0x40]
call eax
push 0xffffffffffffffff
push 0x681f70
mov ecx, dword [ebp + 8]
call fcn.0048de70
mov dword [ebp - 0xac8], eax
cmp dword [ebp - 0xac8], 0
je 0x4939e3
mov ecx, dword [ebp - 0xa8c]
push ecx
push 0x494210
lea edx, [ebp - 0xb10]
push edx
call fcn.00494ec0
add esp, 0xc
mov dword [ebp - 0xaf8], eax
mov eax, dword [ebp - 0xaf8]
mov dword [ebp - 0xafc], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xafc]
push ecx
push 0x2710
mov ecx, dword [ebp - 0xac8]
call dword [sym.imp.soui.dll_public:_class_SOUI::SEventSet____thiscall_SOUI::SWindow::GetEventSet_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_bool___thiscall_SOUI::SEventSet::subscribeEvent_unsigned_long_int__struct_SOUI::ISlotFunctor_const__]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb10]
call fcn.004956b0
mov byte [ebp - 0xa91], 0
mov dword [ebp - 0xab0], 0xffffffff
mov dword [ebp - 0xaa8], 0
jmp 0x493a0f
mov edx, dword [ebp - 0xaa8]
add edx, 1
mov dword [ebp - 0xaa8], edx
lea ecx, [ebp - 0xaa0]
call fcn.00489de0
cmp dword [ebp - 0xaa8], eax
jae 0x493a90
mov eax, dword [ebp - 0xaa8]
push eax
lea ecx, [ebp - 0xaa0]
call fcn.0047c350
mov ecx, dword [ebp - 0xac0]
cmp ecx, dword [eax + 4]
jne 0x493a48
mov byte [ebp - 0xa91], 1
jmp 0x493a90
mov edx, dword [ebp - 0xaa8]
push edx
lea ecx, [ebp - 0xaa0]
call fcn.0047c350
mov ecx, dword [ebp - 0xa8c]
mov edx, dword [ecx + 0x20]
cmp edx, dword [eax]
je 0x493a70
cmp dword [ebp - 0xaa8], 0
jne 0x493a8b
mov eax, dword [ebp - 0xaa8]
push eax
lea ecx, [ebp - 0xaa0]
call fcn.0047c350
mov ecx, dword [eax + 4]
mov dword [ebp - 0xab0], ecx
jmp 0x493a00
movzx edx, byte [ebp - 0xa91]
test edx, edx
jne 0x493acd
cmp dword [ebp - 0xab0], 0xffffffff
je 0x493acd
mov eax, dword [ebp - 0xab0]
push eax
mov ecx, dword [ebp - 0xa8c]
mov edx, dword [ecx + 0x20]
push edx
call fcn.0046a540
mov ecx, eax
call fcn.0046ba50
mov eax, dword [ebp - 0xab0]
mov dword [ebp - 0xac0], eax
lea ecx, [ebp - 0xaa0]
call fcn.00489de0
cmp eax, 1
jbe 0x493c50
mov dword [ebp - 0xaac], 0
jmp 0x493afc
mov ecx, dword [ebp - 0xaac]
add ecx, 1
mov dword [ebp - 0xaac], ecx
lea ecx, [ebp - 0xaa0]
call fcn.00489de0
cmp dword [ebp - 0xaac], eax
jae 0x493c50
lea ecx, [ebp - 0x40]
call fcn.004474e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004474e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xad4]
call fcn.0054e470
mov byte [ebp - 4], 4
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0xaac]
push ecx
lea ecx, [ebp - 0xaa0]
call fcn.0047c350
mov edx, dword [eax + 4]
push edx
lea ecx, [ebp - 0xad4]
call fcn.0054e960
lea ecx, [ebp - 0x28]
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x493c24
mov eax, dword [ebp - 0xaac]
push eax
mov ecx, dword [ebp - 0xaac]
push ecx
lea ecx, [ebp - 0xaa0]
call fcn.0047c350
mov edx, dword [eax + 4]
push edx
mov eax, dword [ebp - 0xa8c]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0xa8c]
push edx
lea ecx, [ebp - 0xb2c]
call fcn.004954c0
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0xb00], esp
sub esp, 0x10
mov edx, esp
mov esi, dword [eax]
mov dword [edx], esi
mov esi, dword [eax + 4]
mov dword [edx + 4], esi
mov esi, dword [eax + 8]
mov dword [edx + 8], esi
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
call fcn.00494a00
mov dword [ebp - 0xad8], eax
mov ecx, dword [ebp - 0xad8]
mov dword [ebp - 0xb04], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xaac]
push edx
lea ecx, [ebp - 0xaa0]
call fcn.0047c350
mov eax, dword [eax + 4]
push eax
mov ecx, dword [ebp - 0xa8c]
mov edx, dword [ecx + 0x20]
push edx
call fcn.00536c00
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.005371c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xad4]
call fcn.0054e490
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
jmp 0x493aed
push 0
mov ecx, dword [ebp - 0xaa4]
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::GetWindow_int_const]
mov dword [ebp - 0xab4], eax
cmp dword [ebp - 0xab4], 0
je 0x493ca2
push 3
mov ecx, dword [ebp - 0xab4]
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::GetWindow_int_const]
mov dword [ebp - 0xadc], eax
mov eax, dword [ebp - 0xab4]
push eax
mov ecx, dword [ebp - 0xaa4]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SWindow::DestroyChild_class_SOUI::SWindow__]
mov ecx, dword [ebp - 0xadc]
mov dword [ebp - 0xab4], ecx
jmp 0x493c64
lea ecx, [ebp - 0xaa0]
call fcn.00489de0
cmp eax, 1
jbe 0x493fb7
lea edx, [ebp - 0x60]
push edx
mov eax, dword [ebp - 0xaa4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xaa4]
mov eax, dword [edx + 0x4c]
call eax
mov ecx, eax
call fcn.00495f30
mov dword [ebp - 0xae0], eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0xaa4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xaa4]
mov edx, dword [eax + 0x4c]
call edx
mov ecx, eax
call fcn.00495ce0
mov dword [ebp - 0xab8], eax
mov dword [ebp - 0xa90], 0
jmp 0x493d19
mov eax, dword [ebp - 0xa90]
add eax, 1
mov dword [ebp - 0xa90], eax
lea ecx, [ebp - 0xaa0]
call fcn.00489de0
cmp dword [ebp - 0xa90], eax
jae 0x493fb5
lea ecx, [ebp - 0xaa0]
call fcn.00489de0
imul eax, dword [ebp - 0xab8]
mov esi, dword [ebp - 0xae0]
sub esi, eax
lea ecx, [ebp - 0xaa0]
call fcn.00489de0
mov ecx, eax
add ecx, 1
mov eax, esi
xor edx, edx
div ecx
mov edx, dword [ebp - 0xa90]
add edx, 1
imul eax, edx
mov ecx, dword [ebp - 0xa90]
imul ecx, dword [ebp - 0xab8]
add eax, ecx
mov dword [ebp - 0xaf4], eax
mov dword [ebp - 0xaf0], 0
lea ecx, [ebp - 0xac4]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xa90]
push edx
mov eax, dword [ebp - 0xab8]
push eax
mov ecx, dword [ebp - 0xab8]
push ecx
mov edx, dword [ebp - 0xaf0]
push edx
mov eax, dword [ebp - 0xaf4]
push eax
mov ecx, dword [ebp - 0xa90]
push ecx
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_
lea edx, [ebp - 0xae4]
push edx
lea eax, [ebp - 0xac4]
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 - 0xae4]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [ebp - 0xac4]
call dword [sym.imp.utilities.dll_public:_wchar_t_const____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__void_const]
push eax
mov ecx, dword [ebp - 0xaa4]
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::CreateChildren_wchar_t_const__]
mov dword [ebp - 0xad0], eax
cmp dword [ebp - 0xad0], 0
je 0x493fa0
push 0xffffffffffffffff
push 0x682100
mov ecx, dword [ebp - 0xad0]
call fcn.00494cc0
mov dword [ebp - 0xabc], eax
cmp dword [ebp - 0xabc], 0
je 0x493fa0
mov ecx, dword [ebp - 0xa8c]
push ecx
push 0x4944d0
lea edx, [ebp - 0xb1c]
push edx
call fcn.00494ec0
add esp, 0xc
mov dword [ebp - 0xae8], eax
mov eax, dword [ebp - 0xae8]
mov dword [ebp - 0xaec], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xaec]
push ecx
push 0x1fab
mov ecx, dword [ebp - 0xabc]
call dword [sym.imp.soui.dll_public:_class_SOUI::SEventSet____thiscall_SOUI::SWindow::GetEventSet_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_bool___thiscall_SOUI::SEventSet::subscribeEvent_unsigned_long_int__struct_SOUI::ISlotFunctor_const__]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb1c]
call fcn.004956b0
mov edx, dword [ebp - 0xa90]
push edx
lea ecx, [ebp - 0xaa0]
call fcn.0047c350
mov eax, dword [eax + 4]
push eax
mov ecx, dword [ebp - 0xabc]
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::SetUserData_unsigned_long_int_]
mov ecx, dword [ebp - 0xa90]
push ecx
lea ecx, [ebp - 0xaa0]
call fcn.0047c350
mov edx, dword [ebp - 0xac0]
cmp edx, dword [eax + 4]
jne 0x493ee9
mov dword [ebp - 0xacc], 1
jmp 0x493ef3
mov dword [ebp - 0xacc], 0
mov eax, dword [ebp - 0xacc]
push eax
mov ecx, dword [ebp - 0xabc]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SWindow::SetCheck_int_]
mov ecx, dword [ebp - 0xa90]
push ecx
lea ecx, [ebp - 0xaa0]
call fcn.0047c350
mov edx, dword [ebp - 0xac0]
cmp edx, dword [eax + 4]
jne 0x493fa0
cmp dword [ebp - 0xa88], 0
je 0x493fa0
mov eax, dword [ebp - 0xa90]
push eax
lea ecx, [ebp - 0xaa0]
call fcn.0047c350
add eax, 8
push eax
mov ecx, dword [ebp - 0xa88]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xa88]
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [ebp - 0xa90]
push ecx
lea ecx, [ebp - 0xaa0]
call fcn.0047c350
add eax, 8
push eax
mov edx, dword [ebp - 0xa88]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa88]
mov edx, dword [eax + 0x40]
call edx
mov eax, dword [ebp - 0xa90]
push eax
lea ecx, [ebp - 0xaa0]
call fcn.0047c350
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0xa88]
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::SetUserData_unsigned_long_int_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac4]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
jmp 0x493d0a
jmp 0x494035
lea ecx, [ebp - 0xaa0]
call fcn.00489de0
cmp eax, 1
jne 0x494035
cmp dword [ebp - 0xa88], 0
je 0x494035
push 0
lea ecx, [ebp - 0xaa0]
call fcn.0047c350
add eax, 8
push eax
mov edx, dword [ebp - 0xa88]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa88]
mov edx, dword [eax + 0x44]
call edx
push 0
lea ecx, [ebp - 0xaa0]
call fcn.0047c350
add eax, 8
push eax
mov eax, dword [ebp - 0xa88]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa88]
mov eax, dword [edx + 0x40]
call eax
push 0
lea ecx, [ebp - 0xaa0]
call fcn.0047c350
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0xa88]
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::SetUserData_unsigned_long_int_]
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xa8c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa8c]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xaa0]
call fcn.0047bff0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret 8