Function at 0x14003dd54
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 0x14003dded
lea rax, [rbp + 0x140]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x14003dddb
lea rdx, [rbp + 0x140]
jmp 0x14003ddf7
mov r8, rbx
lea rdx, str.Unknown
lea rcx, [rsp + 0x58]
call fcn.14004e360
mov dword [rsp + 0x40], 4
lea rcx, [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
lea r14, [0x14037f5e0]
test eax, eax
je 0x14003de32
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.14012f5c0
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.140063bd4
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.140061310
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.140063dcc
mov rdi, rax
lea rcx, [0x14037a908]
call fcn.140038c08
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.14006321c
mov dword [rdi + 0x20], r15d
lea rax, [0x1401e664c]
cmp qword [rdi + 0x28], rax
je 0x14003df3f
cmp qword [rdi + 0x28], r15
je 0x14003df07
mov rcx, qword [rdi + 0x28]
call fcn.14014c880
lea rax, [0x1401e664c]
mov qword [rdi + 0x28], r15
mov rbx, rax
add rbx, r13
cmp byte [rbx], r15b
jne 0x14003df0e
add rbx, r13
sub rbx, rax
mov rcx, rbx
call fcn.140156530
mov qword [rdi + 0x28], rax
test rax, rax
je 0x14003df3f
mov r8, rbx
lea rdx, [0x1401e664c]
mov rcx, rax
call fcn.14012ef20
mov rcx, qword [rbp - 0x28]
cmp rcx, rdi
je 0x14003df6c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14003df5f
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 0x14003df86
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 0x14003dfa1
add r9, 2
cmp word [r9], r15w
jne 0x14003df97
mov r8, r14
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x40]
call fcn.14004ac34
mov dword [rsp + 0x40], recv
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14003daf0
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x78]
sub rax, rcx
mov rdx, qword [rbp - 0x58]
cmp rax, rdx
jb 0x14003e435
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.1400528e8
mov dword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov rax, rsi
cmp qword [rsi + 0x18], r12
jb 0x14003e02e
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
lea rdi, [rcx + rax]
mov rax, rsi
jb 0x14003e03e
mov rax, qword [rsi]
lea rbx, [rax + rcx]
mov rcx, rsi
jb 0x14003e04a
mov rcx, qword [rsi]
mov r8b, reloc.WLDAP32.dll_Ordinal_45
mov rdx, rbx
call fcn.140062790
mov r8, rax
cmp rax, rbx
je 0x14003e074
jmp 0x14003e06c
mov cl, byte [rax]
cmp cl, 0x2d
je 0x14003e06c
mov byte [r8], cl
add r8, r13
add rax, r13
cmp rax, rbx
jne 0x14003e05f
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400490f8
cmp qword [rsi + 0x18], r12
jb 0x14003e092
mov r14, qword [rsi]
mov rcx, r14
jmp 0x14003e098
mov rcx, rsi
mov r14, rsi
mov rax, qword [rsi + 0x10]
lea rbx, [rcx + rax]
mov rdi, rsi
jb 0x14003e0a8
mov rdi, qword [rsi]
cmp rdi, rbx
je 0x14003e0c8
sub r14, rdi
movzx ecx, byte [rdi]
call fcn.140137c30
mov byte [r14 + rdi], al
add rdi, r13
cmp rdi, rbx
jne 0x14003e0b0
mov rax, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], r12
jb 0x14003e0d4
mov rcx, qword [rsi]
lea rdi, [rax + rcx]
mov rcx, rsi
jb 0x14003e0e0
mov rcx, qword [rsi]
lea rbx, [rax + rcx]
mov rcx, rsi
jb 0x14003e0ec
mov rcx, qword [rsi]
mov r8b, 0x7b
mov rdx, rbx
call fcn.140062790
mov r8, rax
cmp rax, rbx
je 0x14003e116
jmp 0x14003e10e
mov cl, byte [rax]
cmp cl, 0x7b
je 0x14003e10e
mov byte [r8], cl
add r8, r13
add rax, r13
cmp rax, rbx
jne 0x14003e101
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400490f8
cmp qword [rsi + 0x18], r12
jb 0x14003e134
mov r14, qword [rsi]
mov rcx, r14
jmp 0x14003e13a
mov rcx, rsi
mov r14, rsi
mov rax, qword [rsi + 0x10]
lea rbx, [rcx + rax]
mov rdi, rsi
jb 0x14003e14a
mov rdi, qword [rsi]
cmp rdi, rbx
je 0x14003e16a
sub r14, rdi
movzx ecx, byte [rdi]
call fcn.140137c30
mov byte [rdi + r14], al
add rdi, r13
cmp rdi, rbx
jne 0x14003e152
mov rax, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], r12
jb 0x14003e176
mov rcx, qword [rsi]
lea rdi, [rax + rcx]
mov rcx, rsi
jb 0x14003e182
mov rcx, qword [rsi]
lea rbx, [rax + rcx]
mov rcx, rsi
jb 0x14003e18e
mov rcx, qword [rsi]
mov r8b, 0x7d
mov rdx, rbx
call fcn.140062790
mov r8, rax
cmp rax, rbx
je 0x14003e1b8
jmp 0x14003e1b0
mov cl, byte [rax]
cmp cl, 0x7d
je 0x14003e1b0
mov byte [r8], cl
add r8, r13
add rax, r13
cmp rax, rbx
jne 0x14003e1a3
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400490f8
cmp qword [rsi + 0x18], r12
jb 0x14003e1d6
mov r14, qword [rsi]
mov rcx, r14
jmp 0x14003e1dc
mov rcx, rsi
mov r14, rsi
mov rbx, qword [rsi + 0x10]
add rbx, rcx
mov rdi, rsi
cmp qword [rsi + 0x18], r12
jb 0x14003e1ef
mov rdi, qword [rsi]
cmp rdi, rbx
je 0x14003e20b
sub r14, rdi
movzx ecx, byte [rdi]
call fcn.140137c30
mov byte [rdi + r14], al
add rdi, r13
cmp rdi, rbx
jne 0x14003e1f7
xor r8d, r8d
lea rdx, [0x14031144c]
mov rcx, rsi
call fcn.140049034
lea r14, [0x140311450]
jmp 0x14003e28f
mov r8, rbx
call fcn.140049034
cmp rax, 0xffffffffffffffff
je 0x14003e27c
mov rdi, qword [rsi + 0x10]
cmp rdi, rbx
jb 0x14003e43b
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 0x14003e260
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.14012ef20
mov qword [rsi + 0x10], rdi
lea r8, [rbx + 1]
lea rdx, [0x14031144c]
mov rcx, rsi
call fcn.140049034
cmp rax, 0xffffffffffffffff
mov rbx, rax
mov rdx, r14
mov rcx, rsi
jne 0x14003e226
xor r8d, r8d
call fcn.140049034
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x14003e31b
mov r8, rax
lea rdx, [0x14031144c]
mov rcx, rsi
call fcn.140049034
cmp rax, 0xffffffffffffffff
je 0x14003e30f
mov rdi, qword [rsi + 0x10]
cmp rdi, rbx
jb 0x14003e43b
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 0x14003e2f3
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.14012ef20
mov qword [rsi + 0x10], rdi
lea r8, [rbx + 1]
mov rdx, r14
mov rcx, rsi
jmp 0x14003e2a1
cmp qword [rsi + 0x10], 0x20
jbe 0x14003e33a
mov qword [rsi + 0x10], reloc.WLDAP32.dll_Ordinal_32
mov rax, rsi
cmp qword [rsi + 0x18], r12
jb 0x14003e336
mov rax, qword [rsi]
mov byte [rax + 0x20], r15b
mov ebx, 0x1000
mov rdx, qword [rbp - 0x70]
cmp rdx, r12
jb 0x14003e376
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rbx
jb 0x14003e371
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e441
call fcn.140060840
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 0x14003e3be
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, rbx
jb 0x14003e3b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e447
call fcn.140060840
nop
lea rcx, [rbp - 0x40]
call fcn.140047324
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, r12
jb 0x14003e3fc
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, rbx
jb 0x14003e3f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e42f
call fcn.140060840
mov rax, rsi
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140060670
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.1401657c0
nop
call fcn.1400382c0
int3
call fcn.14004cc40
nop
call fcn.1401657c0
nop
call fcn.1401657c0
int3