Function at 0x1014f340
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a6d54
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x101fe070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d0], 0
lea eax, [ebp - 0x24c]
push eax
call fcn.1014c030
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.10008cc0
movzx ecx, al
test ecx, ecx
je 0x1014f3c1
mov byte [ebp - 0x2c6], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.10008da0
mov al, byte [ebp - 0x2c6]
jmp 0x1014f718
push str.config.ini
lea ecx, [ebp - 0x27c]
call fcn.10008e50
mov byte [ebp - 4], 1
lea edx, [ebp - 0x27c]
push edx
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.100144e0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c]
call fcn.10008da0
lea edx, [ebp - 0x234]
push edx
call fcn.10010c10
add esp, 4
movzx eax, al
test eax, eax
je 0x1014f6ac
push 0x20a
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.1015e8b0
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.10008ce0
push eax
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0x101b9ef8
push str.LastVersion
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2cc]
add ecx, 2
mov dword [ebp - 0x2e4], ecx
mov edx, dword [ebp - 0x2cc]
mov ax, word [edx]
mov word [ebp - 0x2d6], ax
add dword [ebp - 0x2cc], 2
cmp word [ebp - 0x2d6], 0
jne 0x1014f479
mov ecx, dword [ebp - 0x2cc]
sub ecx, dword [ebp - 0x2e4]
sar ecx, 1
mov dword [ebp - 0x2e8], ecx
je 0x1014f4f8
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x294]
call fcn.10008e50
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2d0]
or eax, 1
mov dword [ebp - 0x2d0], eax
lea ecx, [ebp - 0x294]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1000f900
add esp, 8
test eax, eax
je 0x1014f4f8
mov dword [ebp - 0x2dc], 1
jmp 0x1014f502
mov dword [ebp - 0x2dc], 0
mov al, byte [ebp - 0x2dc]
mov byte [ebp - 0x2c7], al
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x2d0]
and ecx, 1
je 0x1014f532
and dword [ebp - 0x2d0], 0xfffffffe
lea ecx, [ebp - 0x294]
call fcn.10008da0
movzx edx, byte [ebp - 0x2c7]
test edx, edx
je 0x1014f5d9
lea eax, [ebp - 0x2c4]
push eax
call fcn.1014ba70
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x2ac]
call fcn.10008e50
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2ac]
push edx
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x264]
push ecx
call fcn.100144e0
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2ac]
call fcn.10008da0
lea edx, [ebp - 0x264]
push edx
call fcn.10010ae0
add esp, 4
movzx eax, al
test eax, eax
je 0x1014f5bb
lea ecx, [ebp - 0x264]
push ecx
call fcn.10010f30
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x264]
call fcn.10008da0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c4]
call fcn.10008da0
mov edx, 2
imul eax, edx, 0
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0x20a
jae 0x1014f5f5
jmp 0x1014f5fa
call fcn.1015c96d
xor ecx, ecx
mov edx, dword [ebp - 0x2e0]
mov word [ebp + edx - 0x21c], cx
lea ecx, [ebp - 0x234]
call fcn.10008ce0
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x101b9ef8
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x2d4], ecx
mov edx, dword [ebp - 0x2d4]
add edx, 2
mov dword [ebp - 0x2ec], edx
mov eax, dword [ebp - 0x2d4]
mov cx, word [eax]
mov word [ebp - 0x2d8], cx
add dword [ebp - 0x2d4], 2
cmp word [ebp - 0x2d8], 0
jne 0x1014f652
mov edx, dword [ebp - 0x2d4]
sub edx, dword [ebp - 0x2ec]
sar edx, 1
mov dword [ebp - 0x2f0], edx
je 0x1014f6ac
lea ecx, [ebp - 0x234]
call fcn.10008ce0
push eax
lea eax, [ebp - 0x21c]
push eax
push str.LastVersion
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x234]
call fcn.10008ce0
push eax
mov ecx, dword [ebp + 8]
call fcn.10008ce0
push eax
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1014f6de
mov byte [ebp - 0x2c5], 1
jmp 0x1014f6e5
mov byte [ebp - 0x2c5], 0
mov cl, byte [ebp - 0x2c5]
mov byte [ebp - 0x2c8], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.10008da0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.10008da0
mov al, byte [ebp - 0x2c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015c023
mov esp, ebp
pop ebp
ret