Function at 0x42bfb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fef3e
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x52a51c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea esi, [ecx + 4]
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0x10
jb 0x42bff5
mov ecx, dword [esi]
jmp 0x42bff7
mov ecx, esi
push 0
mov edx, 0x50af83
call fcn.0040ee80
add esp, 4
test eax, eax
jne 0x42c01b
cmp dword [esi + 0x10], eax
setne al
test eax, eax
jne 0x42c01b
xor bl, bl
jmp 0x42c286
push 0x103
lea eax, [ebp - 0x11b]
mov byte [ebp - 0x11c], 0
push 0
push eax
call fcn.004ce8d0
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x42c040
mov esi, dword [esi]
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp - 0x11c]
push esi
push 0x104
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
cmp byte [ebp - 0x11c], 0
lea edi, [ebp - 0x11c]
je 0x42c284
mov byte [ebp - 0x168], 0x3d
lea esp, [esp]
cmp byte [edi], 0
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
jne 0x42c0a4
xor ecx, ecx
jmp 0x42c0b9
mov ecx, edi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42c0b0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x134]
call fcn.00404ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14c]
push 2
push 0x512d1c
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
call fcn.00404ce0
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.0042bba0
mov esi, eax
lea eax, [ebp - 0x134]
cmp eax, esi
je 0x42c1a7
cmp dword [ebp - 0x120], 0x10
jb 0x42c13c
push dword [ebp - 0x134]
call fcn.0044bc50
add esp, 4
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
cmp dword [esi + 0x14], 0x10
jae 0x42c176
mov eax, dword [esi + 0x10]
inc eax
je 0x42c184
push eax
lea eax, [ebp - 0x134]
push esi
push eax
call fcn.004c8c20
add esp, 0xc
jmp 0x42c184
mov eax, dword [esi]
mov dword [ebp - 0x134], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x124], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x120], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x150], 0x10
jb 0x42c1be
push dword [ebp - 0x164]
call fcn.0044bc50
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x138], 0x10
mov dword [ebp - 0x150], 0xf
mov dword [ebp - 0x154], 0
mov byte [ebp - 0x164], 0
jb 0x42c1f4
push dword [ebp - 0x14c]
call fcn.0044bc50
add esp, 4
sub esp, 8
lea eax, [ebp - 0x168]
lea ecx, [ebp - 0x134]
push eax
call fcn.00439950
cmp eax, 0xffffffff
je 0x42c238
cmp dword [ebp - 0x124], eax
jb 0x42c2b7
cmp dword [ebp - 0x120], 0x10
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x124], eax
cmovae ecx, dword [ebp - 0x134]
mov byte [ecx + eax], 0
cmp dword [ebp - 0x124], 0
je 0x42c24f
lea eax, [ebp - 0x134]
mov ecx, ebx
push eax
call fcn.00438840
mov byte [ebp - 4], 0
cmp dword [ebp - 0x120], 0x10
jb 0x42c26a
push dword [ebp - 0x134]
call fcn.0044bc50
add esp, 4
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42c270
sub ecx, edx
inc edi
add edi, ecx
cmp byte [edi], al
jne 0x42c080
mov bl, 1
cmp dword [ebp + 0x20], 0x10
jb 0x42c297
push dword [ebp + 0xc]
call fcn.0044bc50
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c8a23
mov esp, ebp
pop ebp
ret 0x1c
push str.invalid_string_position
call fcn.004c793b
int3