Function at 0x10023950
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051f18
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x1006a080]
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 0x10023c6e
mov eax, dword [0x100907c0]
test eax, eax
je 0x10023c6e
cmp dword [eax], 0
je 0x10023c6e
mov eax, dword [0x10092854]
mov byte [esi + 4], 1
cmp byte [eax], 0
jne 0x10023a80
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x78]
push dword [ebp - 0x2c]
mov edx, 0x10092d30
call fcn.10007fe0
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.10027d30
add esp, 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
call fcn.10006f90
mov byte [ebp - 4], 0
mov edi, eax
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x10023a2e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10023a24
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023c89
push ecx
push edx
call fcn.1002ece0
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.10007bc0
lea eax, [ebp - 0x60]
push eax
lea ecx, [esi + 0x2c]
call fcn.10012310
lea ecx, [ebp - 0x60]
call fcn.10007790
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.10007210
mov eax, str.main.scm
mov ecx, 8
jmp 0x10023b10
call dword [0x1008c808]
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x30], eax
call fcn.10012810
mov dword [ebp - 4], 2
mov eax, dword [0x10092854]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x90]
push str.MPACKMPACK_d
push eax
call fcn.100139c0
add esp, 0x10
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.10026c70
push ecx
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.10007bc0
lea eax, [ebp - 0x78]
push eax
lea ecx, [esi + 0x2c]
call fcn.10012310
lea ecx, [ebp - 0x78]
call fcn.10007790
lea ecx, [ebp - 0x90]
call fcn.10007790
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.10007210
mov eax, str.scr.scm
mov ecx, 7
push ecx
push eax
lea ecx, [esi + 0x44]
call fcn.10012390
cmp dword [0x10092d8c], 0xf
mov eax, 0x10092d78
cmova eax, dword [0x10092d78]
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, 0x10092d60
je 0x10023b72
cmp dword [0x10092d74], 0xf
mov eax, 0x10092d60
push dword [0x10092d70]
cmova eax, dword [0x10092d60]
push eax
call fcn.10012390
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x48]
push dword [ebp - 0x30]
mov edx, 0x10092c70
call fcn.10007fe0
add esp, 4
push str.cleo_modules
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 4
call fcn.1001bf30
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.10007bc0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x34]
cmp ecx, 7
jbe 0x10023be7
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10023bdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023c8e
push ecx
push edx
call fcn.1002ece0
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x14], 0xf
mov ecx, 0x10092c28
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x34], 7
call fcn.1001ccd0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10023c48
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10023c3e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023c93
push ecx
push edx
call fcn.1002ece0
add esp, 8
push dword [0x10092c44]
mov ecx, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10024000
mov ecx, esi
call fcn.10023cf0
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.1002e988
mov esp, ebp
pop ebp
ret
call fcn.100358e7
call fcn.100358e7
call fcn.100358e7
int3