Function at 0x14003bac0
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 [0x140322010]
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 0x14003bb87
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 0x14003bb4c
lea rcx, [rsp + 0x58]
cmp rbx, r15
ja 0x14003bb78
mov qword [rsp + 0x68], rbx
mov r8, rbx
lea rdx, [rsp + 0x78]
call fcn.1401302d0
mov byte [rsp + rbx + 0x58], r12b
jmp 0x14003bbb1
lea r9, [rsp + 0x78]
mov rdx, rbx
call fcn.14004ed78
jmp 0x14003bbb1
mov qword [rsp + 0x68], rdi
mov eax, dword [str.Unknown]
mov dword [rsp + 0x58], eax
movzx eax, word [0x1401e14e4]
mov word [rsp + 0x5c], ax
mov al, byte [0x1401e14e6]
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, [0x14033cb20]
test eax, eax
je 0x14003bbe2
lea r8, [rbp + 0x44]
lea rdx, [0x14030dd3c]
mov rcx, r14
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x40]
call fcn.140130980
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.140064064
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.140061690
mov rbx, rax
mov qword [rsp + 0x50], rax
mov rcx, rax
call fcn.140038c58
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.140064260
mov rdi, rax
lea rcx, [0x140337798]
call fcn.140038968
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.140063694
mov dword [rdi + 0x20], r12d
lea rcx, [rdi + 0x28]
lea rdx, [0x1401e15cc]
call fcn.140049384
mov rcx, qword [rbp - 0x28]
cmp rcx, rdi
je 0x14003bcc6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14003bcb9
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 0x14003bce2
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov qword [rbp + 0x30], r12
mov r9, r14
cmp word [0x14033cb20], r12w
je 0x14003bcfd
add r9, 2
cmp word [r9], r12w
jne 0x14003bcf3
mov r8, r14
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x40]
call fcn.14004af54
mov dword [rsp + 0x40], 6
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.14003b8e0
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x58]
sub rax, rcx
mov rdx, qword [rbp - 0x78]
cmp rax, rdx
jb 0x14003c1ae
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.140052604
mov dword [rsp + 0x40], r15d
mov rax, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003bd87
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
lea rdi, [rcx + rax]
mov rax, rsi
jb 0x14003bd97
mov rax, qword [rsi]
lea rbx, [rcx + rax]
mov rcx, rsi
jb 0x14003bda3
mov rcx, qword [rsi]
mov r8, rbx
sub r8, rcx
mov edx, reloc.WLDAP32.dll_Ordinal_45
call fcn.140130230
mov r8, rbx
test rax, rax
cmovne r8, rax
cmp r8, rbx
je 0x14003bddd
lea rax, [r8 + 1]
jmp 0x14003bdd8
mov cl, byte [rax]
cmp cl, 0x2d
je 0x14003bdd5
mov byte [r8], cl
inc r8
inc rax
cmp rax, rbx
jne 0x14003bdc8
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140049560
mov r14, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003bdfe
mov rcx, qword [rsi]
mov r14, rcx
jmp 0x14003be01
mov rcx, rsi
mov rax, qword [rsi + 0x10]
lea rbx, [rcx + rax]
mov rdi, rsi
jb 0x14003be11
mov rdi, qword [rsi]
cmp rdi, rbx
je 0x14003be31
sub r14, rdi
movzx ecx, byte [rdi]
call fcn.140138720
mov byte [r14 + rdi], al
inc rdi
cmp rdi, rbx
jne 0x14003be19
mov rax, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003be3d
mov rcx, qword [rsi]
lea rdi, [rcx + rax]
mov rcx, rsi
jb 0x14003be49
mov rcx, qword [rsi]
lea rbx, [rcx + rax]
mov rcx, rsi
jb 0x14003be55
mov rcx, qword [rsi]
mov r8, rbx
sub r8, rcx
mov edx, 0x7b
call fcn.140130230
mov r8, rbx
test rax, rax
cmovne r8, rax
cmp r8, rbx
je 0x14003be8f
lea rax, [r8 + 1]
jmp 0x14003be8a
mov cl, byte [rax]
cmp cl, 0x7b
je 0x14003be87
mov byte [r8], cl
inc r8
inc rax
cmp rax, rbx
jne 0x14003be7a
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140049560
mov r14, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003beb0
mov rcx, qword [rsi]
mov r14, rcx
jmp 0x14003beb3
mov rcx, rsi
mov rax, qword [rsi + 0x10]
lea rbx, [rcx + rax]
mov rdi, rsi
jb 0x14003bec3
mov rdi, qword [rsi]
cmp rdi, rbx
je 0x14003bee3
sub r14, rdi
movzx ecx, byte [rdi]
call fcn.140138720
mov byte [r14 + rdi], al
inc rdi
cmp rdi, rbx
jne 0x14003becb
mov rax, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003beef
mov rcx, qword [rsi]
lea rdi, [rcx + rax]
mov rcx, rsi
jb 0x14003befb
mov rcx, qword [rsi]
lea rbx, [rcx + rax]
mov rcx, rsi
jb 0x14003bf07
mov rcx, qword [rsi]
mov r8, rbx
sub r8, rcx
mov edx, 0x7d
call fcn.140130230
mov r8, rbx
test rax, rax
cmovne r8, rax
cmp r8, rbx
je 0x14003bf41
lea rax, [r8 + 1]
jmp 0x14003bf3c
mov cl, byte [rax]
cmp cl, 0x7d
je 0x14003bf39
mov byte [r8], cl
inc r8
inc rax
cmp rax, rbx
jne 0x14003bf2c
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140049560
cmp qword [rsi + 0x18], r13
jb 0x14003bf5f
mov rcx, qword [rsi]
mov r14, rcx
jmp 0x14003bf65
mov rcx, rsi
mov r14, rsi
mov rbx, qword [rsi + 0x10]
add rbx, rcx
mov rdi, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003bf78
mov rdi, qword [rsi]
cmp rdi, rbx
je 0x14003bf94
sub r14, rdi
movzx ecx, byte [rdi]
call fcn.140138720
mov byte [rdi + r14], al
inc rdi
cmp rdi, rbx
jne 0x14003bf80
xor r8d, r8d
lea r14, [0x14030dd44]
mov rdx, r14
mov rcx, rsi
call fcn.14004948c
lea rdi, [0x14030dd48]
jmp 0x14003c014
mov r8, rbx
call fcn.14004948c
cmp rax, 0xffffffffffffffff
je 0x14003c005
mov r8, qword [rsi + 0x10]
cmp r8, rbx
jb 0x14003c1b4
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 0x14003bfec
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.1401302d0
lea r8, [rbx + 1]
mov rdx, r14
mov rcx, rsi
call fcn.14004948c
cmp rax, 0xffffffffffffffff
mov rbx, rax
mov rdx, rdi
mov rcx, rsi
jne 0x14003bfb2
xor r8d, r8d
call fcn.14004948c
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x14003c099
mov r8, rax
mov rdx, r14
mov rcx, rsi
call fcn.14004948c
cmp rax, 0xffffffffffffffff
je 0x14003c08d
mov r8, qword [rsi + 0x10]
cmp r8, rbx
jb 0x14003c1b4
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 0x14003c074
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.1401302d0
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rsi
jmp 0x14003c026
cmp qword [rsi + 0x10], 0x20
jbe 0x14003c0b8
mov qword [rsi + 0x10], reloc.WLDAP32.dll_Ordinal_32
mov rax, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003c0b4
mov rax, qword [rsi]
mov byte [rax + 0x20], r12b
mov ebx, 0x1000
mov rdx, qword [rbp - 0x50]
cmp rdx, r13
jb 0x14003c0f3
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, rbx
jb 0x14003c0ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c1ba
call fcn.1400609b0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r15
mov byte [rbp - 0x68], r12b
mov rdx, qword [rbp - 0x70]
cmp rdx, r13
jb 0x14003c137
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rbx
jb 0x14003c131
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c1c0
call fcn.1400609b0
nop
lea rcx, [rbp - 0x40]
call fcn.140047bc4
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, r13
jb 0x14003c175
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, rbx
jb 0x14003c170
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c1a8
call fcn.1400609b0
mov rax, rsi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400607e0
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.140160d50
nop
call fcn.140037f68
int3
call fcn.14004d2b8
nop
call fcn.140160d50
nop
call fcn.140160d50
int3