Function at 0x1016120
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 [0x01044480]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov edi, edx
mov r12, rcx
lea rcx, [0x01009080]
call fcn.01011d38
mov r13d, 1
cmp edi, r13d
jne 0x10161a2
lea rcx, [0x010090d0]
call fcn.01011d38
mov dword [0x01046b80], 9
mov dword [0x01046b84], r13d
xor ebp, ebp
mov dword [0x01046db4], ebp
xor eax, eax
jmp 0x10167db
mov rcx, r12
call fcn.01016814
mov rcx, r12
call fcn.01016948
xor ebp, ebp
cmp eax, ebp
jne 0x10161cb
lea rcx, [0x01009120]
call fcn.01011d38
xor eax, eax
jmp 0x10167db
mov rax, qword [r12 + 0x138]
mov r14d, 0xffffff9d
cmp qword [rax - 0x10], rbp
je 0x101622b
lea rcx, [r12 + 0x128]
mov rax, qword [rcx]
cmp qword [rax - 0x10], rbp
je 0x101622b
xor edx, edx
call fcn.0100fe90
mov rdi, rax
xor edx, edx
lea rcx, [r12 + 0x138]
call fcn.0100fe90
mov rcx, rax
mov r9, rdi
xor r8d, r8d
lea rdx, [0x0100b490]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov dword [r12 + 0x140], eax
jmp 0x101622e
mov edi, r14d
mov edx, edi
lea rcx, [0x0100b4b0]
call fcn.01011d38
cmp edi, r13d
je 0x101624d
lea rcx, [0x01009180]
call fcn.01011d38
mov rcx, r12
call fcn.01016db8
cmp eax, ebp
jne 0x101626c
lea rcx, [0x010091f0]
call fcn.01011d38
xor eax, eax
jmp 0x10167db
mov rcx, r12
call fcn.0101b248
mov edi, eax
cmp dword [r12 + 0x158], r13d
jne 0x101629e
lea rcx, [0x01009248]
call fcn.01011d38
mov rcx, r12
call fcn.0101c500
cmp edi, ebp
je 0x101629c
cmp eax, ebp
jne 0x10162b5
mov edi, ebp
cmp edi, ebp
jne 0x10162b5
lea rcx, [0x01009280]
call fcn.01011d38
xor eax, eax
jmp 0x10167db
mov eax, dword [r12 + 0xf4]
cmp eax, 2
je 0x10162c7
cmp eax, 3
jne 0x1016319
lea r8, [0x010092d8]
lea rdx, [0x01008fe0]
mov rcx, r12
call fcn.0101d7bc
lea r8, [0x01009300]
lea rdx, [0x01008ff8]
mov rcx, r12
call fcn.0101d7bc
mov rcx, r12
call fcn.0101dedc
cmp dword [r12 + 0x158], r13d
jne 0x1016319
lea rcx, [0x01009330]
call fcn.01011d38
mov rcx, r12
call fcn.0101e01c
mov rcx, r12
call fcn.01019430
cmp eax, r14d
jne 0x1016332
lea rcx, [0x01009378]
call fcn.01011d38
cmp dword [r12 + 0x58], r13d
jne 0x10167cc
mov rax, qword [0x01045880]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x48]
call fcn.0100f8bc
lea rdx, [r12 + 0x28]
mov rax, qword [rdx]
cmp qword [rax - 0x10], rbp
je 0x101638f
lea rcx, [rsp + 0x30]
call fcn.0100f74c
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.01020600
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.0100faec
lea rcx, [rsp + 0x28]
call fcn.0100f940
mov rcx, r12
call fcn.010193fc
cmp eax, r13d
jne 0x1016410
lea rdx, [r12 + 0x108]
lea rcx, [rsp + 0x30]
call fcn.0100f74c
mov rdi, rax
lea rdx, [r12 + 0x128]
lea rcx, [rsp + 0x28]
call fcn.0100f74c
mov r8, rdi
mov rdx, rax
mov rcx, r12
call fcn.0101e15c
cmp dword [r12 + 0x158], r13d
jne 0x1016410
lea rdx, [r12 + 0x108]
lea rcx, [rsp + 0x30]
call fcn.0100f74c
mov rdi, rax
lea rdx, [r12 + 0x128]
lea rcx, [rsp + 0x28]
call fcn.0100f74c
mov r8, rdi
mov rdx, rax
mov rcx, r12
call fcn.0101e738
mov rax, qword [0x01045880]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.0100f8bc
mov rdx, qword [0x01045880]
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x20]
call fcn.0100f8bc
mov rdx, qword [0x01045880]
mov qword [rsp + 0x38], rdx
lea rcx, [rsp + 0x38]
call fcn.0100f8bc
mov rdx, qword [0x01045880]
mov qword [rsp + 0x28], rdx
lea rcx, [rsp + 0x28]
call fcn.0100f8bc
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.0100faec
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.0100faec
lea rcx, [rsp + 0x38]
call fcn.0100f8f0
mov rcx, qword [rsp + 0x38]
call fcn.01029ab4
mov r15, qword [rsp + 0x40]
mov ebx, 1
mov r8d, r13d
cmp r8, qword [r15 - 0x10]
jae 0x101651b
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.0101009c
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.0100faec
lea rcx, [rsp + 0x50]
call fcn.0100f940
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.01010078
xor edx, edx
lea rsi, [0x010093a8]
mov rdi, qword [rax]
lea ecx, [rdx + 2]
repe cmpsw word [rsi], word [rdi]
je 0x10164fe
sbb edx, edx
sbb edx, 0xffffffff
movzx edi, bpl
cmp edx, ebp
cmove edi, ebx
lea rcx, [rsp + 0x30]
call fcn.0100f940
cmp dil, bpl
jne 0x101651b
add r13d, ebx
jmp 0x10164a4
lea edi, [r13 - 1]
cmp edi, ebp
mov rbx, qword [rsp + 0x38]
jle 0x1016785
mov eax, r13d
cmp rax, qword [r15 - 0x10]
jae 0x1016785
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 0x101658a
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.0100f990
nop
lea rcx, [rsp + 0x50]
call fcn.0100f8f0
mov rcx, qword [rsp + 0x50]
call fcn.01029ab4
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.010297a4
cmp rax, rbp
je 0x1016616
sub rax, rbx
sar rax, 1
cmp eax, ebp
jl 0x1016616
mov rcx, qword [r15 - 0x10]
sub ecx, edi
cmp eax, ecx
jge 0x1016616
movsxd r8, edi
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.0101009c
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.0100faec
lea rcx, [rsp + 0x30]
call fcn.0100f940
mov rdi, qword [rsp + 0x20]
mov rdx, rdi
lea rcx, [0x01009450]
call fcn.01011d38
jmp 0x101662a
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.0100faec
mov rdi, qword [rsp + 0x20]
lea rax, [0x0100def0]
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.01034300
mov dword [rsp + 0xb0], ebp
xor edx, edx
lea r8d, [rdx + 0x2c]
lea rcx, [rsp + 0xb4]
call fcn.01034300
nop
cmp rdi, rbp
jne 0x101668a
mov r13d, 1
jmp 0x10166ca
mov rdx, rdi
lea rcx, [rsp + 0x80]
call fcn.01025fb8
mov r14d, eax
cmp eax, ebp
jne 0x10166c4
mov r13d, 1
cmp dword [rsp + 0x98], r13d
jne 0x10166ca
mov r8d, r13d
xor edx, edx
lea rcx, [0x010094c0]
call fcn.01011d38
jmp 0x101672b
mov r13d, 1
mov r8d, dword [rsp + 0x98]
mov edx, r14d
lea rcx, [0x01009550]
call fcn.01011d38
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.0100f74c
mov rsi, rax
lea rdx, [r12 + 0x108]
lea rcx, [rsp + 0x70]
call fcn.0100f74c
mov rdi, rax
lea rdx, [r12 + 0x128]
lea rcx, [rsp + 0x68]
call fcn.0100f74c
mov r9, rsi
mov r8, rdi
mov rdx, rax
mov rcx, r12
call fcn.0101ed14
mov rcx, r12
call fcn.0101f240
nop
lea rcx, [rsp + 0x80]
call fcn.0102614c
nop
lea rcx, [rsp + 0x50]
call fcn.0100f940
nop
lea rcx, [rsp + 0x28]
call fcn.0100f940
nop
lea rcx, [rsp + 0x38]
call fcn.0100f940
nop
lea rcx, [rsp + 0x20]
call fcn.0100f940
nop
lea rcx, [rsp + 0x40]
call fcn.0100f940
nop
lea rcx, [rsp + 0x48]
call fcn.0100f940
jmp 0x10167cc
lea rcx, [0x010093b0]
call fcn.01011d38
nop
lea rcx, [rsp + 0x28]
call fcn.0100f940
nop
lea rcx, [rsp + 0x38]
call fcn.0100f940
nop
lea rcx, [rsp + 0x20]
call fcn.0100f940
nop
lea rcx, [rsp + 0x40]
call fcn.0100f940
nop
lea rcx, [rsp + 0x48]
call fcn.0100f940
xor eax, eax
jmp 0x10167db
lea rcx, [0x010095e0]
call fcn.01011d38
mov eax, r13d
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.01028cb0
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