Function at 0x40bba0
Capabilities:
Print debug messages
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4505be
mov eax, dword fs:[0]
push eax
mov eax, 0x1058
call fcn.0043bd30
mov eax, dword [0x466a78]
xor eax, esp
mov dword [esp + 0x1054], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466a78]
xor eax, esp
push eax
lea eax, [esp + 0x106c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1098]
mov ebp, ecx
mov dword [esp + 0x14], eax
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1074], ebx
call fcn.00426aa3
mov esi, 0x10
cmp dword [ebp + 0x1c], esi
mov byte [esp + 0x1074], 1
jb 0x40bc15
mov eax, dword [ebp + 8]
jmp 0x40bc18
lea eax, [ebp + 8]
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.00426b2f
test eax, eax
lea ecx, [esp + 0x18]
jne 0x40bc57
mov byte [esp + 0x1074], bl
call fcn.00426ac7
cmp dword [esp + 0x1094], esi
jb 0x40bc50
mov ecx, dword [esp + 0x1080]
push ecx
call fcn.0041c7f7
add esp, 4
xor eax, eax
jmp 0x40be35
call fcn.0042691d
lea ecx, [esp + 0x18]
call fcn.00426957
mov esi, eax
push esi
call fcn.0041c7f2
mov edi, eax
mov eax, 0xf
add esp, 4
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov ecx, 0x10
cmp dword [ebp + 0x1c], ecx
mov byte [esp + 0x1074], 2
jb 0x40bca6
mov eax, dword [ebp + 8]
jmp 0x40bca9
lea eax, [ebp + 8]
cmp dword [esp + 0x1094], ecx
mov ecx, dword [esp + 0x1080]
jae 0x40bcc0
lea ecx, [esp + 0x1080]
push eax
push esi
push edi
push 0x45373e
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [edi], bl
mov esi, edi
je 0x40bd8a
mov ecx, 0x10
cmp dword [ebp + 0x1c], ecx
jb 0x40bcf0
mov eax, dword [ebp + 8]
jmp 0x40bcf3
lea eax, [ebp + 8]
cmp dword [esp + 0x1094], ecx
mov ecx, dword [esp + 0x1080]
jae 0x40bd0a
lea ecx, [esp + 0x1080]
push eax
push 0x1000
lea edx, [esp + 0x70]
push edx
push 0x45373e
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40bd27
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x38]
call fcn.00402700
lea eax, [esp + 0x68]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40bd44
sub eax, edx
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x54]
call fcn.00402700
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.0040baf0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40bd71
sub eax, edx
cmp byte [esi + eax + 1], bl
lea esi, [esi + eax + 1]
jne 0x40bce1
push edi
call fcn.0041c7f7
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
add esp, 4
cmp eax, ebx
jne 0x40bda2
xor eax, eax
jmp 0x40bdba
mov ecx, dword [ecx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
xor edx, edx
cmp edx, eax
sbb esi, esi
mov edi, 0x10
neg esi
cmp dword [esp + 0x64], edi
jb 0x40bdda
mov eax, dword [esp + 0x50]
push eax
call fcn.0041c7f7
add esp, 4
cmp dword [esp + 0x48], edi
mov ebp, 0xf
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x40bdfe
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0041c7f7
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x1074], bl
call fcn.00426ac7
cmp dword [esp + 0x1094], edi
jb 0x40be33
mov edx, dword [esp + 0x1080]
push edx
call fcn.0041c7f7
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x106c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1054]
xor ecx, esp
call fcn.0043b96b
add esp, 0x1064
ret 0x20