Function at 0x14003b3f0
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov rax, qword [0x14031f010]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
lea r13d, [r12 + 0x10]
mov dword [rsp + 0x50], r13d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edi, [r12 + 7]
mov qword [rsp + 0x58], r12
lea r15d, [r12 + 0xf]
mov qword [rsp + 0x70], r15
test eax, eax
je 0x14003b4b7
mov qword [rsp + 0x68], r12
mov byte [rsp + 0x58], r12b
lea rax, [rsp + 0x78]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r12b
jne 0x14003b47c
lea rcx, [rsp + 0x58]
cmp rbx, r15
ja 0x14003b4a8
mov qword [rsp + 0x68], rbx
mov r8, rbx
lea rdx, [rsp + 0x78]
call fcn.14012d910
mov byte [rsp + rbx + 0x58], r12b
jmp 0x14003b4e1
lea r9, [rsp + 0x78]
mov rdx, rbx
call fcn.14004c3c4
jmp 0x14003b4e1
mov qword [rsp + 0x68], rdi
mov eax, dword [str.Unknown]
mov dword [rsp + 0x58], eax
movzx eax, word [0x1401df4d4]
mov word [rsp + 0x5c], ax
mov al, byte [0x1401df4d6]
mov byte [rsp + 0x5e], al
mov byte [rsp + 0x5f], r12b
mov dword [rsp + 0x40], 2
lea rcx, [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
lea r14, [0x140339b20]
test eax, eax
je 0x14003b512
lea r8, [rbp + 0x44]
lea rdx, [0x14030baac]
mov rcx, r14
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x40]
call fcn.14012dfc0
lea rax, vtable.std::wstring_convert_class_std::codecvt_utf8_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
mov qword [rbp - 0x40], rax
mov cl, 1
call fcn.1400616a4
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r15
mov byte [rbp - 0x20], r12b
mov qword [rbp], r12
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], rdi
mov word [rbp], r12w
mov word [rbp + 0x28], r12w
mov byte [rbp + 0x2a], r12b
mov ecx, 0x40
call fcn.14005ecd0
mov rbx, rax
mov qword [rsp + 0x50], rax
mov rcx, rax
call fcn.140038848
lea rax, vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
mov qword [rbx], rax
mov qword [rbp + 0x20], r12
mov qword [rbp - 0x38], rbx
mov rcx, qword [rbp - 0x28]
call fcn.1400618a0
mov rdi, rax
lea rcx, [0x140334798]
call fcn.140038558
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.140060cd4
mov dword [rdi + 0x20], r12d
lea rcx, [rdi + 0x28]
lea rdx, [0x1401df5bc]
call fcn.140046a58
mov rcx, qword [rbp - 0x28]
cmp rcx, rdi
je 0x14003b5f6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14003b5e9
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov qword [rbp - 0x28], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14003b612
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov qword [rbp + 0x30], r12
mov r9, r14
cmp word [0x140339b20], r12w
je 0x14003b62d
add r9, 2
cmp word [r9], r12w
jne 0x14003b623
mov r8, r14
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x40]
call fcn.140048624
mov dword [rsp + 0x40], 6
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.14003b210
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x58]
sub rax, rcx
mov rdx, qword [rbp - 0x78]
cmp rax, rdx
jb 0x14003bade
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], r13
cmovae r9, qword [rbp - 0x68]
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], r13
cmovae rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call fcn.14004fc50
mov dword [rsp + 0x40], r15d
mov rax, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003b6b7
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
lea rdi, [rcx + rax]
mov rax, rsi
jb 0x14003b6c7
mov rax, qword [rsi]
lea rbx, [rcx + rax]
mov rcx, rsi
jb 0x14003b6d3
mov rcx, qword [rsi]
mov r8, rbx
sub r8, rcx
mov edx, reloc.WLDAP32.dll_Ordinal_45
call fcn.14012d870
mov r8, rbx
test rax, rax
cmovne r8, rax
cmp r8, rbx
je 0x14003b70d
lea rax, [r8 + 1]
jmp 0x14003b708
mov cl, byte [rax]
cmp cl, 0x2d
je 0x14003b705
mov byte [r8], cl
inc r8
inc rax
cmp rax, rbx
jne 0x14003b6f8
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140046c34
mov r14, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003b72e
mov rcx, qword [rsi]
mov r14, rcx
jmp 0x14003b731
mov rcx, rsi
mov rax, qword [rsi + 0x10]
lea rbx, [rcx + rax]
mov rdi, rsi
jb 0x14003b741
mov rdi, qword [rsi]
cmp rdi, rbx
je 0x14003b761
sub r14, rdi
movzx ecx, byte [rdi]
call fcn.140135d60
mov byte [r14 + rdi], al
inc rdi
cmp rdi, rbx
jne 0x14003b749
mov rax, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003b76d
mov rcx, qword [rsi]
lea rdi, [rcx + rax]
mov rcx, rsi
jb 0x14003b779
mov rcx, qword [rsi]
lea rbx, [rcx + rax]
mov rcx, rsi
jb 0x14003b785
mov rcx, qword [rsi]
mov r8, rbx
sub r8, rcx
mov edx, 0x7b
call fcn.14012d870
mov r8, rbx
test rax, rax
cmovne r8, rax
cmp r8, rbx
je 0x14003b7bf
lea rax, [r8 + 1]
jmp 0x14003b7ba
mov cl, byte [rax]
cmp cl, 0x7b
je 0x14003b7b7
mov byte [r8], cl
inc r8
inc rax
cmp rax, rbx
jne 0x14003b7aa
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140046c34
mov r14, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003b7e0
mov rcx, qword [rsi]
mov r14, rcx
jmp 0x14003b7e3
mov rcx, rsi
mov rax, qword [rsi + 0x10]
lea rbx, [rcx + rax]
mov rdi, rsi
jb 0x14003b7f3
mov rdi, qword [rsi]
cmp rdi, rbx
je 0x14003b813
sub r14, rdi
movzx ecx, byte [rdi]
call fcn.140135d60
mov byte [r14 + rdi], al
inc rdi
cmp rdi, rbx
jne 0x14003b7fb
mov rax, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003b81f
mov rcx, qword [rsi]
lea rdi, [rcx + rax]
mov rcx, rsi
jb 0x14003b82b
mov rcx, qword [rsi]
lea rbx, [rcx + rax]
mov rcx, rsi
jb 0x14003b837
mov rcx, qword [rsi]
mov r8, rbx
sub r8, rcx
mov edx, 0x7d
call fcn.14012d870
mov r8, rbx
test rax, rax
cmovne r8, rax
cmp r8, rbx
je 0x14003b871
lea rax, [r8 + 1]
jmp 0x14003b86c
mov cl, byte [rax]
cmp cl, 0x7d
je 0x14003b869
mov byte [r8], cl
inc r8
inc rax
cmp rax, rbx
jne 0x14003b85c
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140046c34
cmp qword [rsi + 0x18], r13
jb 0x14003b88f
mov rcx, qword [rsi]
mov r14, rcx
jmp 0x14003b895
mov rcx, rsi
mov r14, rsi
mov rbx, qword [rsi + 0x10]
add rbx, rcx
mov rdi, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003b8a8
mov rdi, qword [rsi]
cmp rdi, rbx
je 0x14003b8c4
sub r14, rdi
movzx ecx, byte [rdi]
call fcn.140135d60
mov byte [rdi + r14], al
inc rdi
cmp rdi, rbx
jne 0x14003b8b0
xor r8d, r8d
lea r14, [0x14030bab4]
mov rdx, r14
mov rcx, rsi
call fcn.140046b60
lea rdi, [0x14030bab8]
jmp 0x14003b944
mov r8, rbx
call fcn.140046b60
cmp rax, 0xffffffffffffffff
je 0x14003b935
mov r8, qword [rsi + 0x10]
cmp r8, rbx
jb 0x14003bae4
sub rax, rbx
inc rax
mov rcx, r8
sub rcx, rbx
cmp rcx, rax
cmovb rax, rcx
mov rcx, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003b91c
mov rcx, qword [rsi]
add rcx, rbx
sub r8, rax
mov qword [rsi + 0x10], r8
sub r8, rbx
inc r8
lea rdx, [rcx + rax]
call fcn.14012d910
lea r8, [rbx + 1]
mov rdx, r14
mov rcx, rsi
call fcn.140046b60
cmp rax, 0xffffffffffffffff
mov rbx, rax
mov rdx, rdi
mov rcx, rsi
jne 0x14003b8e2
xor r8d, r8d
call fcn.140046b60
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x14003b9c9
mov r8, rax
mov rdx, r14
mov rcx, rsi
call fcn.140046b60
cmp rax, 0xffffffffffffffff
je 0x14003b9bd
mov r8, qword [rsi + 0x10]
cmp r8, rbx
jb 0x14003bae4
sub rax, rbx
inc rax
mov rcx, r8
sub rcx, rbx
cmp rcx, rax
cmovb rax, rcx
mov rcx, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003b9a4
mov rcx, qword [rsi]
add rcx, rbx
sub r8, rax
mov qword [rsi + 0x10], r8
sub r8, rbx
inc r8
lea rdx, [rcx + rax]
call fcn.14012d910
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rsi
jmp 0x14003b956
cmp qword [rsi + 0x10], 0x20
jbe 0x14003b9e8
mov qword [rsi + 0x10], reloc.WLDAP32.dll_Ordinal_32
mov rax, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003b9e4
mov rax, qword [rsi]
mov byte [rax + 0x20], r12b
mov ebx, 0x1000
mov rdx, qword [rbp - 0x50]
cmp rdx, r13
jb 0x14003ba23
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, rbx
jb 0x14003ba1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003baea
call fcn.14005dff0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r15
mov byte [rbp - 0x68], r12b
mov rdx, qword [rbp - 0x70]
cmp rdx, r13
jb 0x14003ba67
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rbx
jb 0x14003ba61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003baf0
call fcn.14005dff0
nop
lea rcx, [rbp - 0x40]
call fcn.140045298
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, r13
jb 0x14003baa5
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, rbx
jb 0x14003baa0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bad8
call fcn.14005dff0
mov rax, rsi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14005de20
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14015e440
nop
call fcn.140037b58
int3
call fcn.14004a988
nop
call fcn.14015e440
nop
call fcn.14015e440
int3