Function at 0x41f720
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 4], 0
cmp dword [0x4aa288], 0
je 0x41f767
push 0x4aa290
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x41f767
cmp dword [ebp + 8], 0
je 0x41f767
cmp dword [ebp + 0xc], 0
je 0x41f767
cmp dword [ebp + 0x10], 0
je 0x41f767
cmp dword [ebp + 0x14], 0
jne 0x41f76c
jmp 0x41fb7d
mov ecx, dword [0x4aa288]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jne 0x41f78d
jmp 0x41fb7d
mov eax, dword [0x4aa28c]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax - 1]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x24], eax
mov edx, 1
test edx, edx
je 0x41f872
push 0x5b
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0041fc10
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41f7e3
jmp 0x41fb54
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
lea ecx, [edx + eax + 2]
cmp ecx, dword [ebp - 0xc]
jbe 0x41f7fa
jmp 0x41fb54
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 8]
jbe 0x41f81a
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx - 1]
cmp edx, 0x5c
jne 0x41f81a
jmp 0x41f7b6
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 8]
jbe 0x41f831
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx - 1]
cmp edx, 0x3b
jne 0x41f831
jmp 0x41f7b6
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x5d
je 0x41f845
jmp 0x41f7b6
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x41f863
jmp 0x41f7b6
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov ecx, 1
test ecx, ecx
je 0x41f8d1
push 0x5b
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0041fc10
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41f89e
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
jmp 0x41f8d1
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 8]
jbe 0x41f8cb
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx - 1]
cmp edx, 0xa
je 0x41f8cb
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax - 1]
cmp ecx, 0xd
je 0x41f8cb
jmp 0x41f872
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, 1
test ecx, ecx
je 0x41fa96
push 0xa
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0041fc10
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41f904
jmp 0x41fb54
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0xa
je 0x41f934
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xd
je 0x41f934
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [edx]
cmp eax, 9
je 0x41f934
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x20
jne 0x41f947
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jae 0x41f947
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x41f904
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edx + 1]
cmp ecx, dword [ebp - 0x14]
jbe 0x41f95b
jmp 0x41fb54
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x41f97f
jmp 0x41f8d7
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x14]
jae 0x41f9b3
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x20
je 0x41f9a8
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 9
jne 0x41f9b3
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x41f988
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x14]
jb 0x41f9cc
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x3d
je 0x41f9cc
jmp 0x41fb54
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x14]
jae 0x41f9e5
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x3d
je 0x41f9e5
jmp 0x41f8d7
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x14]
jb 0x41fa04
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x3d
jne 0x41fa04
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
jmp 0x41fa96
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jae 0x41fa38
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x20
je 0x41fa2d
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 9
jne 0x41fa38
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
jmp 0x41fa0d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0xa
je 0x41fa69
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xd
je 0x41fa69
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x14]
jae 0x41fa69
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x41fa3e
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
jbe 0x41fa96
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [edx - 1]
cmp eax, 0x20
je 0x41fa8b
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx - 1]
cmp edx, 9
jne 0x41fa96
mov eax, dword [ebp - 0x1c]
sub eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x41fa69
mov ecx, dword [ebp + 0x18]
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jae 0x41faf5
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
jae 0x41faf5
mov edx, dword [ebp - 0x18]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx - 1]
cmp eax, edx
jne 0x41faf5
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x27
je 0x41fae3
mov edx, dword [ebp - 0x18]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x22
jne 0x41faf5
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x1c]
sub edx, 1
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0
jmp 0x41fb07
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x1c]
jae 0x41fb3a
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jae 0x41fb3a
mov eax, dword [ebp + 0x18]
sub eax, 1
cmp dword [ebp - 4], eax
jae 0x41fb3a
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x41fafe
mov edx, dword [ebp + 0x14]
add edx, dword [ebp - 4]
mov byte [edx], 0
mov eax, dword [0x4aa288]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
jmp 0x41fb9b
mov ecx, dword [0x4aa288]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0041fc50
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x41fb9b
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret