Function at 0x4188d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4c89b9
mov eax, dword fs:[0]
push eax
mov eax, 0x10020
call fcn.004ae490
mov eax, dword [0x4fcb54]
xor eax, esp
mov dword [esp + 0x1001c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x10034]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [esp + 0x2c], ebx
xor ebp, ebp
mov dword [esp + 0x1003c], ebp
mov dword [esp + 0x24], 1
call fcn.00484590
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x418942
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x1003c], 1
call fcn.00484590
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x418974
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x1003c], 2
call fcn.00484590
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4189a6
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
cmp ebx, ebp
mov byte [esp + 0x1003c], 3
jne 0x418a6b
add eax, 0xfffffff0
mov byte [esp + 0x1003c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4189ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1003c], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418a12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x1003c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418a36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1003c], 0xffffffff
mov eax, dword [esp + 0x10044]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418a64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x418b8a
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x10044]
push eax
push 0xfffe
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov edi, eax
cmp edi, 0xfffc
jne 0x418bb4
mov dword [esp + 0x24], ebp
cmp dword [esi - 0xc], 0
je 0x418ae4
lea ecx, [esp + 0x14]
call fcn.004024c0
lea ecx, [esp + 0x1c]
call fcn.004024c0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x34], esp
mov edi, esp
push eax
call fcn.00402860
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00418ca0
lea edx, [esp + 0x14]
push edx
mov ecx, ebx
call fcn.00484a9a
mov byte [esp + 0x1003c], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418b0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1003c], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418b34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [esp + 0x1003c], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418b58
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x1003c], 0xffffffff
mov eax, dword [esp + 0x10044]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418b86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10034]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1001c]
xor ecx, esp
call fcn.004a3135
add esp, 0x1002c
ret 4
lea ecx, [esp + 0x18]
call fcn.004024c0
mov esi, dword [esp + 0x18]
lea eax, [edi - 1]
cmp eax, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], eax
jle 0x418a99
mov bl, byte [esp + ebp + 0x30]
test bl, bl
jne 0x418c32
lea ecx, [esp + 0x14]
call fcn.004024c0
lea ecx, [esp + 0x1c]
call fcn.004024c0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x2c], esp
mov edi, esp
push eax
call fcn.00402860
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00418ca0
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
call fcn.00484a9a
lea ecx, [esp + 0x18]
call fcn.004024c0
mov esi, dword [esp + 0x18]
jmp 0x418c6e
mov ebp, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebp + 1]
sub eax, edi
or eax, ecx
jge 0x418c57
push edi
lea ecx, [esp + 0x1c]
call fcn.00402260
mov esi, dword [esp + 0x18]
test edi, edi
mov byte [esi + ebp], bl
jl 0x418c88
cmp edi, dword [esi - 8]
jg 0x418c88
mov ebp, dword [esp + 0x20]
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
add ebp, 1
cmp ebp, dword [esp + 0x28]
mov dword [esp + 0x20], ebp
jl 0x418bd4
mov ebx, dword [esp + 0x2c]
jmp 0x418a99
push 0x80070057
call fcn.004021e0
int3