Function at 0x14003db48
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 - 0x188]
sub rsp, 0x260
mov rax, qword [0x140327010]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
lea r12d, [r15 + 0x10]
mov dword [rsp + 0x50], r12d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ebx, [r15 + 7]
xorps xmm0, xmm0
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
movups xmmword [rsp + 0x58], xmm0
test eax, eax
je 0x14003dbe1
lea rax, [rbp + 0x140]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x14003dbcf
lea rdx, [rbp + 0x140]
jmp 0x14003dbeb
mov r8, rbx
lea rdx, str.Unknown
lea rcx, [rsp + 0x58]
call fcn.14004ddb0
mov dword [rsp + 0x40], 4
lea rcx, [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
lea r14, [0x14037f5e0]
test eax, eax
je 0x14003dc26
lea r8, [rbp + 0x44]
lea rdx, [0x140311444]
mov rcx, r14
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x40]
call fcn.14012f010
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 r13d, 1
mov cl, r13b
call fcn.140063624
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], r15b
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], rbx
mov word [rbp], r15w
mov word [rbp + 0x28], r15w
mov byte [rbp + 0x2a], r15b
lea ecx, [r13 + 0x3f]
call fcn.140060d60
mov rbx, rax
mov qword [rsp + 0x50], rax
mov rcx, rax
call fcn.140038ee8
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.14006381c
mov rdi, rax
lea rcx, [0x14037a908]
call fcn.140038c08
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.140062c6c
mov dword [rdi + 0x20], r15d
lea rax, [0x1401e664c]
cmp qword [rdi + 0x28], rax
je 0x14003dd33
cmp qword [rdi + 0x28], r15
je 0x14003dcfb
mov rcx, qword [rdi + 0x28]
call fcn.14014c2d0
lea rax, [0x1401e664c]
mov qword [rdi + 0x28], r15
mov rbx, rax
add rbx, r13
cmp byte [rbx], r15b
jne 0x14003dd02
add rbx, r13
sub rbx, rax
mov rcx, rbx
call fcn.140155f80
mov qword [rdi + 0x28], rax
test rax, rax
je 0x14003dd33
mov r8, rbx
lea rdx, [0x1401e664c]
mov rcx, rax
call fcn.14012e970
mov rcx, qword [rbp - 0x28]
cmp rcx, rdi
je 0x14003dd60
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14003dd53
mov r8, qword [rax]
mov edx, r13d
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 0x14003dd7a
mov r8, qword [rax]
mov edx, r13d
mov rcx, rax
call qword [r8]
mov qword [rbp + 0x30], r15
mov r9, r14
cmp word [0x14037f5e0], r15w
je 0x14003dd95
add r9, 2
cmp word [r9], r15w
jne 0x14003dd8b
mov r8, r14
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x40]
call fcn.14004a684
mov dword [rsp + 0x40], recv
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14003d8e4
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x78]
sub rax, rcx
mov rdx, qword [rbp - 0x58]
cmp rax, rdx
jb 0x14003e229
lea r9, [rsp + 0x78]
cmp qword [rbp - 0x70], r12
cmovae r9, qword [rsp + 0x78]
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], r12
cmovae rax, qword [rbp - 0x68]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call fcn.140052338
mov dword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov rax, rsi
cmp qword [rsi + 0x18], r12
jb 0x14003de22
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
lea rdi, [rcx + rax]
mov rax, rsi
jb 0x14003de32
mov rax, qword [rsi]
lea rbx, [rax + rcx]
mov rcx, rsi
jb 0x14003de3e
mov rcx, qword [rsi]
mov r8b, reloc.WLDAP32.dll_Ordinal_45
mov rdx, rbx
call fcn.1400621e0
mov r8, rax
cmp rax, rbx
je 0x14003de68
jmp 0x14003de60
mov cl, byte [rax]
cmp cl, 0x2d
je 0x14003de60
mov byte [r8], cl
add r8, r13
add rax, r13
cmp rax, rbx
jne 0x14003de53
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140048b50
cmp qword [rsi + 0x18], r12
jb 0x14003de86
mov r14, qword [rsi]
mov rcx, r14
jmp 0x14003de8c
mov rcx, rsi
mov r14, rsi
mov rax, qword [rsi + 0x10]
lea rbx, [rcx + rax]
mov rdi, rsi
jb 0x14003de9c
mov rdi, qword [rsi]
cmp rdi, rbx
je 0x14003debc
sub r14, rdi
movzx ecx, byte [rdi]
call fcn.140137680
mov byte [r14 + rdi], al
add rdi, r13
cmp rdi, rbx
jne 0x14003dea4
mov rax, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], r12
jb 0x14003dec8
mov rcx, qword [rsi]
lea rdi, [rax + rcx]
mov rcx, rsi
jb 0x14003ded4
mov rcx, qword [rsi]
lea rbx, [rax + rcx]
mov rcx, rsi
jb 0x14003dee0
mov rcx, qword [rsi]
mov r8b, 0x7b
mov rdx, rbx
call fcn.1400621e0
mov r8, rax
cmp rax, rbx
je 0x14003df0a
jmp 0x14003df02
mov cl, byte [rax]
cmp cl, 0x7b
je 0x14003df02
mov byte [r8], cl
add r8, r13
add rax, r13
cmp rax, rbx
jne 0x14003def5
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140048b50
cmp qword [rsi + 0x18], r12
jb 0x14003df28
mov r14, qword [rsi]
mov rcx, r14
jmp 0x14003df2e
mov rcx, rsi
mov r14, rsi
mov rax, qword [rsi + 0x10]
lea rbx, [rcx + rax]
mov rdi, rsi
jb 0x14003df3e
mov rdi, qword [rsi]
cmp rdi, rbx
je 0x14003df5e
sub r14, rdi
movzx ecx, byte [rdi]
call fcn.140137680
mov byte [rdi + r14], al
add rdi, r13
cmp rdi, rbx
jne 0x14003df46
mov rax, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], r12
jb 0x14003df6a
mov rcx, qword [rsi]
lea rdi, [rax + rcx]
mov rcx, rsi
jb 0x14003df76
mov rcx, qword [rsi]
lea rbx, [rax + rcx]
mov rcx, rsi
jb 0x14003df82
mov rcx, qword [rsi]
mov r8b, 0x7d
mov rdx, rbx
call fcn.1400621e0
mov r8, rax
cmp rax, rbx
je 0x14003dfac
jmp 0x14003dfa4
mov cl, byte [rax]
cmp cl, 0x7d
je 0x14003dfa4
mov byte [r8], cl
add r8, r13
add rax, r13
cmp rax, rbx
jne 0x14003df97
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140048b50
cmp qword [rsi + 0x18], r12
jb 0x14003dfca
mov r14, qword [rsi]
mov rcx, r14
jmp 0x14003dfd0
mov rcx, rsi
mov r14, rsi
mov rbx, qword [rsi + 0x10]
add rbx, rcx
mov rdi, rsi
cmp qword [rsi + 0x18], r12
jb 0x14003dfe3
mov rdi, qword [rsi]
cmp rdi, rbx
je 0x14003dfff
sub r14, rdi
movzx ecx, byte [rdi]
call fcn.140137680
mov byte [rdi + r14], al
add rdi, r13
cmp rdi, rbx
jne 0x14003dfeb
xor r8d, r8d
lea rdx, [0x14031144c]
mov rcx, rsi
call fcn.140048a8c
lea r14, [0x140311450]
jmp 0x14003e083
mov r8, rbx
call fcn.140048a8c
cmp rax, 0xffffffffffffffff
je 0x14003e070
mov rdi, qword [rsi + 0x10]
cmp rdi, rbx
jb 0x14003e22f
sub rax, rbx
add rax, r13
mov rcx, rdi
sub rcx, rbx
cmp rcx, rax
cmovb rax, rcx
mov rcx, rsi
cmp qword [rsi + 0x18], r12
jb 0x14003e054
mov rcx, qword [rsi]
add rcx, rbx
sub rdi, rax
mov r8, rdi
sub r8, rbx
add r8, r13
lea rdx, [rcx + rax]
call fcn.14012e970
mov qword [rsi + 0x10], rdi
lea r8, [rbx + 1]
lea rdx, [0x14031144c]
mov rcx, rsi
call fcn.140048a8c
cmp rax, 0xffffffffffffffff
mov rbx, rax
mov rdx, r14
mov rcx, rsi
jne 0x14003e01a
xor r8d, r8d
call fcn.140048a8c
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x14003e10f
mov r8, rax
lea rdx, [0x14031144c]
mov rcx, rsi
call fcn.140048a8c
cmp rax, 0xffffffffffffffff
je 0x14003e103
mov rdi, qword [rsi + 0x10]
cmp rdi, rbx
jb 0x14003e22f
sub rax, rbx
add rax, r13
mov rcx, rdi
sub rcx, rbx
cmp rcx, rax
cmovb rax, rcx
mov rcx, rsi
cmp qword [rsi + 0x18], r12
jb 0x14003e0e7
mov rcx, qword [rsi]
add rcx, rbx
sub rdi, rax
mov r8, rdi
sub r8, rbx
add r8, r13
lea rdx, [rcx + rax]
call fcn.14012e970
mov qword [rsi + 0x10], rdi
lea r8, [rbx + 1]
mov rdx, r14
mov rcx, rsi
jmp 0x14003e095
cmp qword [rsi + 0x10], 0x20
jbe 0x14003e12e
mov qword [rsi + 0x10], reloc.WLDAP32.dll_Ordinal_32
mov rax, rsi
cmp qword [rsi + 0x18], r12
jb 0x14003e12a
mov rax, qword [rsi]
mov byte [rax + 0x20], r15b
mov ebx, 0x1000
mov rdx, qword [rbp - 0x70]
cmp rdx, r12
jb 0x14003e16a
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rbx
jb 0x14003e165
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e235
call fcn.140060290
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], r15b
mov rdx, qword [rbp - 0x50]
cmp rdx, r12
jb 0x14003e1b2
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, rbx
jb 0x14003e1ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e23b
call fcn.140060290
nop
lea rcx, [rbp - 0x40]
call fcn.140046d7c
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, r12
jb 0x14003e1f0
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, rbx
jb 0x14003e1eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e223
call fcn.140060290
mov rax, rsi
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400600c0
lea r11, [rsp + 0x260]
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.140165210
nop
call fcn.1400382c0
int3
call fcn.14004c690
nop
call fcn.140165210
nop
call fcn.140165210
int3