Function at 0x140003bb8
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1b0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140085930]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov byte [rsp + 0x20], r8b
mov rbx, rdx
mov r13, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea edx, [r12 + 0x41]
lea rcx, [rbp + 0x50]
call qword [sym.imp.WS2_32.dll_gethostname]
lea edi, [r12 + 0xf]
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], r12b
or rsi, 0xffffffffffffffff
cmp byte [rbp + 0x50], r12b
jne 0x140003c3e
mov r8d, r12d
jmp 0x140003c4e
lea rax, [rbp + 0x50]
mov r8, rsi
inc r8
cmp byte [rax + r8], r12b
jne 0x140003c45
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x78]
call fcn.14001e444
nop
lea rdx, [0x140072d02]
lea rcx, [rbp - 0x78]
call fcn.140023d6c
mov r15d, 1
test al, al
je 0x140003c89
mov r8d, r15d
lea rdx, [0x140072de0]
lea rcx, [rbp - 0x78]
call fcn.14001e444
mov qword [rbp - 0x80], rdi
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x68], r12b
lea rcx, [rsp + 0x68]
call fcn.140002c7c
lea rdx, [0x140072d02]
lea rcx, [rsp + 0x68]
call fcn.140023d6c
test al, al
je 0x140003cca
mov r8, r15
lea rdx, [0x140072db8]
lea rcx, [rsp + 0x68]
call fcn.14001e444
mov r9d, 5
xor r8d, r8d
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x78]
call fcn.14001b2c8
mov rdi, rax
mov r9, rsi
mov r8, r15
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.14001b2c8
mov rsi, rax
cmp qword [rbx + 0x18], 0x10
jb 0x140003d04
mov rcx, qword [rbx]
jmp 0x140003d07
mov rcx, rbx
lea r8, [rsp + 0x68]
mov dl, byte [rcx]
lea rcx, [rbp - 0x38]
call fcn.140023ebc
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140023f74
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140023f74
nop
cmp qword [rbp + 0x20], 0x10
jb 0x140003d49
mov rcx, qword [rbp + 8]
call fcn.14002df20
mov esi, select
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x18], r12
mov byte [rbp + 8], r12b
cmp qword [rbp - 0x20], 0x10
jb 0x140003d6a
mov rcx, qword [rbp - 0x38]
call fcn.14002df20
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x28], r12
mov byte [rbp - 0x38], r12b
cmp qword [rbp], 0x10
jb 0x140003d86
mov rcx, qword [rbp - 0x18]
call fcn.14002df20
mov qword [rbp], rsi
mov qword [rbp - 8], r12
mov byte [rbp - 0x18], r12b
cmp qword [rbp + 0x40], 0x10
jb 0x140003da2
mov rcx, qword [rbp + 0x28]
call fcn.14002df20
movsxd r14, dword [rsp + 0x58]
mov r10d, r12d
mov rcx, r12
mov rdx, qword [rsp + 0x60]
mov r9, qword [rsp + 0x48]
test r14d, r14d
jle 0x140003dd8
lea rax, [rsp + 0x48]
cmp rdx, 0x10
cmovae rax, r9
movsx eax, byte [rax + rcx]
add r10d, eax
add rcx, r15
cmp rcx, r14
jl 0x140003dbc
cmp qword [rbx + 0x18], 0x10
jb 0x140003de4
mov rax, qword [rbx]
jmp 0x140003de7
mov rax, rbx
movsx r8d, byte [rax]
add r8d, r10d
mov dword [0x140088160], r8d
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x48], r12
mov byte [rbp - 0x58], r12b
mov r15, r12
test r14d, r14d
jle 0x140003ec1
mov esi, r12d
lea r12, [r14 - 1]
mov r13b, byte [rsp + 0x20]
lea rax, [rsp + 0x48]
test r13b, r13b
je 0x140003e32
cmp rdx, 0x10
cmovae rax, r9
movsx ecx, byte [r12 + rax]
jmp 0x140003e3f
cmp rdx, 0x10
cmovae rax, r9
movsx ecx, byte [r15 + rax]
add ecx, esi
add ecx, r14d
imul r8d, r8d, 0x7df121
add r8d, 0x2490f3
mov dword [0x140088160], r8d
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 3
imul edx, edx, 0x1a
sub r8d, edx
add r8d, ecx
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 3
imul edx, edx, 0x1a
sub r8d, edx
add r8b, 0x61
mov edx, 1
lea rcx, [rbp - 0x58]
call fcn.14001e220
add esi, 2
inc r15
dec r12
cmp r15, r14
jge 0x140003eb4
mov rdx, qword [rsp + 0x60]
mov r9, qword [rsp + 0x48]
mov r8d, dword [0x140088160]
jmp 0x140003e19
mov r13, qword [rsp + 0x28]
xor r12d, r12d
lea esi, [r12 + 0xf]
lea rdx, [rbp - 0x58]
mov rcx, r13
call fcn.14001aee4
nop
cmp qword [rbp - 0x40], 0x10
jb 0x140003ede
mov rcx, qword [rbp - 0x58]
call fcn.14002df20
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x48], r12
mov byte [rbp - 0x58], r12b
cmp qword [rsp + 0x60], 0x10
jb 0x140003efc
mov rcx, qword [rsp + 0x48]
call fcn.14002df20
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], r12
mov byte [rsp + 0x48], r12b
cmp qword [rbp - 0x80], 0x10
jb 0x140003f1c
mov rcx, qword [rsp + 0x68]
call fcn.14002df20
mov qword [rbp - 0x80], rsi
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x68], r12b
cmp qword [rbp - 0x60], 0x10
jb 0x140003f3a
mov rcx, qword [rbp - 0x78]
call fcn.14002df20
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], r12b
cmp qword [rbx + 0x18], 0x10
jb 0x140003f55
mov rcx, qword [rbx]
call fcn.14002df20
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x10], r12
mov byte [rbx], r12b
mov rax, r13
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14002b700
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret