Function at 0x5e28d8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x30], 0x6e446c
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x34], eax
mov word [ebp - 0x28], 0
mov dword [ebp - 0x1c], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x38]
mov dword fs:[0], eax
mov edi, 1
mov eax, dword [ebp + 0x10]
push eax
push 0x6dc4bc
push 0x6dc4b7
lea edx, [ebp - 0xa4]
push edx
call fcn.006a0ad0
add esp, 0x10
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x3c], ecx
mov esi, dword [ebx + 4]
push esi
mov eax, dword [ebx + 8]
push eax
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004057f0
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x3c]
sub eax, esi
test eax, eax
jns 0x5e2968
add eax, 0xf
sar eax, 4
shl eax, 4
sub dword [ebx + 8], eax
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x40]
push ecx
push ebx
call fcn.0040445c
add esp, 0xc
push edi
push 0x6dc4c8
push 0x6dc4c3
lea eax, [ebp - 0x1ec]
push eax
call fcn.006a0ad0
mov edx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x1d0]
mov ecx, dword [edx + 0x30]
push ecx
push 0x12c
push eax
lea edx, [ebp - 0x1ec]
push 0x6dc4ce
push edx
lea ecx, [ebp - 0xa4]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov al, byte [ebp - 0x1d0]
test al, al
je 0x5e2ba5
push 0x7c
lea edx, [ebp - 0x1d0]
push edx
call fcn.0069cf19
add esp, 8
test eax, eax
je 0x5e29ed
mov byte [eax], 0
mov word [ebp - 0x28], 8
lea ecx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x1d0]
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.0069a6ec
add esp, 0xc
inc dword [ebp - 0x1c]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x18]
cmp ecx, eax
je 0x5e2aff
mov edx, dword [ebx + 8]
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x5e2af9
mov word [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x54]
mov dword [edx + 8], eax
mov edx, dword [ebp - 8]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
jle 0x5e2a92
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x58]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x1f4], ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x60], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x60]
cmp ecx, eax
je 0x5e2af3
mov edx, dword [ebp - 0x60]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x5e2af3
mov ecx, dword [ebp - 8]
mov esi, dword [ecx - 4]
push esi
push esi
mov eax, dword [ebp - 0x14]
push eax
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
add edx, 0xc
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x64]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x70], esi
mov edx, dword [ebp - 8]
mov dword [ebp - 0x74], edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x70]
push edx
mov ecx, dword [ebp - 0x74]
push ecx
mov eax, dword [ebp - 0x78]
push eax
call fcn.0069cc60
add esp, 0xc
mov word [ebp - 0x28], 8
add dword [ebx + 8], 0x10
jmp 0x5e2b10
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebx + 8]
push ecx
push ebx
call fcn.004069b4
add esp, 0xc
dec dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
test eax, eax
je 0x5e2b9f
mov edx, dword [ebp - 8]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x5e2b5a
mov esi, dword [ebp - 8]
add esi, 0xfffffff4
cmp esi, 0x6ff36c
je 0x5e2b51
cmp esi, 0x6ff36c
je 0x5e2b4a
push esi
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [esi]
inc eax
jmp 0x5e2b56
mov eax, 1
jmp 0x5e2b56
mov eax, 1
test eax, eax
jne 0x5e2b9f
mov edx, dword [ebp - 8]
add edx, 0xfffffff4
mov dword [ebp - 0x7c], edx
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff4
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp - 0x80]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x84], edx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x214], ecx
inc edi
jmp 0x5e2982
mov eax, dword [ebp - 0x38]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret