Function at 0x4ab090
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568097
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x44
mov eax, dword [0x5ef300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x48], vtable.GamePicDownloadInfo.0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 0xc]
call fcn.004b0460
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ab209
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x4ab170
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ab166
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab2f6
push ecx
push edx
call fcn.0052b438
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 7
jbe 0x4ab1be
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ab1b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab2f6
push ecx
push edx
call fcn.0052b438
add esp, 8
mov ecx, dword [ebx + 0x38]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
test ecx, ecx
je 0x4ab1ea
mov edx, dword [ecx]
lea eax, [ebx + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052b3fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x34
call fcn.0043c570
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x4ab233
push 0x7c
call fcn.0052b408
mov dword [ebp - 0x4c], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0043bf60
mov byte [ebp - 4], 3
mov dword [esi + 4], eax
lea ecx, [ebx + 0x14]
push ecx
lea ecx, [ebx + 0x10]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push ecx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.004ac990
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4ab274
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4ab274
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x4ab26e
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x4ab272
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x4ab2aa
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ab2a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab2f6
push ecx
push edx
call fcn.0052b438
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 7
jbe 0x4ab1be
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ab1b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ab1b4
call fcn.0053775e
int3