Function at 0x41b780
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f479
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c6184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push esi
mov dword [ebp - 0x10], edi
call fcn.0041bb70
mov dword [ebp - 4], edi
mov ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebx + 0x14], edi
je 0x41b8a5
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
mov edi, dword [ebx + 0x10]
sub eax, 0x100
or eax, ecx
jge 0x41b7ea
mov eax, 0x100
mov ecx, esi
call fcn.00416f90
mov eax, dword [esi]
mov ecx, dword [ebp + 0xc]
push edi
push 0x100
push eax
mov eax, dword [ebp + 0x10]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x41b820
push ecx
push eax
call fcn.004883c5
add esp, 8
test eax, eax
js 0x41b903
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x41b903
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp edi, 0xff
jne 0x41b8a5
mov eax, dword [esi]
mov edi, dword [ebx + 0x10]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x1000
or eax, ecx
jge 0x41b863
mov eax, 0x1000
mov ecx, esi
call fcn.00416f90
mov eax, dword [esi]
mov edx, dword [ebp + 0x10]
push edi
push 0x1000
push eax
mov eax, dword [ebp + 0xc]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x41b893
push ecx
push eax
call fcn.004883c5
add esp, 8
test eax, eax
js 0x41b903
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x41b903
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x41b9a3
cmp dword [ebx + 4], 0
je 0x41b9a3
mov edi, dword [ebx]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x100
or eax, ecx
jge 0x41b8dd
mov eax, 0x100
mov ecx, esi
call fcn.00416f90
mov eax, dword [esi]
mov ecx, dword [ebp + 0xc]
push edi
push 0x100
push eax
mov eax, dword [ebp + 0x10]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
jne 0x41b90d
jmp 0x41b91b
push 0x80070057
call fcn.004170a0
push ecx
push eax
call fcn.004883c5
add esp, 8
test eax, eax
js 0x41b903
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x41b903
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp edi, 0xff
jne 0x41b9a3
mov eax, dword [esi]
mov edi, dword [ebx]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x1000
or eax, ecx
jge 0x41b959
mov eax, 0x1000
mov ecx, esi
call fcn.00416f90
mov eax, dword [esi]
mov edx, dword [ebp + 0x10]
push edi
push 0x1000
push eax
mov eax, dword [ebp + 0xc]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x41b98d
push ecx
push eax
call fcn.004883c5
add esp, 8
test eax, eax
js 0x41b903
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x41b903
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
push 0x4a9de4
push 0x4a9de8
push esi
call fcn.00419750
push 0x4a9df0
push 0x4a9df4
push esi
call fcn.00419750
push 0x4a9dfc
push 0x4a9e00
push esi
call fcn.00419750
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc