Function at 0x10158640
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a87b2
mov eax, dword fs:[0]
push eax
sub esp, 0x360
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 - 0x35c], 0
push 0x101b9ef8
lea ecx, [ebp - 0x298]
call fcn.10008e50
mov dword [ebp - 4], 1
mov eax, 0x32
mov word [ebp - 0x34], ax
mov ecx, 0x33
mov word [ebp - 0x32], cx
mov edx, 0x34
mov word [ebp - 0x30], dx
mov eax, 0x35
mov word [ebp - 0x2e], ax
mov ecx, 0x50
mov word [ebp - 0x2c], cx
mov edx, 0x64
mov word [ebp - 0x2a], dx
mov eax, 0x66
mov word [ebp - 0x28], ax
mov ecx, 0x43
mov word [ebp - 0x26], cx
mov edx, 0x6f
mov word [ebp - 0x24], dx
mov eax, 0x6e
mov word [ebp - 0x22], ax
mov ecx, 0x76
mov word [ebp - 0x20], cx
mov edx, 0x65
mov word [ebp - 0x1e], dx
mov eax, 0x72
mov word [ebp - 0x1c], ax
mov ecx, 0x74
mov word [ebp - 0x1a], cx
mov edx, 0x65
mov word [ebp - 0x18], dx
mov eax, 0x72
mov word [ebp - 0x16], ax
xor ecx, ecx
mov word [ebp - 0x14], cx
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x2f8]
call fcn.10008e50
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2f8]
push eax
lea ecx, [ebp - 0x2e0]
push ecx
call fcn.10157e20
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2f8]
call fcn.10008da0
lea edx, [ebp - 0x2e0]
push edx
call fcn.10010c10
add esp, 4
movzx eax, al
test eax, eax
je 0x10158816
push 0x20a
push 0
lea ecx, [ebp - 0x280]
push ecx
call fcn.1015e8b0
add esp, 0xc
mov edx, 0x50
mov word [ebp - 0x48], dx
mov eax, 0x64
mov word [ebp - 0x46], ax
mov ecx, 0x66
mov word [ebp - 0x44], cx
mov edx, 0x32
mov word [ebp - 0x42], dx
mov eax, 0x57
mov word [ebp - 0x40], ax
mov ecx, 0x6f
mov word [ebp - 0x3e], cx
mov edx, 0x72
mov word [ebp - 0x3c], dx
mov eax, 0x64
mov word [ebp - 0x3a], ax
xor ecx, ecx
mov word [ebp - 0x38], cx
lea ecx, [ebp - 0x2e0]
call fcn.10008ce0
push eax
push 0x104
lea edx, [ebp - 0x280]
push edx
push 0x101b9ef8
push str.VersionNew
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x298]
call fcn.10008d40
lea ecx, [ebp - 0x298]
call fcn.10008cc0
movzx edx, al
test edx, edx
je 0x10158a20
lea ecx, [ebp - 0x2c8]
call fcn.1005a760
mov byte [ebp - 4], 5
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x310]
call fcn.10008e50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x310]
push ecx
lea ecx, [ebp - 0x2c8]
call fcn.1005a7c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x310]
call fcn.10008da0
mov edx, 0x32
mov word [ebp - 0x74], dx
mov eax, 0x33
mov word [ebp - 0x72], ax
mov ecx, 0x34
mov word [ebp - 0x70], cx
mov edx, 0x35
mov word [ebp - 0x6e], dx
mov eax, 0x50
mov word [ebp - 0x6c], ax
mov ecx, 0x64
mov word [ebp - 0x6a], cx
mov edx, 0x66
mov word [ebp - 0x68], dx
mov eax, 0x43
mov word [ebp - 0x66], ax
mov ecx, 0x6f
mov word [ebp - 0x64], cx
mov edx, 0x6e
mov word [ebp - 0x62], dx
mov eax, 0x76
mov word [ebp - 0x60], ax
mov ecx, 0x65
mov word [ebp - 0x5e], cx
mov edx, 0x72
mov word [ebp - 0x5c], dx
mov eax, 0x74
mov word [ebp - 0x5a], ax
mov ecx, 0x65
mov word [ebp - 0x58], cx
mov edx, 0x72
mov word [ebp - 0x56], dx
mov eax, 0x2e
mov word [ebp - 0x54], ax
mov ecx, 0x64
mov word [ebp - 0x52], cx
mov edx, 0x6c
mov word [ebp - 0x50], dx
mov eax, 0x6c
mov word [ebp - 0x4e], ax
xor ecx, ecx
mov word [ebp - 0x4c], cx
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x328]
call fcn.10008e50
mov byte [ebp - 4], 7
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.1005e6f0
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x360]
mov dword [ebp - 0x364], ecx
mov byte [ebp - 4], 8
lea edx, [ebp - 0x328]
push edx
mov eax, dword [ebp - 0x364]
push eax
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.100144e0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x340]
call fcn.10008da0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x328]
call fcn.10008da0
lea edx, [ebp - 0x2b0]
push edx
call fcn.10010c10
add esp, 4
movzx eax, al
test eax, eax
je 0x10158a02
lea ecx, [ebp - 0x2b0]
push ecx
lea edx, [ebp - 0x358]
push edx
call fcn.1001b400
add esp, 8
mov dword [ebp - 0x368], eax
mov eax, dword [ebp - 0x368]
mov dword [ebp - 0x36c], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x36c]
push ecx
lea ecx, [ebp - 0x298]
call fcn.10008de0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x358]
call fcn.10008da0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2b0]
call fcn.10008da0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c8]
call fcn.10016fe0
lea edx, [ebp - 0x298]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000dbc0
mov eax, dword [ebp - 0x35c]
or eax, 1
mov dword [ebp - 0x35c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2e0]
call fcn.10008da0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x298]
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