Function at 0x1017120
Capabilities:
Get hostname
Read .ini file

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x01045480]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov edi, edx
mov r12, rcx
lea rcx, [0x0100a080]
call fcn.01012d38
mov r13d, 1
cmp edi, r13d
jne 0x10171a2
lea rcx, [0x0100a0d0]
call fcn.01012d38
mov dword [0x01047b80], 9
mov dword [0x01047b84], r13d
xor ebp, ebp
mov dword [0x01047db4], ebp
xor eax, eax
jmp 0x10177db
mov rcx, r12
call fcn.01017814
mov rcx, r12
call fcn.01017948
xor ebp, ebp
cmp eax, ebp
jne 0x10171cb
lea rcx, [0x0100a120]
call fcn.01012d38
xor eax, eax
jmp 0x10177db
mov rax, qword [r12 + 0x138]
mov r14d, 0xffffff9d
cmp qword [rax - 0x10], rbp
je 0x101722b
lea rcx, [r12 + 0x128]
mov rax, qword [rcx]
cmp qword [rax - 0x10], rbp
je 0x101722b
xor edx, edx
call fcn.01010e90
mov rdi, rax
xor edx, edx
lea rcx, [r12 + 0x138]
call fcn.01010e90
mov rcx, rax
mov r9, rdi
xor r8d, r8d
lea rdx, [0x0100c490]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov dword [r12 + 0x140], eax
jmp 0x101722e
mov edi, r14d
mov edx, edi
lea rcx, [0x0100c4b0]
call fcn.01012d38
cmp edi, r13d
je 0x101724d
lea rcx, [0x0100a180]
call fcn.01012d38
mov rcx, r12
call fcn.01017db8
cmp eax, ebp
jne 0x101726c
lea rcx, [0x0100a1f0]
call fcn.01012d38
xor eax, eax
jmp 0x10177db
mov rcx, r12
call fcn.0101c248
mov edi, eax
cmp dword [r12 + 0x158], r13d
jne 0x101729e
lea rcx, [0x0100a248]
call fcn.01012d38
mov rcx, r12
call fcn.0101d500
cmp edi, ebp
je 0x101729c
cmp eax, ebp
jne 0x10172b5
mov edi, ebp
cmp edi, ebp
jne 0x10172b5
lea rcx, [0x0100a280]
call fcn.01012d38
xor eax, eax
jmp 0x10177db
mov eax, dword [r12 + 0xf4]
cmp eax, 2
je 0x10172c7
cmp eax, 3
jne 0x1017319
lea r8, [0x0100a2d8]
lea rdx, [0x01009fe0]
mov rcx, r12
call fcn.0101e7bc
lea r8, [0x0100a300]
lea rdx, [0x01009ff8]
mov rcx, r12
call fcn.0101e7bc
mov rcx, r12
call fcn.0101eedc
cmp dword [r12 + 0x158], r13d
jne 0x1017319
lea rcx, [0x0100a330]
call fcn.01012d38
mov rcx, r12
call fcn.0101f01c
mov rcx, r12
call fcn.0101a430
cmp eax, r14d
jne 0x1017332
lea rcx, [0x0100a378]
call fcn.01012d38
cmp dword [r12 + 0x58], r13d
jne 0x10177cc
mov rax, qword [0x01046880]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x48]
call fcn.010108bc
lea rdx, [r12 + 0x28]
mov rax, qword [rdx]
cmp qword [rax - 0x10], rbp
je 0x101738f
lea rcx, [rsp + 0x30]
call fcn.0101074c
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.01021600
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.01010aec
lea rcx, [rsp + 0x28]
call fcn.01010940
mov rcx, r12
call fcn.0101a3fc
cmp eax, r13d
jne 0x1017410
lea rdx, [r12 + 0x108]
lea rcx, [rsp + 0x30]
call fcn.0101074c
mov rdi, rax
lea rdx, [r12 + 0x128]
lea rcx, [rsp + 0x28]
call fcn.0101074c
mov r8, rdi
mov rdx, rax
mov rcx, r12
call fcn.0101f15c
cmp dword [r12 + 0x158], r13d
jne 0x1017410
lea rdx, [r12 + 0x108]
lea rcx, [rsp + 0x30]
call fcn.0101074c
mov rdi, rax
lea rdx, [r12 + 0x128]
lea rcx, [rsp + 0x28]
call fcn.0101074c
mov r8, rdi
mov rdx, rax
mov rcx, r12
call fcn.0101f738
mov rax, qword [0x01046880]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.010108bc
mov rdx, qword [0x01046880]
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x20]
call fcn.010108bc
mov rdx, qword [0x01046880]
mov qword [rsp + 0x38], rdx
lea rcx, [rsp + 0x38]
call fcn.010108bc
mov rdx, qword [0x01046880]
mov qword [rsp + 0x28], rdx
lea rcx, [rsp + 0x28]
call fcn.010108bc
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.01010aec
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.01010aec
lea rcx, [rsp + 0x38]
call fcn.010108f0
mov rcx, qword [rsp + 0x38]
call fcn.0102aab4
mov r15, qword [rsp + 0x40]
mov ebx, 1
mov r8d, r13d
cmp r8, qword [r15 - 0x10]
jae 0x101751b
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.0101109c
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.01010aec
lea rcx, [rsp + 0x50]
call fcn.01010940
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.01011078
xor edx, edx
lea rsi, [0x0100a3a8]
mov rdi, qword [rax]
lea ecx, [rdx + 2]
repe cmpsw word [rsi], word [rdi]
je 0x10174fe
sbb edx, edx
sbb edx, 0xffffffff
movzx edi, bpl
cmp edx, ebp
cmove edi, ebx
lea rcx, [rsp + 0x30]
call fcn.01010940
cmp dil, bpl
jne 0x101751b
add r13d, ebx
jmp 0x10174a4
lea edi, [r13 - 1]
cmp edi, ebp
mov rbx, qword [rsp + 0x38]
jle 0x1017785
mov eax, r13d
cmp rax, qword [r15 - 0x10]
jae 0x1017785
mov word [rsp + 0xf0], bp
xor eax, eax
mov qword [rsp + 0xf2], rax
mov qword [rsp + 0xfa], rax
mov qword [rsp + 0x102], rax
mov dword [rsp + 0x10a], eax
mov word [rsp + 0x10e], ax
mov dword [rsp + 0x58], 0x10
cmp bp, bp
jne 0x101758a
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x50]
call fcn.01010990
nop
lea rcx, [rsp + 0x50]
call fcn.010108f0
mov rcx, qword [rsp + 0x50]
call fcn.0102aab4
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.0102a7a4
cmp rax, rbp
je 0x1017616
sub rax, rbx
sar rax, 1
cmp eax, ebp
jl 0x1017616
mov rcx, qword [r15 - 0x10]
sub ecx, edi
cmp eax, ecx
jge 0x1017616
movsxd r8, edi
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.0101109c
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.01010aec
lea rcx, [rsp + 0x30]
call fcn.01010940
mov rdi, qword [rsp + 0x20]
mov rdx, rdi
lea rcx, [0x0100a450]
call fcn.01012d38
jmp 0x101762a
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.01010aec
mov rdi, qword [rsp + 0x20]
lea rax, [0x0100eef0]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0xe0], rbp
mov dword [rsp + 0xe8], ebp
mov dword [rsp + 0xec], ebp
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x88]
call fcn.01035300
mov dword [rsp + 0xb0], ebp
xor edx, edx
lea r8d, [rdx + 0x2c]
lea rcx, [rsp + 0xb4]
call fcn.01035300
nop
cmp rdi, rbp
jne 0x101768a
mov r13d, 1
jmp 0x10176ca
mov rdx, rdi
lea rcx, [rsp + 0x80]
call fcn.01026fb8
mov r14d, eax
cmp eax, ebp
jne 0x10176c4
mov r13d, 1
cmp dword [rsp + 0x98], r13d
jne 0x10176ca
mov r8d, r13d
xor edx, edx
lea rcx, [0x0100a4c0]
call fcn.01012d38
jmp 0x101772b
mov r13d, 1
mov r8d, dword [rsp + 0x98]
mov edx, r14d
lea rcx, [0x0100a550]
call fcn.01012d38
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.0101074c
mov rsi, rax
lea rdx, [r12 + 0x108]
lea rcx, [rsp + 0x70]
call fcn.0101074c
mov rdi, rax
lea rdx, [r12 + 0x128]
lea rcx, [rsp + 0x68]
call fcn.0101074c
mov r9, rsi
mov r8, rdi
mov rdx, rax
mov rcx, r12
call fcn.0101fd14
mov rcx, r12
call fcn.01020240
nop
lea rcx, [rsp + 0x80]
call fcn.0102714c
nop
lea rcx, [rsp + 0x50]
call fcn.01010940
nop
lea rcx, [rsp + 0x28]
call fcn.01010940
nop
lea rcx, [rsp + 0x38]
call fcn.01010940
nop
lea rcx, [rsp + 0x20]
call fcn.01010940
nop
lea rcx, [rsp + 0x40]
call fcn.01010940
nop
lea rcx, [rsp + 0x48]
call fcn.01010940
jmp 0x10177cc
lea rcx, [0x0100a3b0]
call fcn.01012d38
nop
lea rcx, [rsp + 0x28]
call fcn.01010940
nop
lea rcx, [rsp + 0x38]
call fcn.01010940
nop
lea rcx, [rsp + 0x20]
call fcn.01010940
nop
lea rcx, [rsp + 0x40]
call fcn.01010940
nop
lea rcx, [rsp + 0x48]
call fcn.01010940
xor eax, eax
jmp 0x10177db
lea rcx, [0x0100a5e0]
call fcn.01012d38
mov eax, r13d
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.01029cb0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret