Function at 0x10027910
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053f48
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x1006c064]
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 0x10027c2e
mov eax, dword [0x100926c8]
test eax, eax
je 0x10027c2e
cmp dword [eax], 0
je 0x10027c2e
mov eax, dword [0x10094760]
mov byte [esi + 4], 1
cmp byte [eax], 0
jne 0x10027a40
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x78]
push dword [ebp - 0x2c]
mov edx, 0x10094c64
call fcn.1000b6b0
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.1002bd20
add esp, 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
call fcn.1000a5f0
mov byte [ebp - 4], 0
mov edi, eax
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x100279ee
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100279e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027c49
push ecx
push edx
call fcn.10032f2d
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.1000b1f0
lea eax, [ebp - 0x60]
push eax
lea ecx, [esi + 0x2c]
call fcn.10015ac0
lea ecx, [ebp - 0x60]
call fcn.1000acd0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.1000a870
mov eax, str.main.scm
mov ecx, 8
jmp 0x10027ad0
call dword [0x1008e708]
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x30], eax
call fcn.10015fc0
mov dword [ebp - 4], 2
mov eax, dword [0x10094760]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x90]
push str.MPACKMPACK_d
push eax
call fcn.10017160
add esp, 0x10
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.1002ac50
push ecx
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.1000b1f0
lea eax, [ebp - 0x78]
push eax
lea ecx, [esi + 0x2c]
call fcn.10015ac0
lea ecx, [ebp - 0x78]
call fcn.1000acd0
lea ecx, [ebp - 0x90]
call fcn.1000acd0
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.1000a870
mov eax, str.scr.scm
mov ecx, 7
push ecx
push eax
lea ecx, [esi + 0x44]
call fcn.10015b40
cmp dword [0x10094cc0], 0x10
mov eax, 0x10094cac
cmovae eax, dword [0x10094cac]
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, 0x10094c94
je 0x10027b32
cmp dword [0x10094ca8], 0x10
mov eax, 0x10094c94
push dword [0x10094ca4]
cmovae eax, dword [0x10094c94]
push eax
call fcn.10015b40
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x48]
push dword [ebp - 0x30]
mov edx, 0x10094ba4
call fcn.1000b6b0
add esp, 4
push str.cleo_modules
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 4
call fcn.1001f850
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.1000b1f0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x10027ba7
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10027b9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027c4e
push ecx
push edx
call fcn.10032f2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x14], 0x10
mov ecx, 0x10094b48
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x34], 7
call fcn.10020790
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10027c08
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10027bfe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027c53
push ecx
push edx
call fcn.10032f2d
add esp, 8
push dword [0x10094b78]
mov ecx, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10027fd0
mov ecx, esi
call fcn.10027cb0
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.10032bd5
mov esp, ebp
pop ebp
ret
call fcn.10038e77
call fcn.10038e77
call fcn.10038e77
int3