Function at 0x5ee5c4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff4c0
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x68], 0x6e5488
mov dword [ebp - 0x64], esp
mov dword [ebp - 0x6c], eax
mov word [ebp - 0x60], 0
mov dword [ebp - 0x54], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x70], ecx
lea eax, [ebp - 0x70]
mov dword fs:[0], eax
mov word [ebp - 0x60], 8
xor edx, edx
mov dword [ebp - 0x74], edx
lea edx, [ebp - 0x10]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x78], 0x6ff378
mov eax, dword [ebp - 0x78]
mov dword [ebp - 8], eax
mov dword [ebp - 0x7c], edx
mov ecx, dword [ebp - 0x7c]
mov edx, 0x6ff36c
cmp edx, 0x6ff36c
mov eax, dword [ecx + 8]
mov dword [ebp - 0x13c], eax
je 0x5ee64a
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x54]
xor ecx, ecx
mov word [ebp - 0x60], 0x20
mov word [ebp - 0x60], 0x2c
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [ebp - 0x28], eax
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x80], 0x40
mov dword [ebp - 0x84], 1
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x80]
cmp ecx, eax
jbe 0x5ee68e
lea edx, [ebp - 0x84]
jmp 0x5ee691
lea edx, [ebp - 0x80]
mov eax, dword [edx]
mov dword [ebp - 0x30], eax
inc dword [ebp - 0x54]
mov word [ebp - 0x60], 0x20
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 8]
push edx
push 0x6dd50e
push 0x6dd506
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.006a0ad0
add esp, 0x14
mov ebx, 1
push ebx
push 0x6dd519
push 0x6dd514
lea eax, [ebp - 0xac0]
push eax
call fcn.006a0ad0
add esp, 0x10
mov edx, dword [esi + 0x30]
lea ecx, [ebp - 0xaa4]
lea eax, [ebp - 0xac0]
push edx
push 0x800
push ecx
push 0x6dd522
push eax
lea edx, [ebp - 0x2a4]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov al, byte [ebp - 0xaa4]
test al, al
je 0x5ee912
movsx edx, al
mov eax, edx
push eax
call fcn.006a41c0
pop ecx
lea ecx, [ebp - 0xaa4]
push ecx
call fcn.0069ce0c
pop ecx
cmp eax, 2
jbe 0x5ee90c
movsx eax, byte [ebp - 0xaa4]
cmp eax, 0x41
je 0x5ee74f
cmp eax, 0x44
jne 0x5ee90c
movsx edx, byte [ebp - 0xaa3]
cmp edx, 0x7c
jne 0x5ee90c
push 0x6dd523
lea ecx, [ebp - 0x10]
push ecx
call fcn.0069a464
add esp, 8
movsx eax, byte [ebp - 0xaa4]
cmp eax, 0x44
jne 0x5ee78d
push 0x6dd526
lea edx, [ebp - 0x10]
push edx
call fcn.0069a464
add esp, 8
mov ecx, dword [ebp - 8]
mov edi, dword [ecx - 4]
lea eax, [ebp - 0xaa2]
push eax
call fcn.0069ce0c
pop ecx
push eax
push 0
push eax
lea edx, [ebp - 0xaa2]
push edx
push 0
push edi
lea ecx, [ebp - 0x10]
push ecx
call fcn.0069ad68
add esp, 0x1c
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmp eax, edx
je 0x5ee8f8
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x5ee8f2
mov word [ebp - 0x60], 0x50
xor edx, edx
mov dword [ebp - 0x8c], edx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x8c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 8]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
jle 0x5ee867
mov eax, dword [ebp - 8]
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x90]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xac8], ecx
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x98], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x98]
cmp ecx, eax
je 0x5ee8ec
mov edx, dword [ebp - 0x98]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x5ee8ec
mov ecx, dword [ebp - 8]
mov edi, dword [ecx - 4]
push edi
push edi
mov eax, dword [ebp - 0x34]
push eax
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
add edx, 0xc
mov dword [ebp - 0x9c], edx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x9c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0xa4], edx
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ecx + 8]
mov dword [ebp - 0xad8], eax
mov dword [ebp - 0xa8], edi
mov edx, dword [ebp - 8]
mov dword [ebp - 0xac], edx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 8]
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xa8]
push edx
mov ecx, dword [ebp - 0xac]
push ecx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.0069cc60
add esp, 0xc
mov word [ebp - 0x60], 0x44
add dword [ebp - 0x28], 0x10
jmp 0x5ee90c
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x28]
push ecx
lea eax, [ebp - 0x30]
push eax
call fcn.004069b4
add esp, 0xc
inc ebx
jmp 0x5ee6c8
mov word [ebp - 0x60], 0x68
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
push edx
push 0x6dd529
push ecx
call fcn.0042b368
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
inc dword [ebp - 0x54]
lea edx, [ebp - 0x10]
push edx
call fcn.0069a2e0
add esp, 8
dec dword [ebp - 0x54]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x5ee9d8
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
je 0x5ee98a
mov ebx, dword [ebp - 0x3c]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x5ee981
cmp ebx, 0x6ff36c
je 0x5ee97a
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x5ee986
mov eax, 1
jmp 0x5ee986
mov eax, 1
test eax, eax
jne 0x5ee9d8
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff4
mov dword [ebp - 0xb4], edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff4
mov dword [ebp - 0xb8], ecx
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0xbc], edx
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xae8], ecx
mov word [ebp - 0x60], 0x20
mov eax, dword [ebp - 0x2c]
mov edx, eax
mov ecx, dword [ebp - 0x2c]
sub edx, ecx
test edx, edx
jns 0x5ee9ef
add edx, 0xf
sar edx, 4
mov dword [ebp - 0xc4], edx
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmp ebx, edx
je 0x5eeb3b
cmp ebx, eax
jne 0x5eeb3b
mov dword [ebp - 0xc8], ebx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x5eeb35
mov word [ebp - 0x60], 0x8c
xor edx, edx
mov dword [ebp - 0xcc], edx
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0xcc]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 8]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
jle 0x5eeaaa
mov eax, dword [ebp - 8]
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xd0]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xd4]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xaf8], ecx
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 8]
add edx, 0xfffffff4
mov dword [ebp - 0xd8], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0xd8]
cmp ecx, eax
je 0x5eeb2f
mov edx, dword [ebp - 0xd8]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x5eeb2f
mov ecx, dword [ebp - 8]
mov edi, dword [ecx - 4]
push edi
push edi
mov eax, dword [ebp - 0x48]
push eax
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xe0]
add edx, 0xc
mov dword [ebp - 0xdc], edx
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0xdc]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xe4], edx
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ecx + 8]
mov dword [ebp - 0xb08], eax
mov dword [ebp - 0xe8], edi
mov edx, dword [ebp - 8]
mov dword [ebp - 0xec], edx
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + 8]
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xe8]
push edx
mov ecx, dword [ebp - 0xec]
push ecx
mov eax, dword [ebp - 0xf0]
push eax
call fcn.0069cc60
add esp, 0xc
mov word [ebp - 0x60], 0x80
add dword [ebp - 0x28], 0x10
jmp 0x5eeb4c
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x30]
push edx
push eax
push ecx
call fcn.004069b4
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
sub eax, edx
test eax, eax
jns 0x5eeb5b
add eax, 0xf
sar eax, 4
cmp eax, 1
jne 0x5eece2
push 0x6dd52c
lea ecx, [ebp - 0x10]
push ecx
call fcn.0069a464
add esp, 8
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmp eax, edx
je 0x5eecce
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xf4], ecx
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x5eecc8
mov word [ebp - 0x60], 0xb0
xor edx, edx
mov dword [ebp - 0xf8], edx
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xf8]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 8]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
jle 0x5eec25
mov eax, dword [ebp - 8]
mov dword [ebp - 0xfc], eax
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xfc]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xb18], ecx
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x104], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x104]
cmp ecx, eax
je 0x5eecc2
mov edx, dword [ebp - 0x104]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x5eecc2
mov ecx, dword [ebp - 8]
mov eax, dword [ecx - 4]
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x108]
push edx
mov ecx, dword [ebp - 0x108]
push ecx
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
add edx, 0xc
mov dword [ebp - 0x10c], edx
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x10c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x114], edx
mov ecx, dword [ebp - 0x114]
mov eax, dword [ecx + 8]
mov dword [ebp - 0xb28], eax
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x118], edx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 8]
mov dword [ebp - 0x120], edx
mov ecx, dword [ebp - 0x118]
push ecx
mov eax, dword [ebp - 0x11c]
push eax
mov edx, dword [ebp - 0x120]
push edx
call fcn.0069cc60
add esp, 0xc
mov word [ebp - 0x60], 0xa4
add dword [ebp - 0x28], 0x10
jmp 0x5eece2
lea ecx, [ebp - 0x10]
push ecx
mov eax, dword [ebp - 0x28]
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.004069b4
add esp, 0xc
mov word [ebp - 0x60], 0x20
mov ebx, 1
jmp 0x5eed2f
push ebx
push 0x6dd53b
push 0x6dd536
lea eax, [ebp - 0xaa4]
push eax
call fcn.006a0ad0
add esp, 0x10
mov eax, ebx
mov edx, dword [esi + 0x30]
dec eax
push edx
shl eax, 4
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + eax + 8]
lea eax, [ebp - 0xaa4]
push ecx
push eax
lea edx, [ebp - 0x2a4]
push edx
call sub.KERNEL32.DLL_WritePrivateProfileStringA
inc ebx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
sub ecx, eax
test ecx, ecx
jns 0x5eed3e
add ecx, 0xf
sar ecx, 4
cmp ebx, ecx
jbe 0x5eecef
dec dword [ebp - 0x54]
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x30]
push eax
call fcn.0040445c
add esp, 0xc
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x124], edx
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.0067ac7c
pop ecx
mov word [ebp - 0x60], 0x20
dec dword [ebp - 0x54]
mov eax, dword [ebp - 8]
test eax, eax
je 0x5eee10
mov edx, dword [ebp - 8]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x5eedc2
mov ebx, dword [ebp - 8]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x5eedb9
cmp ebx, 0x6ff36c
je 0x5eedb2
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x5eedbe
mov eax, 1
jmp 0x5eedbe
mov eax, 1
test eax, eax
jne 0x5eee10
mov edx, dword [ebp - 8]
add edx, 0xfffffff4
mov dword [ebp - 0x128], edx
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff4
mov dword [ebp - 0x12c], ecx
mov eax, dword [ebp - 0x12c]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x130], edx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 0x134]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xb38], ecx
mov eax, dword [ebp - 0x70]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret