Function at 0x42cec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5081dd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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 esi, dword [ebp + 8]
test esi, esi
je 0x42d12b
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], eax
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], 2
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 0xc]
call fcn.00484260
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 0x42cf78
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 ecx, eax
add esp, 4
mov dword [ebp - 0x44], ecx
test ecx, ecx
jne 0x42d05b
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x42cfb6
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42cfac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d148
push ecx
push edx
call fcn.004d1b31
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 0x42d007
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42cffd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d148
push ecx
push edx
call fcn.004d1b31
add esp, 8
mov ecx, dword [esi + 0x1a0]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [esi + 0x1a4], 1
test ecx, ecx
je 0x42d042
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 4]
mov dword [esi + 0x1a0], 0
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x184], 3
call dword [eax + 0x88]
jmp 0x42d12b
mov eax, dword [esi + 0x1a0]
lea edi, [esi + 0x1a0]
mov dword [esi + 0x1a4], 1
test eax, eax
je 0x42d086
lea ecx, [eax + 4]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x44]
mov dword [edi], 0
mov eax, dword [ecx]
push edi
call dword [eax + 0x68]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x184], 3
call dword [eax + 0x88]
mov ecx, dword [ebp - 0x44]
add ecx, 4
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x42d0e1
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42d0d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d148
push ecx
push edx
call fcn.004d1b31
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x42d12b
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42d121
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d148
push ecx
push edx
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