Function at 0x1009e8d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015d0d2
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x5c]
push eax
call sym.WnSkinPreview.dll_private:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_CSkinData::GetSkinPath_void_
mov byte [ebp - 4], 1
call fcn.10058fc0
movaps xmm1, xmm0
movss xmm0, dword [0x1019736c]
comiss xmm1, dword [0x10197368]
movss dword [ebp - 0x60], xmm1
jb 0x1009e99a
comiss xmm0, xmm1
jbe 0x1009e99a
push 0x1018e0ac
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10041860
add esp, 0xc
lea ecx, [ebp - 0x2c]
push eax
call fcn.10041540
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1009e981
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10042110
movss xmm0, dword [ebp - 0x60]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [0x10197390]
cvtpd2ps xmm0, xmm0
jmp 0x1009eaf7
comiss xmm1, xmm0
movsd xmm2, qword [0x101973a0]
jb 0x1009ea00
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x1009ea00
push 0x1018e0c8
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10041860
add esp, 0xc
lea ecx, [ebp - 0x2c]
push eax
call fcn.10041540
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1009e9e7
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10042110
movss xmm0, dword [ebp - 0x60]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [0x10197398]
cvtpd2ps xmm0, xmm0
jmp 0x1009eaf7
xorps xmm0, xmm0
lea eax, [ebp - 0x5c]
cvtss2sd xmm0, xmm1
comisd xmm0, xmm2
jb 0x1009ea8c
push 0x1018e0e4
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10041860
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x2c]
cmp eax, ebx
je 0x1009ea5d
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x1009ea40
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10042110
xor eax, eax
mov dword [ebp - 0x18], 7
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.100419a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1009ea76
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10042110
movss xmm0, dword [ebp - 0x60]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [0x101973a0]
cvtpd2ps xmm0, xmm0
jmp 0x1009eaf7
push 0x1018e100
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10041860
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x2c]
cmp eax, ebx
je 0x1009ead9
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x1009eabc
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10042110
xor eax, eax
mov dword [ebp - 0x18], 7
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.100419a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1009eaf2
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10042110
movss xmm0, dword [ebp - 0x60]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
movss dword [edi + 0x1200], xmm0
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009eb6f
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.100419a0
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x1009eb48
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.10042110
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
cmp ecx, 8
jb 0x1009ec3d
inc ecx
push ecx
jmp 0x1009ec32
push 0x1018e100
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10041860
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x2c]
cmp eax, ebx
je 0x1009ebbf
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x1009eba2
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10042110
xor eax, eax
mov dword [ebp - 0x18], 7
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.100419a0
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1009ebd4
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10042110
movss xmm0, dword [ebp - 0x60]
xor eax, eax
movss dword [edi + 0x1200], xmm0
mov ecx, esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.100419a0
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x1009ec14
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.10042110
xor eax, eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], 0
cmp eax, 8
jb 0x1009ec3d
inc eax
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.10042110
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10109ec2
mov esp, ebp
pop ebp
ret 4