Function at 0x4baea0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5be715
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x634b28]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
cmp dword [esi + 0x28], edi
je 0x4bb013
cmp dword [esi + 0x3c], edi
cmovne edi, dword [ebp + 0x14]
call dword [eax + 0x88]
test eax, eax
jne 0x4baf08
push edi
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.004ba090
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.0054671f
mov ecx, eax
test ecx, ecx
je 0x4bb10f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x14], eax
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, 0x100
or ecx, edx
mov dword [ebp - 4], 0
jge 0x4baf4e
push 0x100
lea ecx, [ebp + 0x14]
call fcn.004054e8
mov eax, dword [ebp + 0x14]
push dword [esi + 0x48]
mov ebx, dword [ebp + 8]
push 0x100
push eax
push 0
push ebx
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x4baf7a
push edi
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.004ba090
jmp 0x4bafd9
cmp eax, 0xff
jne 0x4bafbe
mov eax, dword [ebp + 0x14]
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x3e80
or ecx, edx
jge 0x4bafa9
push 0x3e80
lea ecx, [ebp + 0x14]
call fcn.004054e8
mov eax, dword [ebp + 0x14]
push dword [esi + 0x48]
push 0x3e80
push eax
push 0
push ebx
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
lea ecx, [ebp + 0x14]
call fcn.0040f0eb
push edi
push dword [ebp + 0x10]
lea eax, [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0xc]
push eax
call fcn.004bb7b0
mov edx, dword [ebp + 0x14]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4baffd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x40], edi
cmovne edi, dword [ebp + 0x14]
call dword [eax + 0x88]
test eax, eax
je 0x4bb0f9
mov ebx, dword [ebp + 0x10]
mov ecx, esi
push edi
push ebx
push dword [ebp + 0xc]
call fcn.004bcee0
test eax, eax
je 0x4bb06b
cmp dword [esi + 0x34], 0
jne 0x4bb052
push dword [esi + 0x48]
push 0
push dword [ebp + 8]
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.0054671f
mov ecx, eax
test ecx, ecx
je 0x4bb119
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push edi
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.004bb7b0
test eax, eax
je 0x4bb0d7
push dword [esi + 0x48]
push dword [ebp - 0x10]
push dword [ebp + 8]
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x4bb0d7
lea ecx, [ebp - 0x10]
call fcn.00404c27
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bb0f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00404d7e
push 0x80004005
call fcn.00404d7e
int3