Function at 0x4b6e10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4edaec
mov eax, dword fs:[0]
push eax
sub esp, 0x5b4
mov eax, dword [0x541100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
test eax, eax
je 0x4b705d
push 0x1ea
push eax
lea eax, [ebp - 0x5b0]
push eax
call fcn.004cff3b
xor ecx, ecx
push 0xa
lea eax, [ebp - 0x1a0]
mov word [ebp - 0x1dc], cx
mov ecx, dword [ebp + 0xc]
push eax
xor edx, edx
push ecx
mov word [ebp - 0x1a0], dx
call fcn.004d33b4
add esp, 0x18
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b6e85
lea edi, [ebp - 0x5b0]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4b6ea0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b6ea0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
mov esi, esp
mov dword [ebp - 0x5c0], esp
mov dword [ebp - 0x5bc], esi
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4b6ee5
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, 0x50057c
mov dword [ebp - 4], 0
test ecx, 0xffff0000
jne 0x4b6f21
mov edx, ecx
movzx edi, dx
push edi
call fcn.004c5d7f
test eax, eax
je 0x4b6f3b
push edi
push eax
mov ecx, esi
call fcn.00422eb3
jmp 0x4b6f3b
push 0x50057c
call fcn.004ccd1a
add esp, 4
push eax
push 0x50057c
mov ecx, esi
call fcn.00423404
push ecx
mov dword [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x5bc], esp
mov dword [ebp - 0x5b8], esi
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4b6f6b
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.MsgBox.ini
mov byte [ebp - 4], 2
test ecx, 0xffff0000
jne 0x4b6fa4
mov edx, ecx
movzx edi, dx
push edi
call fcn.004c5d7f
test eax, eax
je 0x4b6fbe
push edi
push eax
mov ecx, esi
call fcn.00422eb3
jmp 0x4b6fbe
push str.MsgBox.ini
call fcn.004ccd1a
add esp, 4
push eax
push str.MsgBox.ini
mov ecx, esi
call fcn.00423404
mov byte [ebp - 4], 3
mov eax, dword [0x5475b0]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x5b8], esp
mov esi, esp
push eax
call fcn.00423475
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x5b4]
mov dword [ebp - 4], 0xffffffff
call fcn.004770a0
mov ecx, dword [ebp - 0x5b4]
add esp, 0xc
push ecx
push 0x63
xor eax, eax
lea edx, [ebp - 0xd8]
push edx
mov word [ebp - 0xd8], ax
push 0x50206c
lea eax, [ebp - 0x5b0]
push eax
push str.DoNotAsk
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x10
lea ecx, [ebp - 0xd8]
push 0
push ecx
call fcn.004d105d
mov esi, eax
mov eax, dword [ebp - 0x5b4]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b705d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cc3b2
mov esp, ebp
pop ebp
ret