Function at 0x4743d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50df75
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
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 edi, ecx
push ecx
lea esi, [edi + 4]
push 0x52e940
mov ecx, esi
call fcn.00425060
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4745a3
push ecx
push str.btn_close
mov ecx, esi
call fcn.004277b0
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4745a3
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x68], vtable.GamePicDownloadInfo.0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push dword [edi + 0x398]
call fcn.00485f50
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 0x474564
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__]
add esp, 4
mov dword [ebp - 0x48], eax
test eax, eax
je 0x474564
mov edx, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
mov edx, dword [edx + 0x58]
call edx
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [esi]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x38]
push ecx
mov ecx, esi
mov dword [ebp - 0x50], edi
call dword [eax + 0x4c]
movups xmm1, xmmword [ebp - 0x38]
mov esi, dword [ebp - 0x40]
movaps xmm0, xmm1
movd ecx, xmm1
psrldq xmm0, 8
movd eax, xmm0
movups xmmword [ebp - 0x64], xmm1
sub eax, ecx
cmp eax, esi
jle 0x4744f2
sub eax, esi
cdq
sub eax, edx
sar eax, 1
add ecx, eax
add esi, ecx
jmp 0x4744f8
mov esi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], esi
cmp eax, edi
jle 0x474518
sub eax, edi
mov edi, dword [ebp - 0x60]
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov eax, dword [ebp - 0x50]
add eax, edi
jmp 0x47451e
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x60]
sub eax, edi
sub esi, ecx
push eax
push esi
mov esi, dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SWindow::Move_int__int__int__int_]
push edi
push ecx
mov ecx, dword [ebp - 0x44]
call esi
mov ecx, dword [ebp - 0x44]
push 3
push dword [ebp - 0x48]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SImageWnd::SetImage_struct_SOUI::IBitmap___enum_SOUI::FilterLevel_]
mov ecx, dword [ebp - 0x48]
add ecx, 4
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x4c]
lea eax, [edi - 0x17]
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0x40]
add eax, 0xa
push eax
call esi
mov byte [ebp - 0x39], 1
jmp 0x474568
mov byte [ebp - 0x39], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x47459e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x474594
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4745c0
push ecx
push edx
call fcn.004d3111
add esp, 8
mov al, byte [ebp - 0x39]
jmp 0x4745a5
xor al, al
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
call fcn.004e2a5c
int3