Function at 0x4128b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3637
mov eax, dword fs:[0]
push eax
mov eax, 0x20a0
call fcn.0047e7f0
mov eax, dword [0x4e4520]
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.0047e820
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 0x412934
sub ebx, ecx
sar ebx, 1
je 0x412cbd
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 0x412976
xor ecx, ecx
jmp 0x41298f
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x412980
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412980
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2088]
call fcn.00402f30
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 0x4bb40c
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.00402f30
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.00413d50
add esp, 0x10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2044], 8
jb 0x412a47
push dword [ebp - 0x2058]
call fcn.0047c598
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.00413c60
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.00412450
add esp, 0x10
cmp dword [ebp - 0x208c], 0
jne 0x412b2c
lea eax, [ebp - 0x2040]
push eax
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x2070]
push eax
call fcn.004124c0
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00412410
push eax
add eax, 0x10
mov ecx, edi
push eax
push 0
lea eax, [ebp - 0x20ac]
push eax
call fcn.0040ff60
cmp dword [ebp - 0x2044], 8
jb 0x412aef
push dword [ebp - 0x2058]
call fcn.0047c598
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 0x412c09
push dword [ebp - 0x2070]
call fcn.0047c598
add esp, 4
jmp 0x412c09
mov esi, dword [edi]
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x412b7b
jmp 0x412b40
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.0040f440
test eax, eax
jns 0x412b71
mov edi, dword [edi + 8]
jmp 0x412b75
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x412b40
mov edi, dword [ebp - 0x209c]
cmp esi, dword [edi]
je 0x412bac
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x412b93
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0x2018]
lea ecx, [ebp - 0x2028]
push 0
call fcn.0040f440
test eax, eax
jns 0x412bec
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 0x4e8517
call fcn.0040f960
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x2098]
push eax
call fcn.0040fd70
mov esi, dword [ebp - 0x2098]
lea ecx, [esi + 0x28]
lea eax, [ebp - 0x2040]
cmp ecx, eax
je 0x412c03
push 0xffffffffffffffff
push 0
push eax
call fcn.00402bb0
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 0x412c20
sub ebx, ecx
sar ebx, 1
cmp dword [ebp - 0x202c], 8
jb 0x412c46
push dword [ebp - 0x2040]
call fcn.0047c598
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 0x412c7a
push dword [ebp - 0x2028]
call fcn.0047c598
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 0x412cb5
push dword [ebp - 0x2088]
call fcn.0047c598
add esp, 4
test ebx, ebx
jne 0x412950
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.0047cd24
mov esp, ebp
pop ebp
ret