Function at 0x1014244
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 [0x01042480]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov edi, edx
mov r12, rcx
lea rcx, [0x010070c0]
call fcn.0100fdd0
mov r13d, 1
cmp edi, r13d
jne 0x10142c6
lea rcx, [0x01007110]
call fcn.0100fdd0
mov dword [0x01044b80], 9
mov dword [0x01044b84], r13d
xor ebp, ebp
mov dword [0x01044db4], ebp
xor eax, eax
jmp 0x10148ff
mov rcx, r12
call fcn.01014938
mov rcx, r12
call fcn.01014a6c
xor ebp, ebp
cmp eax, ebp
jne 0x10142ef
lea rcx, [0x01007160]
call fcn.0100fdd0
xor eax, eax
jmp 0x10148ff
mov rax, qword [r12 + 0x138]
mov r14d, 0xffffff9d
cmp qword [rax - 0x10], rbp
je 0x101434f
lea rcx, [r12 + 0x128]
mov rax, qword [rcx]
cmp qword [rax - 0x10], rbp
je 0x101434f
xor edx, edx
call fcn.0100df30
mov rdi, rax
xor edx, edx
lea rcx, [r12 + 0x138]
call fcn.0100df30
mov rcx, rax
mov r9, rdi
xor r8d, r8d
lea rdx, [0x010094b8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov dword [r12 + 0x140], eax
jmp 0x1014352
mov edi, r14d
mov edx, edi
lea rcx, [0x010094e0]
call fcn.0100fdd0
cmp edi, r13d
je 0x1014371
lea rcx, [0x010071c0]
call fcn.0100fdd0
mov rcx, r12
call fcn.01014edc
cmp eax, ebp
jne 0x1014390
lea rcx, [0x01007230]
call fcn.0100fdd0
xor eax, eax
jmp 0x10148ff
mov rcx, r12
call fcn.01019fdc
mov edi, eax
cmp dword [r12 + 0x158], r13d
jne 0x10143c2
lea rcx, [0x01007288]
call fcn.0100fdd0
mov rcx, r12
call fcn.0101b294
cmp edi, ebp
je 0x10143c0
cmp eax, ebp
jne 0x10143d9
mov edi, ebp
cmp edi, ebp
jne 0x10143d9
lea rcx, [0x010072c0]
call fcn.0100fdd0
xor eax, eax
jmp 0x10148ff
mov eax, dword [r12 + 0xf4]
cmp eax, 2
je 0x10143eb
cmp eax, 3
jne 0x101443d
lea r8, [0x01007318]
lea rdx, [0x01007020]
mov rcx, r12
call fcn.0101c550
lea r8, [0x01007340]
lea rdx, [0x01007038]
mov rcx, r12
call fcn.0101c550
mov rcx, r12
call fcn.0101cc70
cmp dword [r12 + 0x158], r13d
jne 0x101443d
lea rcx, [0x01007370]
call fcn.0100fdd0
mov rcx, r12
call fcn.0101cdb0
mov rcx, r12
call fcn.010174a8
cmp eax, r14d
jne 0x1014456
lea rcx, [0x010073b8]
call fcn.0100fdd0
cmp dword [r12 + 0x58], r13d
jne 0x10148f0
mov rax, qword [0x01043880]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x48]
call fcn.0100d95c
lea rdx, [r12 + 0x28]
mov rax, qword [rdx]
cmp qword [rax - 0x10], rbp
je 0x10144b3
lea rcx, [rsp + 0x30]
call fcn.0100d7ec
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.0101f73c
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.0100db8c
lea rcx, [rsp + 0x28]
call fcn.0100d9e0
mov rcx, r12
call fcn.01017474
cmp eax, r13d
jne 0x1014534
lea rdx, [r12 + 0x108]
lea rcx, [rsp + 0x30]
call fcn.0100d7ec
mov rdi, rax
lea rdx, [r12 + 0x128]
lea rcx, [rsp + 0x28]
call fcn.0100d7ec
mov r8, rdi
mov rdx, rax
mov rcx, r12
call fcn.0101cef0
cmp dword [r12 + 0x158], r13d
jne 0x1014534
lea rdx, [r12 + 0x108]
lea rcx, [rsp + 0x30]
call fcn.0100d7ec
mov rdi, rax
lea rdx, [r12 + 0x128]
lea rcx, [rsp + 0x28]
call fcn.0100d7ec
mov r8, rdi
mov rdx, rax
mov rcx, r12
call fcn.0101d4cc
mov rax, qword [0x01043880]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.0100d95c
mov rdx, qword [0x01043880]
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x20]
call fcn.0100d95c
mov rdx, qword [0x01043880]
mov qword [rsp + 0x38], rdx
lea rcx, [rsp + 0x38]
call fcn.0100d95c
mov rdx, qword [0x01043880]
mov qword [rsp + 0x28], rdx
lea rcx, [rsp + 0x28]
call fcn.0100d95c
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.0100db8c
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.0100db8c
lea rcx, [rsp + 0x38]
call fcn.0100d990
mov rcx, qword [rsp + 0x38]
call fcn.01027d54
mov r15, qword [rsp + 0x40]
mov ebx, 1
mov r8d, r13d
cmp r8, qword [r15 - 0x10]
jae 0x101463f
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.0100e13c
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.0100db8c
lea rcx, [rsp + 0x50]
call fcn.0100d9e0
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.0100e118
xor edx, edx
lea rsi, [0x010073e8]
mov rdi, qword [rax]
lea ecx, [rdx + 2]
repe cmpsw word [rsi], word [rdi]
je 0x1014622
sbb edx, edx
sbb edx, 0xffffffff
movzx edi, bpl
cmp edx, ebp
cmove edi, ebx
lea rcx, [rsp + 0x30]
call fcn.0100d9e0
cmp dil, bpl
jne 0x101463f
add r13d, ebx
jmp 0x10145c8
lea edi, [r13 - 1]
cmp edi, ebp
mov rbx, qword [rsp + 0x38]
jle 0x10148a9
mov eax, r13d
cmp rax, qword [r15 - 0x10]
jae 0x10148a9
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 0x10146ae
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.0100da30
nop
lea rcx, [rsp + 0x50]
call fcn.0100d990
mov rcx, qword [rsp + 0x50]
call fcn.01027d54
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.01027a44
cmp rax, rbp
je 0x101473a
sub rax, rbx
sar rax, 1
cmp eax, ebp
jl 0x101473a
mov rcx, qword [r15 - 0x10]
sub ecx, edi
cmp eax, ecx
jge 0x101473a
movsxd r8, edi
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.0100e13c
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.0100db8c
lea rcx, [rsp + 0x30]
call fcn.0100d9e0
mov rdi, qword [rsp + 0x20]
mov rdx, rdi
lea rcx, [0x01007490]
call fcn.0100fdd0
jmp 0x101474e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.0100db8c
mov rdi, qword [rsp + 0x20]
lea rax, [0x0100bfd8]
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.010328a0
mov dword [rsp + 0xb0], ebp
xor edx, edx
lea r8d, [rdx + 0x2c]
lea rcx, [rsp + 0xb4]
call fcn.010328a0
nop
cmp rdi, rbp
jne 0x10147ae
mov r13d, 1
jmp 0x10147ee
mov rdx, rdi
lea rcx, [rsp + 0x80]
call fcn.01024ba4
mov r14d, eax
cmp eax, ebp
jne 0x10147e8
mov r13d, 1
cmp dword [rsp + 0x98], r13d
jne 0x10147ee
mov r8d, r13d
xor edx, edx
lea rcx, [0x01007500]
call fcn.0100fdd0
jmp 0x101484f
mov r13d, 1
mov r8d, dword [rsp + 0x98]
mov edx, r14d
lea rcx, [0x01007590]
call fcn.0100fdd0
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.0100d7ec
mov rsi, rax
lea rdx, [r12 + 0x108]
lea rcx, [rsp + 0x70]
call fcn.0100d7ec
mov rdi, rax
lea rdx, [r12 + 0x128]
lea rcx, [rsp + 0x68]
call fcn.0100d7ec
mov r9, rsi
mov r8, rdi
mov rdx, rax
mov rcx, r12
call fcn.0101daa8
mov rcx, r12
call fcn.0101dfd4
nop
lea rcx, [rsp + 0x80]
call fcn.01024d38
nop
lea rcx, [rsp + 0x50]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x28]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x38]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x20]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x40]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x48]
call fcn.0100d9e0
jmp 0x10148f0
lea rcx, [0x010073f0]
call fcn.0100fdd0
nop
lea rcx, [rsp + 0x28]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x38]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x20]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x40]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x48]
call fcn.0100d9e0
xor eax, eax
jmp 0x10148ff
lea rcx, [0x01007620]
call fcn.0100fdd0
mov eax, r13d
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.01026f20
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