Function at 0x10027010
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055748
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x1006d080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 4], 0
jne 0x1002732e
mov eax, dword [0x100937c0]
test eax, eax
je 0x1002732e
cmp dword [eax], 0
je 0x1002732e
mov eax, dword [0x10095854]
mov byte [esi + 4], 1
cmp byte [eax], 0
jne 0x10027140
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x78]
push dword [ebp - 0x2c]
mov edx, 0x10095d30
call fcn.1000b5f0
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.1002b400
add esp, 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
call fcn.1000a5a0
mov byte [ebp - 4], 0
mov edi, eax
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x100270ee
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100270e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027349
push ecx
push edx
call fcn.10032500
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x60]
push ecx
push eax
mov ecx, edi
mov dword [ebp - 0x14], 7
call fcn.1000b1d0
lea eax, [ebp - 0x60]
push eax
lea ecx, [esi + 0x2c]
call fcn.100159a0
lea ecx, [ebp - 0x60]
call fcn.1000ada0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.1000a820
mov eax, str.main.scm
mov ecx, 8
jmp 0x100271d0
call dword [0x1008f808]
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x30], eax
call fcn.10015ea0
mov dword [ebp - 4], 2
mov eax, dword [0x10095854]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x90]
push str.MPACKMPACK_d
push eax
call fcn.10017050
add esp, 0x10
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.1002a340
push ecx
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.1000b1d0
lea eax, [ebp - 0x78]
push eax
lea ecx, [esi + 0x2c]
call fcn.100159a0
lea ecx, [ebp - 0x78]
call fcn.1000ada0
lea ecx, [ebp - 0x90]
call fcn.1000ada0
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.1000a820
mov eax, str.scr.scm
mov ecx, 7
push ecx
push eax
lea ecx, [esi + 0x44]
call fcn.10015a20
cmp dword [0x10095d8c], 0xf
mov eax, 0x10095d78
cmova eax, dword [0x10095d78]
push eax
push 0
push str.DebugMode
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
lea ecx, [esi + 0x5c]
setne al
mov byte [esi + 0x28], al
cmp ecx, 0x10095d60
je 0x10027232
cmp dword [0x10095d74], 0xf
mov eax, 0x10095d60
push dword [0x10095d70]
cmova eax, dword [0x10095d60]
push eax
call fcn.10015a20
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x48]
push dword [ebp - 0x30]
mov edx, 0x10095c70
call fcn.1000b5f0
add esp, 4
push str.cleo_modules
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 4
call fcn.1001f5c0
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.1000b1d0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x34]
cmp ecx, 7
jbe 0x100272a7
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002729d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002734e
push ecx
push edx
call fcn.10032500
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x14], 0xf
mov ecx, 0x10095c28
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x34], 7
call fcn.10020360
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10027308
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100272fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027353
push ecx
push edx
call fcn.10032500
add esp, 8
push dword [0x10095c44]
mov ecx, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100276c0
mov ecx, esi
call fcn.100273b0
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.100321a8
mov esp, ebp
pop ebp
ret
call fcn.10039117
call fcn.10039117
call fcn.10039117
int3