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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015d6b6
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x101ba0ec]
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.10112e14
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 0x1009c81e
push str.face.png
lea ecx, [ebp - 0x230]
call fcn.10041a70
mov byte [ebp - 4], 1
call fcn.100c7930
mov edi, eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [edi + 0x28]
call fcn.1007f5b0
mov esi, eax
test esi, esi
jne 0x1009c7f7
lea eax, [ebp - 0x230]
push eax
lea ecx, [edi + 0x1198]
call fcn.1007f5b0
mov esi, eax
test esi, esi
jne 0x1009c7f7
lea eax, [ebp - 0x230]
push eax
lea ecx, [edi + 0x2308]
call fcn.1007f5b0
mov esi, eax
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x1009ca8d
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.10042120
jmp 0x1009ca8d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101c589c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x101c8824]
cmp eax, dword [esi + 4]
jle 0x1009c8a2
push 0x101c8824
call fcn.1010aad0
add esp, 4
cmp dword [0x101c8824], 0xffffffff
jne 0x1009c8a2
push 0x10166f40
mov word [0x101c8830], 0
mov dword [0x101c8828], 0
mov dword [0x101c882c], 0
mov dword [0x101c8834], 1
mov dword [0x101c883c], 0
mov dword [0x101c8838], 0
call fcn.1010af0c
push 0x101c8824
call fcn.1010aa91
add esp, 8
mov eax, dword [0x101c8840]
cmp eax, dword [esi + 4]
jle 0x1009c8f8
push 0x101c8840
call fcn.1010aad0
add esp, 4
cmp dword [0x101c8840], 0xffffffff
jne 0x1009c8f8
xor eax, eax
mov dword [0x101c8858], 7
push 0x10166ee0
mov dword [0x101c8854], 0
mov word [0x101c8844], ax
call fcn.1010af0c
push 0x101c8840
call fcn.1010aa91
add esp, 8
mov esi, dword [0x101c8838]
test esi, esi
je 0x1009c947
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae ecx, dword [ebp - 0x248]
mov eax, 0x101c8844
cmp dword [0x101c8858], 8
push ecx
cmovae eax, dword [0x101c8844]
push dword [0x101c8854]
push eax
call fcn.1004b100
add esp, 0x10
test eax, eax
je 0x1009c9e8
mov esi, dword [0x101c82ac]
test esi, esi
jne 0x1009c97b
push 0x1c8
call fcn.1010a843
mov esi, eax
add esp, 4
mov dword [ebp - 0x24c], esi
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.1003f040
mov byte [ebp - 4], 0
mov dword [0x101c82ac], esi
add esi, 0xe4
cmp dword [esi + 0x14], 8
jb 0x1009c989
mov esi, dword [esi]
push esi
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x1018444c
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 0x1009c9cd
lea eax, [ebp - 0x218]
mov ecx, 0x101c8828
push eax
call sym.WnSkinPreview.dll_public:_int___thiscall_CImgInfo::LoadImgInfo_wchar_t_const__
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x248]
mov ecx, 0x101c8844
push eax
call fcn.10041c10
mov esi, dword [0x101c8838]
test esi, esi
je 0x1009c9f6
mov esi, 0x101c8828
jmp 0x1009ca8d
push str.face.png
lea ecx, [ebp - 0x230]
call fcn.10041a70
mov byte [ebp - 4], 3
call fcn.100c7930
mov edi, eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [edi + 0x28]
call fcn.1007f5b0
mov esi, eax
test esi, esi
jne 0x1009ca52
lea eax, [ebp - 0x230]
push eax
lea ecx, [edi + 0x1198]
call fcn.1007f5b0
mov esi, eax
test esi, esi
jne 0x1009ca52
lea eax, [ebp - 0x230]
push eax
lea ecx, [edi + 0x2308]
call fcn.1007f5b0
mov esi, eax
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x1009ca70
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.10042120
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 0x1009caab
inc ecx
push ecx
push dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call fcn.10042120
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.1010a832
mov esp, ebp
pop ebp
ret