Function at 0x42db80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3c37
mov eax, dword fs:[0]
push eax
mov eax, 0x20a0
call fcn.005ba320
mov eax, dword [0x689300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x209c], eax
xor eax, eax
push 0x1ffe
push eax
mov word [ebp - 0x2010], ax
lea eax, [ebp - 0x200e]
push eax
call fcn.005ba350
add esp, 0xc
lea eax, [ebp - 0x2010]
push esi
push 0x1000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
lea esi, [ebp - 0x2010]
mov ebx, esi
mov dword [ebp - 0x2094], esi
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x42dc04
sub ebx, ecx
sar ebx, 1
je 0x42df8d
lea esp, [esp]
xor eax, eax
mov dword [ebp - 0x2074], 7
mov dword [ebp - 0x2078], 0
mov word [ebp - 0x2088], ax
cmp word [esi], ax
jne 0x42dc46
xor ecx, ecx
jmp 0x42dc5f
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x42dc50
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42dc50
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2088]
call fcn.00423820
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2014], 7
mov dword [ebp - 0x2018], 0
mov word [ebp - 0x2028], ax
mov dword [ebp - 0x202c], 7
mov dword [ebp - 0x2030], eax
mov word [ebp - 0x2040], ax
push 1
push 0x608714
lea ecx, [ebp - 0x2058]
mov byte [ebp - 4], 2
mov dword [ebp - 0x2044], 7
mov dword [ebp - 0x2048], eax
mov word [ebp - 0x2058], ax
call fcn.00423820
lea eax, [ebp - 0x2040]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x2058]
push eax
lea eax, [ebp - 0x2088]
push eax
call fcn.0042f1c0
add esp, 0x10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2044], 8
jb 0x42dd17
push dword [ebp - 0x2058]
call fcn.00470aa0
add esp, 4
mov edi, dword [ebp - 0x209c]
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x20a4]
mov ecx, edi
push eax
call fcn.0042ef30
push dword [ebp - 0x2098]
lea eax, [ebp - 0x208c]
mov dword [ebp - 0x208c], 0
push eax
push dword [ebp - 0x20a0]
push dword [ebp - 0x20a4]
call fcn.0042d720
add esp, 0x10
cmp dword [ebp - 0x208c], 0
jne 0x42ddfc
lea eax, [ebp - 0x2040]
push eax
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x2070]
push eax
call fcn.0042d790
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0042d6e0
push eax
add eax, 0x10
mov ecx, edi
push eax
push 0
lea eax, [ebp - 0x20ac]
push eax
call fcn.0042b0a0
cmp dword [ebp - 0x2044], 8
jb 0x42ddbf
push dword [ebp - 0x2058]
call fcn.00470aa0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2044], 7
cmp dword [ebp - 0x205c], 8
mov dword [ebp - 0x2048], 0
mov word [ebp - 0x2058], ax
jb 0x42ded9
push dword [ebp - 0x2070]
call fcn.00470aa0
add esp, 4
jmp 0x42ded9
mov esi, dword [edi]
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x42de4b
jmp 0x42de10
cmp dword [ebp - 0x2014], 8
lea eax, [ebp - 0x2028]
push dword [ebp - 0x2018]
cmovae eax, dword [ebp - 0x2028]
lea ecx, [edi + 0x10]
push eax
push dword [ecx + 0x10]
push 0
call fcn.0042d170
test eax, eax
jns 0x42de41
mov edi, dword [edi + 8]
jmp 0x42de45
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x42de10
mov edi, dword [ebp - 0x209c]
cmp esi, dword [edi]
je 0x42de7c
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x42de63
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0x2018]
lea ecx, [ebp - 0x2028]
push 0
call fcn.0042d170
test eax, eax
jns 0x42debc
lea eax, [ebp - 0x2028]
mov ecx, edi
mov dword [ebp - 0x208c], eax
lea eax, [ebp - 0x208d]
push eax
lea eax, [ebp - 0x208c]
push eax
push 0x691777
call fcn.0042aaa0
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x2098]
push eax
call fcn.0042aeb0
mov esi, dword [ebp - 0x2098]
lea ecx, [esi + 0x28]
lea eax, [ebp - 0x2040]
cmp ecx, eax
je 0x42ded3
push 0xffffffffffffffff
push 0
push eax
call fcn.00423cd0
mov esi, dword [ebp - 0x2094]
lea esi, [esi + ebx*2]
add esi, 2
mov ebx, esi
mov dword [ebp - 0x2094], esi
lea ecx, [ebx + 2]
lea ebx, [ebx]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x42def0
sub ebx, ecx
sar ebx, 1
cmp dword [ebp - 0x202c], 8
jb 0x42df16
push dword [ebp - 0x2040]
call fcn.00470aa0
add esp, 4
xor eax, eax
mov dword [ebp - 0x202c], 7
cmp dword [ebp - 0x2014], 8
mov dword [ebp - 0x2030], 0
mov word [ebp - 0x2040], ax
jb 0x42df4a
push dword [ebp - 0x2028]
call fcn.00470aa0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2014], 7
cmp dword [ebp - 0x2074], 8
mov dword [ebp - 0x2018], 0
mov word [ebp - 0x2028], ax
mov dword [ebp - 4], 0xffffffff
jb 0x42df85
push dword [ebp - 0x2088]
call fcn.00470aa0
add esp, 4
test ebx, ebx
jne 0x42dc20
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b8774
mov esp, ebp
pop ebp
ret