Function at 0x1017948
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, [0x0100a638]
call fcn.01012d38
lea rcx, [rsp + 0x40]
call fcn.010157bc
nop
mov rax, qword [0x01046880]
mov qword [rsp + 0x30], rax
lea rdx, [0x0100a678]
lea rcx, [rsp + 0x30]
call fcn.01010b60
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xd0]
call fcn.0101074c
mov rbx, rax
lea rdx, [rsi + 0x128]
lea rcx, [rsp + 0xd8]
call fcn.0101074c
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.010158d8
xor edi, edi
cmp eax, edi
jne 0x1017a09
mov dword [0x01047b80], 6
mov dword [0x01047b84], 1
mov dword [0x01047db4], edi
lea rcx, [rsp + 0x30]
call fcn.01010940
nop
lea rcx, [rsp + 0x40]
call fcn.01015878
xor eax, eax
jmp 0x1017da6
mov rax, qword [0x01046880]
mov qword [rsp + 0xe8], rax
mov eax, dword [rsi + 0xf4]
cmp eax, 3
jne 0x1017a39
lea rdx, [0x0100a688]
lea rcx, [rsp + 0xe8]
call fcn.01010b60
jmp 0x1017a6d
cmp eax, 1
jne 0x1017a54
lea rdx, [0x0100a6a8]
lea rcx, [rsp + 0xe8]
call fcn.01010b60
jmp 0x1017a6d
cmp eax, 2
jne 0x1017a6d
lea rdx, [0x0100a6c8]
lea rcx, [rsp + 0xe8]
call fcn.01010b60
mov rax, qword [rsp + 0xe8]
cmp qword [rax - 0x10], rdi
je 0x1017b21
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0xd0]
call fcn.0101074c
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.01015c14
cmp eax, edi
je 0x1017b21
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xd8]
call fcn.0101074c
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.01015df8
lea rcx, [rsi + 0x118]
mov rdx, rax
call fcn.01010aec
lea rcx, [rsp + 0xd0]
call fcn.01010940
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xd8]
call fcn.0101074c
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.01015df8
lea rcx, [rsi + 0x120]
mov rdx, rax
call fcn.01010aec
lea rcx, [rsp + 0xd0]
call fcn.01010940
lea rdx, [0x0100a6e8]
lea rcx, [rsp + 0xe8]
call fcn.01010b60
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0xd0]
call fcn.0101074c
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.01015c14
cmp eax, edi
je 0x1017c0b
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xe0]
call fcn.01020fc4
cmp dword [rsp + 0xd0], 5
jne 0x1017b8f
cmp dword [rsp + 0xd8], edi
je 0x1017c0b
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xd8]
call fcn.0101074c
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.01015df8
lea rcx, [rsi + 0x118]
mov rdx, rax
call fcn.01010aec
lea rcx, [rsp + 0xd0]
call fcn.01010940
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xd8]
call fcn.0101074c
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.01015df8
lea rcx, [rsi + 0x120]
mov rdx, rax
call fcn.01010aec
lea rcx, [rsp + 0xd0]
call fcn.01010940
lea rdx, [0x0100a708]
lea rcx, [rsp + 0xe8]
call fcn.01010b60
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0xd0]
call fcn.0101074c
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.01015c14
cmp eax, edi
jne 0x1017c7d
mov dword [0x01047b80], 6
mov dword [0x01047b84], 3
mov dword [0x01047db4], edi
lea rcx, [rsp + 0xe8]
call fcn.01010940
nop
lea rcx, [rsp + 0x30]
call fcn.01010940
nop
jmp 0x1017d9a
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xd8]
call fcn.0101074c
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.01015df8
lea rcx, [rsi + 0x108]
mov rdx, rax
call fcn.01010aec
lea rcx, [rsp + 0xd0]
call fcn.01010940
xor edx, edx
lea rcx, [rsi + 0x128]
call fcn.01010e90
mov rbx, rax
mov edx, 0x104
lea rcx, [rsi + 0x138]
call fcn.01010e90
mov r9, rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r8, [0x010063c0]
lea rdx, [0x0100a718]
lea rcx, [0x0100a678]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
or edx, 0xffffffff
lea rcx, [rsi + 0x138]
call fcn.01010f00
cmp ebx, 1
jae 0x1017d2c
mov edx, ebx
lea rcx, [0x0100a730]
call fcn.01012d38
mov rdx, qword [rsi + 0x138]
lea rcx, [0x0100a7c0]
call fcn.01012d38
mov rdx, qword [rsi + 0x128]
lea rcx, [0x0100a820]
call fcn.01012d38
mov rcx, qword [rsp + 0x88]
cmp rcx, rdi
je 0x1017d7c
call fcn.01029de4
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], rdi
lea rcx, [rsp + 0xe8]
call fcn.01010940
nop
lea rcx, [rsp + 0x30]
call fcn.01010940
nop
mov edi, 1
lea rcx, [rsp + 0x40]
call fcn.01015878
mov eax, edi
add rsp, 0xa8
pop rdi
pop rsi
pop rbp
pop rbx
ret