Function at 0x409790
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x449b0b
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x464a38]
xor eax, esp
mov dword [esp + 0x320], eax
push ebx
push esi
push edi
mov eax, dword [0x464a38]
xor eax, esp
push eax
lea eax, [esp + 0x334]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0041a00e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4097e6
push 0x80004005
call fcn.00401410
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x13c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push ecx
mov dword [esp + 0x34c], 0
call ebx
lea edx, [esp + 0x22c]
push edx
push eax
mov eax, dword [esi + 0x13c]
push 0x148
push eax
call ebx
mov edx, dword [esi + 0x170]
push str.skin.skn
lea ecx, [esp + 0x230]
push ecx
push str.skin_
push edx
lea eax, [esp + 0x20]
push str._s_s_s_s
push eax
call fcn.00409770
mov edx, dword [esp + 0x28]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
add esp, 0x18
or eax, ecx
jge 0x409881
push edi
lea ecx, [esp + 0x14]
call fcn.00401850
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x128]
sub ecx, edx
lea ebx, [ebx]
mov al, byte [edx]
mov byte [ecx + edx], al
add edx, 1
test al, al
jne 0x409890
mov edx, dword [esi + 0x170]
push str.skin.bmp
lea ecx, [esp + 0x230]
push ecx
push str.skin_
push edx
lea eax, [esp + 0x20]
push str._s_s_s_s
push eax
call fcn.00409770
mov edi, dword [esp + 0x28]
mov edx, dword [edi - 0xc]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
add esp, 0x18
or eax, ecx
jge 0x4098ed
push edx
lea ecx, [esp + 0x14]
call fcn.00401850
mov edi, dword [esp + 0x10]
push 0x50
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [esi + 0xd4]
push eax
push 0
push 0x172
push ecx
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x128]
push edx
push 0x104
lea eax, [esp + 0x2c]
push eax
push str.0_0_0
push str.Transparent
push str.Panel
call ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1b]
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, edx
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x38]
push str._d_c_d_c_d
push eax
call fcn.0043667d
movzx edx, byte [esp + 0x3c]
xor ecx, ecx
mov ch, byte [esp + 0x38]
add esp, 0x1c
lea eax, [esp + 0x128]
push eax
push 0x104
mov cl, byte [esp + 0x20]
shl ecx, 8
or ecx, edx
mov dword [esi + 0x108], ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x44efc0
push str.High
push str.Panel
call ebx
lea edx, [esp + 0x24]
push edx
call fcn.00436610
add esp, 4
mov dword [esi + 0x118], eax
lea eax, [esp + 0x128]
push eax
push 0x104
lea ecx, [esp + 0x2c]
push ecx
push 0x44efc0
push str.Width
push str.Panel
call ebx
lea edx, [esp + 0x24]
push edx
call fcn.00436610
add esp, 4
push 0x105
push 0
mov dword [esi + 0x114], eax
mov eax, dword [esi + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, esi
call fcn.00409070
add edi, 0xfffffff0
mov dword [esp + 0x33c], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409a28
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov ecx, dword [esp + 0x334]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.00434975
add esp, 0x330
ret