Function at 0x1009ec00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015da42
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101ba0ec]
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.10059080
movaps xmm1, xmm0
movss xmm0, dword [0x10198414]
comiss xmm1, dword [0x10198410]
movss dword [ebp - 0x60], xmm1
jb 0x1009ecca
comiss xmm0, xmm1
jbe 0x1009ecca
push 0x1018f0bc
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10041870
add esp, 0xc
lea ecx, [ebp - 0x2c]
push eax
call fcn.10041550
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1009ecb1
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10042120
movss xmm0, dword [ebp - 0x60]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [0x10198438]
cvtpd2ps xmm0, xmm0
jmp 0x1009ee27
comiss xmm1, xmm0
movsd xmm2, qword [0x10198448]
jb 0x1009ed30
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x1009ed30
push 0x1018f0d8
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10041870
add esp, 0xc
lea ecx, [ebp - 0x2c]
push eax
call fcn.10041550
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1009ed17
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10042120
movss xmm0, dword [ebp - 0x60]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [0x10198440]
cvtpd2ps xmm0, xmm0
jmp 0x1009ee27
xorps xmm0, xmm0
lea eax, [ebp - 0x5c]
cvtss2sd xmm0, xmm1
comisd xmm0, xmm2
jb 0x1009edbc
push 0x1018f0f4
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10041870
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x2c]
cmp eax, ebx
je 0x1009ed8d
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x1009ed70
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10042120
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.100419b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1009eda6
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10042120
movss xmm0, dword [ebp - 0x60]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [0x10198448]
cvtpd2ps xmm0, xmm0
jmp 0x1009ee27
push 0x1018f110
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10041870
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x2c]
cmp eax, ebx
je 0x1009ee09
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x1009edec
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10042120
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.100419b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1009ee22
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10042120
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 0x1009ee9f
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.100419b0
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x1009ee78
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.10042120
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 0x1009ef6d
inc ecx
push ecx
jmp 0x1009ef62
push 0x1018f110
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10041870
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x2c]
cmp eax, ebx
je 0x1009eeef
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x1009eed2
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10042120
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.100419b0
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1009ef04
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10042120
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.100419b0
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x1009ef44
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.10042120
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 0x1009ef6d
inc eax
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.10042120
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.1010a7f2
mov esp, ebp
pop ebp
ret 4