Function at 0x1016948
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0xa8
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [0x01009638]
call fcn.01011d38
lea rcx, [rsp + 0x40]
call fcn.010147bc
nop
mov rax, qword [0x01045880]
mov qword [rsp + 0x30], rax
lea rdx, [0x01009678]
lea rcx, [rsp + 0x30]
call fcn.0100fb60
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xd0]
call fcn.0100f74c
mov rbx, rax
lea rdx, [rsi + 0x128]
lea rcx, [rsp + 0xd8]
call fcn.0100f74c
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.010148d8
xor edi, edi
cmp eax, edi
jne 0x1016a09
mov dword [0x01046b80], 6
mov dword [0x01046b84], 1
mov dword [0x01046db4], edi
lea rcx, [rsp + 0x30]
call fcn.0100f940
nop
lea rcx, [rsp + 0x40]
call fcn.01014878
xor eax, eax
jmp 0x1016da6
mov rax, qword [0x01045880]
mov qword [rsp + 0xe8], rax
mov eax, dword [rsi + 0xf4]
cmp eax, 3
jne 0x1016a39
lea rdx, [0x01009688]
lea rcx, [rsp + 0xe8]
call fcn.0100fb60
jmp 0x1016a6d
cmp eax, 1
jne 0x1016a54
lea rdx, [0x010096a8]
lea rcx, [rsp + 0xe8]
call fcn.0100fb60
jmp 0x1016a6d
cmp eax, 2
jne 0x1016a6d
lea rdx, [0x010096c8]
lea rcx, [rsp + 0xe8]
call fcn.0100fb60
mov rax, qword [rsp + 0xe8]
cmp qword [rax - 0x10], rdi
je 0x1016b21
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0xd0]
call fcn.0100f74c
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.01014c14
cmp eax, edi
je 0x1016b21
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xd8]
call fcn.0100f74c
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.01014df8
lea rcx, [rsi + 0x118]
mov rdx, rax
call fcn.0100faec
lea rcx, [rsp + 0xd0]
call fcn.0100f940
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xd8]
call fcn.0100f74c
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.01014df8
lea rcx, [rsi + 0x120]
mov rdx, rax
call fcn.0100faec
lea rcx, [rsp + 0xd0]
call fcn.0100f940
lea rdx, [0x010096e8]
lea rcx, [rsp + 0xe8]
call fcn.0100fb60
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0xd0]
call fcn.0100f74c
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.01014c14
cmp eax, edi
je 0x1016c0b
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xe0]
call fcn.0101ffc4
cmp dword [rsp + 0xd0], 5
jne 0x1016b8f
cmp dword [rsp + 0xd8], edi
je 0x1016c0b
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xd8]
call fcn.0100f74c
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.01014df8
lea rcx, [rsi + 0x118]
mov rdx, rax
call fcn.0100faec
lea rcx, [rsp + 0xd0]
call fcn.0100f940
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xd8]
call fcn.0100f74c
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.01014df8
lea rcx, [rsi + 0x120]
mov rdx, rax
call fcn.0100faec
lea rcx, [rsp + 0xd0]
call fcn.0100f940
lea rdx, [0x01009708]
lea rcx, [rsp + 0xe8]
call fcn.0100fb60
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0xd0]
call fcn.0100f74c
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.01014c14
cmp eax, edi
jne 0x1016c7d
mov dword [0x01046b80], 6
mov dword [0x01046b84], 3
mov dword [0x01046db4], edi
lea rcx, [rsp + 0xe8]
call fcn.0100f940
nop
lea rcx, [rsp + 0x30]
call fcn.0100f940
nop
jmp 0x1016d9a
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xd8]
call fcn.0100f74c
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.01014df8
lea rcx, [rsi + 0x108]
mov rdx, rax
call fcn.0100faec
lea rcx, [rsp + 0xd0]
call fcn.0100f940
xor edx, edx
lea rcx, [rsi + 0x128]
call fcn.0100fe90
mov rbx, rax
mov edx, 0x104
lea rcx, [rsi + 0x138]
call fcn.0100fe90
mov r9, rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r8, [0x010053c0]
lea rdx, [0x01009718]
lea rcx, [0x01009678]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
or edx, 0xffffffff
lea rcx, [rsi + 0x138]
call fcn.0100ff00
cmp ebx, 1
jae 0x1016d2c
mov edx, ebx
lea rcx, [0x01009730]
call fcn.01011d38
mov rdx, qword [rsi + 0x138]
lea rcx, [0x010097c0]
call fcn.01011d38
mov rdx, qword [rsi + 0x128]
lea rcx, [0x01009820]
call fcn.01011d38
mov rcx, qword [rsp + 0x88]
cmp rcx, rdi
je 0x1016d7c
call fcn.01028de4
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], rdi
lea rcx, [rsp + 0xe8]
call fcn.0100f940
nop
lea rcx, [rsp + 0x30]
call fcn.0100f940
nop
mov edi, 1
lea rcx, [rsp + 0x40]
call fcn.01014878
mov eax, edi
add rsp, 0xa8
pop rdi
pop rsi
pop rbp
pop rbx
ret