Function at 0x41b1b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a10b9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c9144]
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.0041b8b0
mov dword [ebp - 4], edi
mov ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebx + 0x14], edi
je 0x41b2d5
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 0x41b21a
mov eax, 0x100
mov ecx, esi
call fcn.00417470
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 0x41b250
push ecx
push eax
call fcn.00489835
add esp, 8
test eax, eax
js 0x41b333
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x41b333
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp edi, 0xff
jne 0x41b2d5
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 0x41b293
mov eax, 0x1000
mov ecx, esi
call fcn.00417470
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 0x41b2c3
push ecx
push eax
call fcn.00489835
add esp, 8
test eax, eax
js 0x41b333
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x41b333
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 0x41b3d3
cmp dword [ebx + 4], 0
je 0x41b3d3
mov edi, dword [ebx]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x100
or eax, ecx
jge 0x41b30d
mov eax, 0x100
mov ecx, esi
call fcn.00417470
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 0x41b33d
jmp 0x41b34b
push 0x80070057
call fcn.00417580
push ecx
push eax
call fcn.00489835
add esp, 8
test eax, eax
js 0x41b333
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x41b333
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp edi, 0xff
jne 0x41b3d3
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 0x41b389
mov eax, 0x1000
mov ecx, esi
call fcn.00417470
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 0x41b3bd
push ecx
push eax
call fcn.00489835
add esp, 8
test eax, eax
js 0x41b333
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x41b333
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
push 0x4abaec
push 0x4abaf0
push esi
call fcn.0041b5a0
push 0x4abaf8
push 0x4abafc
push esi
call fcn.0041b5a0
push 0x4abb04
push 0x4abb08
push esi
call fcn.0041b5a0
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