Function at 0x440070
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5f4307
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x6f1550]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f1550]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
push 1
mov edi, ecx
call fcn.005a60ec
lea ecx, [esp + 0x1c]
call fcn.00401a30
xor ebx, ebx
mov dword [esp + 0x23c], ebx
mov eax, dword [edi + 0xe8]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x147
push eax
call ebp
cmp eax, 0xffffffff
je 0x4402c9
lea ecx, [esp + 0x1c]
push ecx
push eax
lea ecx, [edi + 0xc8]
call fcn.005a3996
call fcn.005a2d4d
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
push 0x104
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x28]
push 0x5c
push ecx
call fcn.005bf2b0
mov byte [eax], bl
lea eax, [esp + 0x30]
add esp, 8
add eax, 0xffffffff
lea ebx, [ebx]
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x440130
mov edx, dword [str._skin_]
mov cx, word [0x61af4c]
mov dword [eax], edx
mov dl, byte [0x61af4e]
mov word [eax + 4], cx
mov byte [eax + 6], dl
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401f00
mov byte [esp + 0x23c], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00401ce0
push 9
push str._skin.ini
lea ecx, [esp + 0x20]
call fcn.00401ce0
mov ecx, dword [esp + 0x18]
push ecx
push 0x104
lea edx, [esp + 0x134]
push edx
push str.main.bmp
push str.bmp_preview
push 0x61af14
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
call fcn.00401f00
mov byte [esp + 0x23c], 2
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401ce0
push 0x612bbc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00418de0
mov byte [esp + 0x248], 3
lea ecx, [esp + 0x138]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
call fcn.00418de0
add esp, 0x18
mov byte [esp + 0x23c], 4
push eax
lea ecx, [esp + 0x18]
call fcn.004044c0
mov byte [esp + 0x23c], 3
lea ecx, [esp + 0x20]
call fcn.00401aa0
mov byte [esp + 0x23c], 2
lea ecx, [esp + 0x24]
call fcn.00401aa0
mov eax, dword [edi + 0x8c]
cmp eax, ebx
lea esi, [edi + 0x88]
je 0x440279
push eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], 0xffffffff
mov byte [esi + 0x1d], bl
mov byte [esi + 0x1c], bl
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.0043fd00
mov eax, dword [edi + 0x8c]
mov ecx, dword [edi + 0x13c]
push eax
push ebx
push 0x172
push ecx
call ebp
mov edx, dword [edi + 0x20]
push 1
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esp + 0x23c], 1
lea ecx, [esp + 0x14]
call fcn.00401aa0
mov byte [esp + 0x23c], bl
lea ecx, [esp + 0x18]
call fcn.00401aa0
mov dword [esp + 0x23c], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00401aa0
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.005bf6a4
add esp, 0x22c
ret