Function at 0x4a2bf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ee67
mov eax, dword fs:[0]
push eax
mov eax, 0x20a0
call fcn.005eb280
mov eax, dword [0x6bae70]
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.005eb2b0
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 0x4a2c74
sub ebx, ecx
sar ebx, 1
je 0x4a2ffd
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 0x4a2cb6
xor ecx, ecx
jmp 0x4a2ccf
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x4a2cc0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a2cc0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2088]
call fcn.00422460
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 0x63a724
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.00422460
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.004a4150
add esp, 0x10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2044], 8
jb 0x4a2d87
push dword [ebp - 0x2058]
call fcn.005e8fa6
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.004a3fa0
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.004a2790
add esp, 0x10
cmp dword [ebp - 0x208c], 0
jne 0x4a2e6c
lea eax, [ebp - 0x2040]
push eax
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x2070]
push eax
call fcn.004a2800
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.004a2750
push eax
add eax, 0x10
mov ecx, edi
push eax
push 0
lea eax, [ebp - 0x20ac]
push eax
call fcn.004a0110
cmp dword [ebp - 0x2044], 8
jb 0x4a2e2f
push dword [ebp - 0x2058]
call fcn.005e8fa6
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 0x4a2f49
push dword [ebp - 0x2070]
call fcn.005e8fa6
add esp, 4
jmp 0x4a2f49
mov esi, dword [edi]
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x4a2ebb
jmp 0x4a2e80
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.00421e50
test eax, eax
jns 0x4a2eb1
mov edi, dword [edi + 8]
jmp 0x4a2eb5
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x4a2e80
mov edi, dword [ebp - 0x209c]
cmp esi, dword [edi]
je 0x4a2eec
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x4a2ed3
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0x2018]
lea ecx, [ebp - 0x2028]
push 0
call fcn.00421e50
test eax, eax
jns 0x4a2f2c
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 0x6c3737
call fcn.0049fb10
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x2098]
push eax
call fcn.0049ff20
mov esi, dword [ebp - 0x2098]
lea ecx, [esi + 0x28]
lea eax, [ebp - 0x2040]
cmp ecx, eax
je 0x4a2f43
push 0xffffffffffffffff
push 0
push eax
call fcn.004220f0
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 0x4a2f60
sub ebx, ecx
sar ebx, 1
cmp dword [ebp - 0x202c], 8
jb 0x4a2f86
push dword [ebp - 0x2040]
call fcn.005e8fa6
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 0x4a2fba
push dword [ebp - 0x2028]
call fcn.005e8fa6
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 0x4a2ff5
push dword [ebp - 0x2088]
call fcn.005e8fa6
add esp, 4
test ebx, ebx
jne 0x4a2c90
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.005e9734
mov esp, ebp
pop ebp
ret