Function at 0x1400150f0
Capabilities:
Get hostname

Disassembly:
push rbp
push r14
lea rbp, [rsp - 0x1e8]
sub rsp, 0x2e8
mov rax, qword [0x1400b1008]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov byte [rsp + 0x20], cl
lea r8, [rsp + 0x38]
mov qword [rsp + 0x300], rbx
lea rcx, [0x1400d69b0]
xor ebx, ebx
mov dword [rbp + 0x30], reloc.WS2_32.dll_recv
xor r9d, r9d
mov qword [rsp + 0x38], rbx
mov edx, 0x40f
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov dword [rbp + 0x38], 0x101
mov dword [rbp + 0x34], reloc.WS2_32.dll_recv
call fcn.140016cc0
mov r14, qword [rsp + 0x38]
test al, al
je 0x1400156f7
xor r9d, r9d
mov qword [rsp + 0x2e0], r15
lea r8, [rsp + 0x40]
mov edx, 0x99a
lea rcx, [0x1400d69b0]
call fcn.140016cc0
mov r15, qword [rsp + 0x40]
test al, al
je 0x1400156e2
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, 0x42f
lea rcx, [0x1400d69b0]
call fcn.140016cc0
test al, al
je 0x1400156d0
xor r8d, r8d
lea rdx, [rsp + 0x28]
mov ecx, 0x3eb
call fcn.140018a10
test al, al
je 0x1400156be
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x1400156be
lea r9, [rbp + 0x34]
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0xc0]
call fcn.14001a2b0
test eax, eax
je 0x1400156be
lea rax, [rsp + 0x48]
mov qword [rsp + 0x308], rsi
mov qword [rbp - 0x20], rax
mov ecx, 0x1000
lea rax, [rbp + 0x40]
mov qword [rsp + 0x310], rdi
mov qword [rbp - 0x18], rax
mov qword [rsp + 0x48], rbx
mov qword [rbp + 0x40], rbx
call fcn.14006bdc0
mov qword [rbp - 0x58], rbx
xorps xmm0, xmm0
mov qword [rbp - 0x48], rbx
xorps xmm1, xmm1
mov qword [rbp + 0x20], rbx
test rax, rax
jne 0x140015284
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x50], rbx
movdqa xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rbx
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmmword [rbp], xmm0
movdqa xmmword [rbp + 0x10], xmm1
mov dword [rbp - 0x28], 7
jmp 0x1400152be
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
add rax, 0x1000
mov qword [rbp - 0x30], rax
lea rax, [0x14000c760]
mov qword [rbp - 0x60], rax
lea rax, [0x14000c840]
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x28], ebx
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmmword [rbp], xmm1
movdqa xmmword [rbp + 0x10], xmm0
lea rcx, [rbp - 0x60]
call fcn.14000d540
mov edx, 1
lea rcx, [rbp - 0x60]
call fcn.14000cae0
mov rdi, 0xffffffffffffffff
mov rbx, rdi
nop
inc rbx
cmp byte [r14 + rbx], 0
jne 0x1400152e0
mov esi, 0xffffffff
cmp rbx, rsi
jbe 0x140015315
cmp dword [rbp - 0x28], 0
jne 0x140015315
mov rax, qword [rbp - 0x58]
mov dword [rbp - 0x28], 3
test rax, rax
je 0x140015315
mov edx, 3
lea rcx, [rbp - 0x60]
call rax
mov r8d, ebx
lea rcx, [rbp - 0x60]
mov rdx, r14
call fcn.14000d210
mov edx, 2
lea rcx, [rbp - 0x60]
call fcn.14000cae0
mov rbx, rdi
inc rbx
cmp byte [r15 + rbx], 0
jne 0x140015335
cmp rbx, rsi
jbe 0x140015365
cmp dword [rbp - 0x28], 0
jne 0x140015365
mov rax, qword [rbp - 0x58]
mov dword [rbp - 0x28], 3
test rax, rax
je 0x140015365
mov edx, 3
lea rcx, [rbp - 0x60]
call rax
mov r8d, ebx
lea rcx, [rbp - 0x60]
mov rdx, r15
call fcn.14000d210
mov edx, 3
lea rcx, [rbp - 0x60]
call fcn.14000cae0
mov edx, recv
lea rcx, [rbp - 0x60]
call fcn.14000cae0
mov edx, 4
lea rcx, [rbp - 0x60]
call fcn.14000cae0
lea rdx, [rbp + 0x68]
mov ecx, 0x7241be
call fcn.140019fe0
mov rsi, rax
mov rbx, rdi
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400153b2
mov eax, 0xffffffff
cmp rbx, rax
jbe 0x1400153e6
cmp dword [rbp - 0x28], 0
jne 0x1400153e6
mov rax, qword [rbp - 0x58]
mov dword [rbp - 0x28], 3
test rax, rax
je 0x1400153e6
mov edx, 3
lea rcx, [rbp - 0x60]
call rax
mov r8d, ebx
lea rcx, [rbp - 0x60]
mov rdx, rsi
call fcn.14000d210
mov edx, 5
lea rcx, [rbp - 0x60]
call fcn.14000cae0
call fcn.14001a1e0
mov rsi, rax
mov rbx, rdi
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x140015410
mov eax, 0xffffffff
cmp rbx, rax
jbe 0x140015444
cmp dword [rbp - 0x28], 0
jne 0x140015444
mov rax, qword [rbp - 0x58]
mov dword [rbp - 0x28], 3
test rax, rax
je 0x140015444
mov edx, 3
lea rcx, [rbp - 0x60]
call rax
mov r8d, ebx
lea rcx, [rbp - 0x60]
mov rdx, rsi
call fcn.14000d210
mov edx, 6
lea rcx, [rbp - 0x60]
call fcn.14000cae0
mov edx, 0x40
lea rcx, [rbp - 0x60]
call fcn.14000cae0
mov edx, 7
lea rcx, [rbp - 0x60]
call fcn.14000cae0
lea rax, [rbp + 0x48]
mov rbx, rdi
inc rbx
cmp byte [rax + rbx], 0
jne 0x140015484
mov esi, 0xffffffff
cmp rbx, rsi
jbe 0x1400154b8
cmp dword [rbp - 0x28], 0
jne 0x1400154b8
mov rax, qword [rbp - 0x58]
mov dword [rbp - 0x28], 3
test rax, rax
je 0x1400154b8
mov edx, 3
lea rcx, [rbp - 0x60]
call rax
mov r8d, ebx
lea rdx, [rbp + 0x48]
lea rcx, [rbp - 0x60]
call fcn.14000d210
mov edx, 8
lea rcx, [rbp - 0x60]
call fcn.14000cae0
lea rax, [rbp + 0xc0]
mov rbx, rdi
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400154e0
cmp rbx, rsi
jbe 0x14001550f
cmp dword [rbp - 0x28], 0
jne 0x14001550f
mov rax, qword [rbp - 0x58]
mov dword [rbp - 0x28], 3
test rax, rax
je 0x14001550f
mov edx, 3
lea rcx, [rbp - 0x60]
call rax
mov r8d, ebx
lea rdx, [rbp + 0xc0]
lea rcx, [rbp - 0x60]
call fcn.14000d210
mov edx, 9
lea rcx, [rbp - 0x60]
call fcn.14000cae0
lea rax, [rbp + 0x58]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140015534
cmp rdi, rsi
mov rsi, qword [rsp + 0x308]
jbe 0x14001556b
cmp dword [rbp - 0x28], 0
jne 0x14001556b
mov rax, qword [rbp - 0x58]
mov dword [rbp - 0x28], 3
test rax, rax
je 0x14001556b
mov edx, 3
lea rcx, [rbp - 0x60]
call rax
mov r8d, edi
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x60]
call fcn.14000d210
mov edx, 0xa
lea rcx, [rbp - 0x60]
call fcn.14000cae0
mov rax, qword [rbp - 0x10]
mov rdi, qword [rsp + 0x310]
test rax, rax
je 0x1400155be
cmp dword [rax + 0x18], 0
jne 0x1400155be
cmp dword [rax + 0x14], 0xa
je 0x1400155ab
inc dword [rax + 0x10]
jmp 0x1400155be
cmp byte [rax + 0x1c], 0
je 0x1400155ba
inc dword [rax + 0x10]
mov byte [rax + 0x1c], 0
jmp 0x1400155be
mov byte [rax + 0x1c], 1
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x38]
sub rax, rcx
cmp rax, 1
jae 0x1400155e5
mov edx, 1
lea rcx, [rbp - 0x60]
call fcn.14000c910
test al, al
je 0x1400155f5
mov rcx, qword [rbp - 0x38]
cmp byte [rsp + 0x20], 0
setne al
add al, 0xc2
mov byte [rcx], al
inc qword [rbp - 0x38]
lea rcx, [rbp - 0x60]
call fcn.14000d860
cmp dword [rbp - 0x28], 0
jne 0x140015628
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x40]
sub r8, rdx
je 0x140015628
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x140015628
lea rcx, [rbp - 0x60]
call rax
xor ebx, ebx
mov qword [rbp - 0x60], rbx
jmp 0x14001562a
xor ebx, ebx
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x14001563d
lea rcx, [rbp - 0x60]
call rax
mov qword [rbp - 0x50], rbx
cmp dword [rbp - 0x28], 0
jne 0x1400156be
mov r9, qword [rsp + 0x30]
lea rcx, [rbp + 0x80]
mov r8, qword [rsp + 0x28]
mov edx, 0x40
mov qword [rsp + 0x5c], rbx
mov dword [rsp + 0x64], ebx
mov qword [rsp + 0x7c], rbx
mov qword [rbp - 0x7c], rbx
mov qword [rbp - 0x74], rbx
mov qword [rbp - 0x6c], rbx
mov dword [rbp - 0x64], ebx
call fcn.14000f3f0
lea rax, [rbp + 0x80]
mov dword [rsp + 0x58], 2
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 1
call fcn.1400140c0
mov rcx, qword [rsp + 0x48]
call fcn.14006ac0c
cmp qword [rsp + 0x28], 0
je 0x1400156d0
mov rcx, qword [rsp + 0x28]
call fcn.14006ac0c
cmp qword [rsp + 0x30], 0
je 0x1400156e2
mov rcx, qword [rsp + 0x30]
call fcn.14006ac0c
test r15, r15
je 0x1400156ef
mov rcx, r15
call fcn.14006ac0c
mov r15, qword [rsp + 0x2e0]
mov rbx, qword [rsp + 0x300]
test r14, r14
je 0x14001570c
mov rcx, r14
call fcn.14006ac0c
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14001a6d0
add rsp, 0x2e8
pop r14
pop rbp
ret