Function at 0x14a1f500
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x318]
sub esp, 0x318
push 0xffffffffffffffff
push 0x14a25018
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x14a36198]
xor eax, ebp
mov dword [ebp + 0x314], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x14a36498], 0
mov eax, dword [ebp + 0x324]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x32c]
mov dword [ebp - 0x10], eax
je 0x14a1f568
push eax
push 0x14a36498
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x14a1f7e6
mov eax, dword [0x14a36620]
mov edi, dword [0x14a3661c]
mov dword [ebp - 0x24], 1
mov ebx, eax
cmp edi, eax
jbe 0x14a1f591
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [0x14a36620]
mov edi, dword [0x14a3661c]
mov esi, dword [0x14a36610]
cmp edi, eax
jbe 0x14a1f5a1
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [0x14a36610]
push ebx
push esi
push edi
push ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, 0x14a36610
call fcn.14a1e3e0
mov edi, dword [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push 0x14a36498
call ebx
mov ecx, dword [0x14a3613c]
push edi
push 0x104
lea eax, [ebp + 0x204]
push eax
push 0x14a26959
push str.FileName
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x14a1f844
cmp byte [ebp + 0x204], 0x2e
jne 0x14a1f67a
cmp byte [ebp + 0x205], 0x5c
jne 0x14a1f67a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
lea edx, [ebp + 0x100]
push edx
lea esi, [ebp + eax + 0x100]
call ebx
lea eax, [ebp + 0x100]
cmp esi, eax
jbe 0x14a1f640
lea ebx, [ebx]
cmp byte [esi], 0x5c
je 0x14a1f645
dec esi
lea ecx, [ebp + 0x100]
cmp esi, ecx
ja 0x14a1f630
cmp byte [esi], 0x5c
jne 0x14a1f665
lea edx, [ebp + 0x206]
push edx
inc esi
push esi
call ebx
lea eax, [ebp + 0x100]
push eax
lea ecx, [ebp + 0x204]
push ecx
call ebx
jmp 0x14a1f732
lea edx, [ebp + 0x206]
push edx
lea eax, [ebp + 0x204]
push eax
call ebx
jmp 0x14a1f732
xor edi, edi
call fcn.14a1e9c0
mov esi, eax
cmp esi, edi
je 0x14a1f72f
lea ecx, [ebp + 0x204]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.14a01cef
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x94]
lea eax, [ebp - 0x18]
push eax
push ecx
push esi
mov byte [ebp - 4], 1
call edx
test eax, eax
jl 0x14a1f709
mov eax, dword [ebp - 0x18]
mov edi, eax
test eax, eax
jne 0x14a1f6ce
push eax
lea eax, [ebp + 0x204]
push eax
jmp 0x14a1f714
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x14a1f6e9
xor eax, eax
push eax
lea eax, [ebp + 0x204]
push eax
jmp 0x14a1f714
lea esi, [eax + eax]
mov eax, esi
call fcn.14a22e40
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.14a0106e
push eax
lea eax, [ebp + 0x204]
push eax
jmp 0x14a1f714
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp + 0x204]
push edx
call ebx
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [ebp - 0x1c]
push ecx
mov dword [ebp - 4], 0xffffffff
call esi
mov edi, dword [ebp - 0x10]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x14a1f740
mov esi, dword [ebp - 0x24]
push esi
lea eax, [ebp + 0x308]
push 0x14a29478
push eax
call ebx
add esp, 0xc
lea ecx, [ebp + 0x204]
push ecx
push 0x400
lea edx, [ebp]
push edx
push 0x14a26959
lea eax, [ebp + 0x308]
inc esi
push eax
mov dword [ebp - 0x24], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.__s_::Strings
call esi
test eax, eax
ja 0x14a1f7a4
mov eax, dword [0x14a3613c]
push edi
push 0x100
lea ecx, [ebp]
push ecx
push 0x14a26959
lea edx, [ebp + 0x308]
push edx
push eax
call esi
cmp byte [ebp], 0
je 0x14a1f7e6
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.14a01cef
lea edx, [ebp - 0x1c]
push edx
mov ecx, 0x14a36610
mov dword [ebp - 4], 2
call fcn.14a1f480
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [ebp], 0
jne 0x14a1f740
mov ecx, dword [ebp + 0x320]
test ecx, ecx
jle 0x14a1f87c
mov eax, dword [0x14a36620]
sub eax, dword [0x14a3661c]
sar eax, 2
cmp ecx, eax
jg 0x14a1f87c
lea esi, [ecx - 1]
cmp esi, eax
jb 0x14a1f813
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [0x14a3661c]
mov esi, dword [ecx + esi*4]
test esi, esi
je 0x14a1f82f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x14a1f853
mov edx, dword [ebp + 0x328]
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.14a20d00
jmp 0x14a1f882
push edi
lea edx, [ebp + 0x204]
push edx
call ebx
jmp 0x14a1f732
lea edi, [eax + eax]
mov eax, edi
call fcn.14a22e40
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.14a0106e
mov edx, dword [ebp + 0x328]
push edx
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.14a20d00
jmp 0x14a1f882
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esp, [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x314]
xor ecx, ebp
call fcn.14a22c16
add ebp, 0x318
mov esp, ebp
pop ebp
ret