Function at 0x10028d62
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x40
mov eax, 0x1017d912
call fcn.1008546d
mov eax, dword [ebp + 0x250]
mov edi, dword [ebp + 0x24c]
mov dword [ebp - 0x1c], eax
call fcn.100052f9
mov ecx, eax
call fcn.10019925
push eax
lea ecx, [ebp]
call fcn.100015f0
lea eax, [ebp + 0x1c]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.10027c75
pop ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.10027b62
push str..znpf
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.100015f0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.10028899
push esi
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.100017c0
push str..sznpf
lea ecx, [ebp - 0x4c]
call fcn.100015f0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.10028899
push esi
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.100017c0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.1001d93c
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.1001d93c
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.10054d99
test al, al
jne 0x10028f2a
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x24]
call fcn.10054ee4
cmp dword [eax + 0x18], 8
jb 0x10028e77
mov eax, dword [eax + 4]
jmp 0x10028e7a
add eax, 4
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x10028e87
mov ecx, dword [esi]
jmp 0x10028e89
mov ecx, esi
cmp dword [ebp + 0x18], 8
mov edx, dword [ebp + 4]
jae 0x10028e95
lea edx, [ebp + 4]
push eax
push ecx
push edx
lea eax, [ebp + 0x38]
push str._sSkin_s_s
push eax
call fcn.10004df5
add esp, 0x14
lea eax, [ebp + 0x38]
push eax
call ebx
test eax, eax
jne 0x10028f2e
lea ecx, [ebp - 0x24]
call fcn.10054ee4
cmp dword [eax + 0x18], 8
jb 0x10028ec6
mov eax, dword [eax + 4]
jmp 0x10028ec9
add eax, 4
cmp dword [edi + 0x18], 8
jb 0x10028ed1
mov esi, dword [esi]
cmp dword [ebp + 0x34], 8
mov ecx, dword [ebp + 0x20]
jae 0x10028edd
lea ecx, [ebp + 0x20]
push eax
push esi
push ecx
lea eax, [ebp + 0x38]
push 0x1018bc78
push eax
call fcn.10004df5
add esp, 0x14
lea eax, [ebp + 0x38]
push eax
call ebx
test eax, eax
jne 0x10028f84
lea ecx, [ebp - 0x24]
call fcn.10027ae5
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.1001d93c
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.10054d99
test al, al
je 0x10028e64
xor esi, esi
jmp 0x10028f93
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp + 0x38]
push eax
call fcn.10003610
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.10028aa8
push 0
push 1
lea ecx, [ebp + 0x1c]
call fcn.100017c0
push 0
push 1
lea ecx, [ebp]
call fcn.100017c0
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x244
leave
ret
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp + 0x38]
push eax
call fcn.10003610
xor esi, esi
inc esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.10028aa8
push 0
push 1
lea ecx, [ebp + 0x1c]
call fcn.100017c0
push 0
push 1
lea ecx, [ebp]
call fcn.100017c0
mov eax, esi
jmp 0x10028f61