Function at 0x1009c430
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015cd66
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10112474
push 0
push 0x9b
lea ecx, [ebp - 0x248]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x10]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x238], 0
jne 0x1009c50e
push str.face.png
lea ecx, [ebp - 0x230]
call fcn.10041a60
mov byte [ebp - 4], 1
call fcn.100c7090
mov edi, eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [edi + 0x28]
call fcn.1007f2a0
mov esi, eax
test esi, esi
jne 0x1009c4e7
lea eax, [ebp - 0x230]
push eax
lea ecx, [edi + 0x1198]
call fcn.1007f2a0
mov esi, eax
test esi, esi
jne 0x1009c4e7
lea eax, [ebp - 0x230]
push eax
lea ecx, [edi + 0x2308]
call fcn.1007f2a0
mov esi, eax
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x1009c77d
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.10042110
jmp 0x1009c77d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101c483c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x101c75ec]
cmp eax, dword [esi + 4]
jle 0x1009c592
push 0x101c75ec
call fcn.1010a160
add esp, 4
cmp dword [0x101c75ec], 0xffffffff
jne 0x1009c592
push 0x10166550
mov word [0x101c75f8], 0
mov dword [0x101c75f0], 0
mov dword [0x101c75f4], 0
mov dword [0x101c75fc], 1
mov dword [0x101c7604], 0
mov dword [0x101c7600], 0
call fcn.1010a59c
push 0x101c75ec
call fcn.1010a121
add esp, 8
mov eax, dword [0x101c7608]
cmp eax, dword [esi + 4]
jle 0x1009c5e8
push 0x101c7608
call fcn.1010a160
add esp, 4
cmp dword [0x101c7608], 0xffffffff
jne 0x1009c5e8
xor eax, eax
mov dword [0x101c7620], 7
push 0x101664f0
mov dword [0x101c761c], 0
mov word [0x101c760c], ax
call fcn.1010a59c
push 0x101c7608
call fcn.1010a121
add esp, 8
mov esi, dword [0x101c7600]
test esi, esi
je 0x1009c637
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae ecx, dword [ebp - 0x248]
mov eax, 0x101c760c
cmp dword [0x101c7620], 8
push ecx
cmovae eax, dword [0x101c760c]
push dword [0x101c761c]
push eax
call fcn.1004b050
add esp, 0x10
test eax, eax
je 0x1009c6d8
mov esi, dword [0x101c7074]
test esi, esi
jne 0x1009c66b
push 0x1c8
call fcn.10109ed3
mov esi, eax
add esp, 4
mov dword [ebp - 0x24c], esi
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.1003f030
mov byte [ebp - 4], 0
mov dword [0x101c7074], esi
add esi, 0xe4
cmp dword [esi + 0x14], 8
jb 0x1009c679
mov esi, dword [esi]
push esi
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x1018344c
push str.UserFace
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009c6bd
lea eax, [ebp - 0x218]
mov ecx, 0x101c75f0
push eax
call sym.WnSkinPreview.dll_public:_int___thiscall_CImgInfo::LoadImgInfo_wchar_t_const__
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x248]
mov ecx, 0x101c760c
push eax
call fcn.10041c00
mov esi, dword [0x101c7600]
test esi, esi
je 0x1009c6e6
mov esi, 0x101c75f0
jmp 0x1009c77d
push str.face.png
lea ecx, [ebp - 0x230]
call fcn.10041a60
mov byte [ebp - 4], 3
call fcn.100c7090
mov edi, eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [edi + 0x28]
call fcn.1007f2a0
mov esi, eax
test esi, esi
jne 0x1009c742
lea eax, [ebp - 0x230]
push eax
lea ecx, [edi + 0x1198]
call fcn.1007f2a0
mov esi, eax
test esi, esi
jne 0x1009c742
lea eax, [ebp - 0x230]
push eax
lea ecx, [edi + 0x2308]
call fcn.1007f2a0
mov esi, eax
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x1009c760
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.10042110
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov ecx, dword [ebp - 0x234]
cmp ecx, 8
jb 0x1009c79b
inc ecx
push ecx
push dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call fcn.10042110
mov eax, esi
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.10109ec2
mov esp, ebp
pop ebp
ret