Function at 0x40d380
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495871
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x78
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x7c], ecx
push 0x46
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00474130
add esp, 0xc
mov dword [ebp - 0x58], 5
mov dword [ebp - 4], 0
push 0x1a
push 0
lea ecx, [ebp - 0x74]
push ecx
call fcn.00474130
add esp, 0xc
push 0x49b520
push 0x18
lea edx, [ebp - 0x74]
push edx
push 0x49b53c
push 0x49b544
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x49b550
lea ecx, [ebp - 0x74]
push ecx
call fcn.004749a0
add esp, 8
test eax, eax
je 0x40d469
push 0x49b55c
lea edx, [ebp - 0x74]
push edx
call fcn.004749a0
add esp, 8
test eax, eax
je 0x40d469
mov ecx, 0x4d2a70
call fcn.0041fbf0
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x1f8
je 0x40d469
push 0x49b564
lea eax, [ebp - 0x74]
push eax
call fcn.004749a0
add esp, 8
test eax, eax
je 0x40d469
push 0x49b56c
lea ecx, [ebp - 0x74]
push ecx
call fcn.004749a0
add esp, 8
test eax, eax
jne 0x40d475
mov dword [ebp - 0x58], 4
jmp 0x40d4f5
push 0x49b574
lea edx, [ebp - 0x74]
push edx
call fcn.004749a0
add esp, 8
test eax, eax
je 0x40d4bb
push 0x49b580
lea eax, [ebp - 0x74]
push eax
call fcn.004749a0
add esp, 8
test eax, eax
je 0x40d4bb
mov ecx, 0x4d2a70
call fcn.0041fbf0
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x1f9
jne 0x40d4c4
mov dword [ebp - 0x58], 6
jmp 0x40d4f5
push 0x49b588
lea ecx, [ebp - 0x74]
push ecx
call fcn.004749a0
add esp, 8
test eax, eax
je 0x40d4ee
push 0x49b590
lea edx, [ebp - 0x74]
push edx
call fcn.004749a0
add esp, 8
test eax, eax
jne 0x40d4f5
mov dword [ebp - 0x58], 7
push 0x32
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.00474130
add esp, 0xc
push 0xdc
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, 0x4d3be8
call fcn.00423950
push 0
push 1
push 1
push 1
push 1
push 1
push 5
mov ecx, 0x4d2a70
call fcn.0041fe30
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x14
push eax
mov ecx, 0x4d3be8
call fcn.00423950
mov ecx, dword [ebp - 0x7c]
cmp dword [ecx + 0x17d8], 0
je 0x40d6d1
cmp dword [ebp - 0x58], 4
jne 0x40d585
push 0x49b598
push 0x28
lea edx, [ebp - 0x54]
push edx
push 0x49b5b4
push 0x49b5b8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x40d5f2
cmp dword [ebp - 0x58], 6
jne 0x40d5ac
push 0x49b5c0
push 0x28
lea ecx, [ebp - 0x54]
push ecx
push 0x49b5dc
push 0x49b5e0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x40d5f2
cmp dword [ebp - 0x58], 7
jne 0x40d5d3
push 0x49b5e8
push 0x28
lea eax, [ebp - 0x54]
push eax
push 0x49b608
push 0x49b60c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x40d5f2
push 0x49b614
push 0x28
lea edx, [ebp - 0x54]
push edx
push 0x49b630
push 0x49b634
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x54]
push ecx
call fcn.00474cdc
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
ja 0x40d6c2
push 0x32
push 0
lea edx, [ebp - 0x54]
push edx
call fcn.00474130
add esp, 0xc
cmp dword [ebp - 0x58], 4
jne 0x40d643
push str.d:cacheK4_skin_skin.ini
push 0x28
lea eax, [ebp - 0x54]
push eax
push 0x49b658
push 0x49b65c
push 0x49b664
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x40d6b3
cmp dword [ebp - 0x58], 6
jne 0x40d66b
push str.d:cacheK6_skin_skin.ini
push 0x28
lea ecx, [ebp - 0x54]
push ecx
push 0x49b688
push 0x49b68c
push 0x49b694
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x40d6b3
cmp dword [ebp - 0x58], 7
jne 0x40d693
push str.d:cacheSUNPLUS_skin_skin.ini
push 0x28
lea edx, [ebp - 0x54]
push edx
push 0x49b6bc
push 0x49b6c0
push 0x49b6c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x40d6b3
push str.d:cacheK5_skin_skin.ini
push 0x28
lea eax, [ebp - 0x54]
push eax
push 0x49b6ec
push 0x49b6f0
push str.PUBLIC
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x54]
push ecx
call fcn.00474cdc
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
ja 0x40d6cf
mov dword [ebp - 0x14], 1
jmp 0x40d6d8
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x1c
push eax
mov ecx, 0x4d3be8
call fcn.00423950
push 0x14
push 0
lea ecx, [ebp - 0x54]
push ecx
call fcn.00474130
add esp, 0xc
push 0x49b700
push 0x12
lea edx, [ebp - 0x54]
push edx
push 0x49b71c
push 0x49b724
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x54]
push ecx
call fcn.00474cdc
add esp, 4
push eax
mov edx, dword [ebp + 0xc]
add edx, 0x24
push edx
mov ecx, 0x4d3be8
call fcn.00423950
push 0x14
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.00474130
add esp, 0xc
push 0x49b72c
push 0x12
lea ecx, [ebp - 0x54]
push ecx
push 0x49b748
push 0x49b750
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x54]
push eax
call fcn.00474cdc
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x28
push ecx
mov ecx, 0x4d3be8
call fcn.00423950
push 0x14
push 0
lea edx, [ebp - 0x54]
push edx
call fcn.00474130
add esp, 0xc
push 0x49b75c
push 0x12
lea eax, [ebp - 0x54]
push eax
push 0x49b778
push 0x49b780
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x54]
push edx
call fcn.00474cdc
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x2c
push eax
mov ecx, 0x4d3be8
call fcn.00423950
push 0x49b78c
push 0x12
lea ecx, [ebp - 0x54]
push ecx
push 0x49b7a8
push 0x49b7ac
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x54]
push eax
call fcn.00474cdc
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x30
push ecx
mov ecx, 0x4d3be8
call fcn.00423950
push 0x49b7b8
push 0x12
lea edx, [ebp - 0x54]
push edx
push 0x49b7cc
push str.BUFCOUNT
push 0x49b7dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x54]
push eax
call fcn.00474cdc
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x42
push ecx
mov ecx, 0x4d3be8
call fcn.00423950
push 0xe
push str.Skymedia_Klive
mov edx, dword [ebp + 0xc]
add edx, 0x34
push edx
call fcn.00476380
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 0xd2]
mov byte [ebp - 0x75], cl
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + 0xd2]
test eax, eax
jne 0x40d89e
mov ecx, dword [ebp + 0xc]
add ecx, 0x46
push ecx
push 1
push 1
push 1
push 1
push 1
push 0xc
mov ecx, 0x4d2a70
call fcn.0041fe30
jmp 0x40d8bb
mov edx, dword [ebp + 0xc]
add edx, 0x46
push edx
push 1
push 1
push 1
push 1
push 1
push 0x10
mov ecx, 0x4d2a70
call fcn.0041fe30
push 0x32
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.00474130
add esp, 0xc
push 0x49b7f4
push 0x32
lea ecx, [ebp - 0x54]
push ecx
push 0x49b810
push 0x49b838
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x32
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0xc8
push ecx
call fcn.00476380
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
add eax, 0xfc
push eax
mov ecx, 0x4d3be8
call fcn.00423950
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xc6], 0x26
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 0x75]
mov byte [edx + 0xc7], al
jmp 0x40d93e
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret 0xc