Function at 0x14003b9b0
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 r15d, r15d
mov dword [rsp + 0x40], r15d
lea r13d, [r15 + 0x10]
mov dword [rsp + 0x50], r13d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edi, [r15 + 7]
mov qword [rsp + 0x58], r15
lea r12d, [r15 + 0xf]
mov qword [rsp + 0x70], r12
test eax, eax
je 0x14003ba74
mov qword [rsp + 0x68], r15
mov byte [rsp + 0x58], r15b
lea rax, [rsp + 0x78]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r15b
jne 0x14003ba39
lea rcx, [rsp + 0x58]
cmp rbx, r12
ja 0x14003ba65
mov qword [rsp + 0x68], rbx
mov r8, rbx
lea rdx, [rsp + 0x78]
call fcn.14012dc80
mov byte [rsp + rbx + 0x58], r15b
jmp 0x14003ba9e
lea r9, [rsp + 0x78]
mov rdx, rbx
call fcn.14004cc58
jmp 0x14003ba9e
mov qword [rsp + 0x68], rdi
mov eax, dword [str.Unknown]
mov dword [rsp + 0x58], eax
movzx eax, word [0x1401df514]
mov word [rsp + 0x5c], ax
mov al, byte [0x1401df516]
mov byte [rsp + 0x5e], al
mov byte [rsp + 0x5f], r15b
mov dword [rsp + 0x40], 2
lea rcx, [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
lea r14, [0x140339960]
test eax, eax
je 0x14003bacf
lea r8, [rbp + 0x44]
lea rdx, [0x14030b534]
mov rcx, r14
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x40]
call fcn.14012e330
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.140061a14
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r12
mov byte [rbp - 0x20], r15b
mov qword [rbp], r15
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], rdi
mov word [rbp], r15w
mov word [rbp + 0x28], r15w
mov byte [rbp + 0x2a], r15b
mov ecx, 0x40
call fcn.14005f040
mov rbx, rax
mov qword [rsp + 0x50], rax
mov rcx, rax
call fcn.1400388c8
lea rax, vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
mov qword [rbx], rax
mov qword [rbp + 0x20], r15
mov qword [rbp - 0x38], rbx
mov rcx, qword [rbp - 0x28]
call fcn.140061c10
mov rdi, rax
lea rcx, [0x1403345d8]
call fcn.1400385e4
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.140061044
mov dword [rdi + 0x20], r15d
lea rcx, [rdi + 0x28]
lea rdx, [0x1401df5fc]
call fcn.140048224
mov rcx, qword [rbp - 0x28]
cmp rcx, rdi
je 0x14003bbb3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14003bba6
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 0x14003bbcf
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov qword [rbp + 0x30], r15
mov r9, r14
cmp word [0x140339960], r15w
je 0x14003bbea
add r9, 2
cmp word [r9], r15w
jne 0x14003bbe0
mov r8, r14
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x40]
call fcn.1400492c4
mov dword [rsp + 0x40], 6
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.14003b7d0
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x58]
sub rax, rcx
mov rdx, qword [rbp - 0x78]
cmp rax, rdx
jb 0x14003c120
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.140050174
mov dword [rsp + 0x40], r12d
mov rax, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003bc74
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
lea rdi, [rcx + rax]
mov rax, rsi
jb 0x14003bc84
mov rax, qword [rsi]
lea rbx, [rcx + rax]
mov rcx, rsi
jb 0x14003bc90
mov rcx, qword [rsi]
mov r8, rbx
sub r8, rcx
mov edx, reloc.WLDAP32.dll_Ordinal_45
call fcn.14012dbe0
mov r8, rbx
test rax, rax
cmovne r8, rax
cmp r8, rbx
je 0x14003bcca
lea rax, [r8 + 1]
jmp 0x14003bcc5
mov cl, byte [rax]
cmp cl, 0x2d
je 0x14003bcc2
mov byte [r8], cl
inc r8
inc rax
cmp rax, rbx
jne 0x14003bcb5
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14004833c
mov r14, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003bce6
mov r14, qword [rsi]
mov rcx, rsi
jb 0x14003bcee
mov rcx, qword [rsi]
mov rax, qword [rsi + 0x10]
lea rbx, [rax + rcx]
mov rdi, rsi
jb 0x14003bcfe
mov rdi, qword [rsi]
cmp rdi, rbx
je 0x14003bd1e
sub r14, rdi
movzx ecx, byte [rdi]
call fcn.1401360d0
mov byte [rdi + r14], al
inc rdi
cmp rdi, rbx
jne 0x14003bd06
mov rax, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003bd2a
mov rcx, qword [rsi]
lea rdi, [rax + rcx]
mov rcx, rsi
jb 0x14003bd36
mov rcx, qword [rsi]
lea rbx, [rax + rcx]
mov rcx, rsi
jb 0x14003bd42
mov rcx, qword [rsi]
mov r8, rbx
sub r8, rcx
mov edx, 0x7b
call fcn.14012dbe0
mov r8, rbx
test rax, rax
cmovne r8, rax
cmp r8, rbx
je 0x14003bd7c
lea rax, [r8 + 1]
jmp 0x14003bd77
mov cl, byte [rax]
cmp cl, 0x7b
je 0x14003bd74
mov byte [r8], cl
inc r8
inc rax
cmp rax, rbx
jne 0x14003bd67
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14004833c
mov r14, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003bd98
mov r14, qword [rsi]
mov rcx, rsi
jb 0x14003bda0
mov rcx, qword [rsi]
mov rax, qword [rsi + 0x10]
lea rbx, [rcx + rax]
mov rdi, rsi
jb 0x14003bdb0
mov rdi, qword [rsi]
cmp rdi, rbx
je 0x14003bdd0
sub r14, rdi
movzx ecx, byte [rdi]
call fcn.1401360d0
mov byte [rdi + r14], al
inc rdi
cmp rdi, rbx
jne 0x14003bdb8
mov rax, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003bddc
mov rcx, qword [rsi]
lea rdi, [rcx + rax]
mov rcx, rsi
jb 0x14003bde8
mov rcx, qword [rsi]
lea rbx, [rcx + rax]
mov rcx, rsi
jb 0x14003bdf4
mov rcx, qword [rsi]
mov r8, rbx
sub r8, rcx
mov edx, 0x7d
call fcn.14012dbe0
mov r8, rbx
test rax, rax
cmovne r8, rax
cmp r8, rbx
je 0x14003be2e
lea rax, [r8 + 1]
jmp 0x14003be29
mov cl, byte [rax]
cmp cl, 0x7d
je 0x14003be26
mov byte [r8], cl
inc r8
inc rax
cmp rax, rbx
jne 0x14003be19
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14004833c
mov r15, rsi
cmp qword [rsi + 0x18], r13
jb 0x14003be4a
mov r15, qword [rsi]
mov rax, rsi
jb 0x14003be52
mov rax, qword [rsi]
mov rdi, qword [rsi + 0x10]
lea rbx, [rax + rdi]
mov r14, rsi
jb 0x14003be62
mov r14, qword [rsi]
cmp r14, rbx
je 0x14003be83
sub r15, r14
movzx ecx, byte [r14]
call fcn.1401360d0
mov byte [r14 + r15], al
inc r14
cmp r14, rbx
jne 0x14003be6a
mov rdi, qword [rsi + 0x10]
mov rcx, rsi
mov rbx, qword [rsi + 0x18]
cmp rbx, r13
setae r15b
jb 0x14003be96
mov rcx, qword [rsi]
xor r8d, r8d
jmp 0x14003bf23
test r15b, r15b
je 0x14003bea6
mov rcx, qword [rsi]
mov qword [rsp + 0x20], 1
lea r9, [0x14030b55c]
mov r8, r14
mov rdx, rdi
call fcn.14004c828
cmp rax, 0xffffffffffffffff
je 0x14003bf08
cmp rdi, r14
jb 0x14003c126
sub rax, r14
inc rax
mov rcx, rdi
sub rcx, r14
cmp rcx, rax
cmovb rax, rcx
mov rcx, rsi
test r15b, r15b
je 0x14003beee
mov rcx, qword [rsi]
add rcx, r14
sub rdi, rax
mov qword [rsi + 0x10], rdi
sub rdi, r14
lea r8, [rdi + 1]
lea rdx, [rcx + rax]
call fcn.14012dc80
mov rcx, rsi
mov rbx, qword [rsi + 0x18]
cmp rbx, r13
setae r15b
jb 0x14003bf1b
mov rcx, qword [rsi]
mov rdi, qword [rsi + 0x10]
lea r8, [r14 + 1]
mov qword [rsp + 0x20], 1
lea r9, [0x14030b558]
mov rdx, rdi
call fcn.14004c828
cmp rax, 0xffffffffffffffff
mov r14, rax
mov rcx, rsi
jne 0x14003be9e
cmp rbx, r13
setae r15b
jb 0x14003bf57
mov rcx, qword [rsi]
xor r8d, r8d
mov qword [rsp + 0x20], 1
lea r9, [0x14030b55c]
mov rdx, rdi
call fcn.14004c828
cmp rax, 0xffffffffffffffff
mov r14, rax
je 0x14003c00c
mov rcx, rsi
test r15b, r15b
je 0x14003bf8a
mov rcx, qword [rsi]
mov qword [rsp + 0x20], 1
lea r9, [0x14030b558]
mov r8, r14
mov rdx, rdi
call fcn.14004c828
cmp rax, 0xffffffffffffffff
je 0x14003bfec
cmp rdi, r14
jb 0x14003c126
sub rax, r14
inc rax
mov rcx, rdi
sub rcx, r14
cmp rcx, rax
cmovb rax, rcx
mov rcx, rsi
test r15b, r15b
je 0x14003bfd2
mov rcx, qword [rsi]
add rcx, r14
sub rdi, rax
mov qword [rsi + 0x10], rdi
sub rdi, r14
lea r8, [rdi + 1]
lea rdx, [rcx + rax]
call fcn.14012dc80
mov rcx, rsi
mov rbx, qword [rsi + 0x18]
cmp rbx, r13
setae r15b
jb 0x14003bfff
mov rcx, qword [rsi]
mov rdi, qword [rsi + 0x10]
lea r8, [r14 + 1]
jmp 0x14003bf5a
cmp rdi, 0x20
jbe 0x14003c029
mov qword [rsi + 0x10], reloc.WLDAP32.dll_Ordinal_32
mov rax, rsi
cmp rbx, r13
jb 0x14003c025
mov rax, qword [rsi]
mov byte [rax + 0x20], 0
mov ebx, 0x1000
mov rdx, qword [rbp - 0x50]
cmp rdx, r13
jb 0x14003c064
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, rbx
jb 0x14003c05f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c12c
call fcn.14005e360
and qword [rbp - 0x58], 0
mov qword [rbp - 0x50], r12
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, r13
jb 0x14003c0a9
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rbx
jb 0x14003c0a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c132
call fcn.14005e360
nop
lea rcx, [rbp - 0x40]
call fcn.140046f54
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, r13
jb 0x14003c0e7
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, rbx
jb 0x14003c0e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c11a
call fcn.14005e360
mov rax, rsi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14005e190
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.14015e7b0
nop
call fcn.140037be8
int3
call fcn.14004b524
nop
call fcn.14015e7b0
nop
call fcn.14015e7b0
int3