Function at 0x10158c60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a88b5
mov eax, dword fs:[0]
push eax
sub esp, 0x278
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 - 0x270], 0
mov eax, 0x51
mov word [ebp - 0x30], ax
mov ecx, 0x69
mov word [ebp - 0x2e], cx
mov edx, 0x6e
mov word [ebp - 0x2c], dx
mov eax, 0x67
mov word [ebp - 0x2a], ax
mov ecx, 0x6e
mov word [ebp - 0x28], cx
mov edx, 0x69
mov word [ebp - 0x26], dx
mov eax, 0x61
mov word [ebp - 0x24], ax
mov ecx, 0x6f
mov word [ebp - 0x22], cx
mov edx, 0x20
mov word [ebp - 0x20], dx
mov eax, 0x43
mov word [ebp - 0x1e], ax
mov ecx, 0x68
mov word [ebp - 0x1c], cx
mov edx, 0x72
mov word [ebp - 0x1a], dx
mov eax, 0x6f
mov word [ebp - 0x18], ax
mov ecx, 0x6d
mov word [ebp - 0x16], cx
mov edx, 0x65
mov word [ebp - 0x14], dx
xor eax, eax
mov word [ebp - 0x12], ax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x26c]
call fcn.10008e50
mov dword [ebp - 4], 1
lea edx, [ebp - 0x26c]
push edx
lea eax, [ebp - 0x254]
push eax
call fcn.101575d0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x26c]
call fcn.10008da0
lea ecx, [ebp - 0x254]
call fcn.10008cc0
movzx ecx, al
test ecx, ecx
je 0x10158da2
push 0x101b9ef8
mov ecx, dword [ebp + 8]
call fcn.10008e50
mov edx, dword [ebp - 0x270]
or edx, 1
mov dword [ebp - 0x270], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.10008da0
mov eax, dword [ebp + 8]
jmp 0x10158f2a
lea eax, [ebp - 0x254]
push eax
call fcn.10010c10
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x10158deb
push 0x101b9ef8
mov ecx, dword [ebp + 8]
call fcn.10008e50
mov edx, dword [ebp - 0x270]
or edx, 1
mov dword [ebp - 0x270], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.10008da0
mov eax, dword [ebp + 8]
jmp 0x10158f2a
push 0x20a
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.1015e8b0
add esp, 0xc
lea ecx, [ebp - 0x254]
call fcn.10008ce0
push eax
push 0x104
lea ecx, [ebp - 0x23c]
push ecx
push 0x101b9ef8
push str.Version
push str.AppLoadInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x278], 0x101b9ef8
lea edx, [ebp - 0x23c]
mov dword [ebp - 0x274], edx
mov eax, dword [ebp - 0x274]
mov cx, word [eax]
mov word [ebp - 0x27a], cx
mov edx, dword [ebp - 0x278]
cmp cx, word [edx]
jne 0x10158eaa
cmp word [ebp - 0x27a], 0
je 0x10158e9e
mov eax, dword [ebp - 0x274]
mov cx, word [eax + 2]
mov word [ebp - 0x27c], cx
mov edx, dword [ebp - 0x278]
cmp cx, word [edx + 2]
jne 0x10158eaa
add dword [ebp - 0x274], 4
add dword [ebp - 0x278], 4
cmp word [ebp - 0x27c], 0
jne 0x10158e44
mov dword [ebp - 0x280], 0
jmp 0x10158eb5
sbb eax, eax
or eax, 1
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x280]
mov dword [ebp - 0x284], ecx
cmp dword [ebp - 0x284], 0
jne 0x10158efa
push 0x101b9ef8
mov ecx, dword [ebp + 8]
call fcn.10008e50
mov edx, dword [ebp - 0x270]
or edx, 1
mov dword [ebp - 0x270], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.10008da0
mov eax, dword [ebp + 8]
jmp 0x10158f2a
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10008e50
mov ecx, dword [ebp - 0x270]
or ecx, 1
mov dword [ebp - 0x270], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.10008da0
mov eax, dword [ebp + 8]
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