Function at 0x140038690
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14015a038]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rcx
mov qword [rsp + 0x30], rcx
xor r14d, r14d
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r14w
lea rdx, [rbp - 0x20]
call fcn.140038460
mov rdi, qword [rsi + 8]
mov rbx, qword [rsi]
mov rax, rdi
sub rax, rbx
cmp rax, 8
jae 0x140038748
mov byte [rsp + 0x20], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rax, qword [rsi + 0x10]
sub rax, rbx
cmp rax, 8
jae 0x140038729
lea r8, [rsp + 0x20]
lea edx, [r14 + 8]
mov rcx, rsi
call fcn.140025db0
jmp 0x140038748
sub rbx, rdi
add rbx, 8
mov r8, rbx
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rcx, rdi
call fcn.14009e4c0
lea rax, [rbx + rdi]
mov qword [rsi + 8], rax
mov qword [rsp + 0x58], r14
mov rsi, r14
mov qword [rsp + 0x68], r14
mov r15d, 7
mov qword [rsp + 0x70], r15
mov word [rsp + 0x58], r14w
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r15
mov word [rbp - 0x68], r14w
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov word [rsp + 0x38], r14w
lea rcx, [rsp + 0x78]
call fcn.140039960
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x1400387c7
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r15
mov word [rax], r14w
mov r15, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140038808
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038803
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038ef2
call fcn.14009b510
test rsi, rsi
je 0x140038869
nop dword [rax]
lea rax, [rsp + 0x58]
mov r14, qword [rsp + 0x58]
cmp r15, 8
cmovae rax, r14
cmp word [rax], 0x20
jne 0x14003886e
mov eax, 1
cmp rsi, rax
cmovb rax, rsi
lea rcx, [rsp + 0x58]
cmp r15, 8
cmovae rcx, r14
sub rsi, rax
mov qword [rsp + 0x68], rsi
lea r8, [rsi*2 + 2]
lea rdx, [rcx + rax*2]
call fcn.14009de10
mov rsi, qword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
test rsi, rsi
jne 0x140038810
mov r14, qword [rsp + 0x58]
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SetErrorInfo
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
movabs r13, 0x7ffffffffffffffe
mov r12, 0xffffffffffffffff
test eax, eax
je 0x1400389e1
lea rax, [rbp + 0x10]
mov r8, r12
inc r8
cmp word [rax + r8*2], 0
jne 0x1400388a5
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x68]
call fcn.1400123a0
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x1400389e1
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
mov qword [rbp], rdx
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x28], rdi
cmp rax, rdi
ja 0x14003891b
lea rdi, [rsp + 0x38]
cmp qword [rsp + 0x28], 8
cmovae rdi, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
lea rbx, [rax + rax]
mov r8, rbx
mov rcx, rdi
call fcn.14009de10
xor ecx, ecx
mov word [rbx + rdi], cx
jmp 0x140038ab0
cmp rax, r13
ja 0x140038efe
mov rbx, rax
or rbx, 7
cmp rbx, r13
jbe 0x140038935
mov rbx, r13
jmp 0x140038956
mov rcx, rdi
shr rcx, 1
mov rax, r13
sub rax, rcx
cmp rdi, rax
jbe 0x14003894b
mov rbx, r13
jmp 0x140038956
lea rax, [rdi + rcx]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x38]
call fcn.140012190
mov qword [rsp + 0x28], rax
mov rcx, qword [rbp - 0x58]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rbx
lea rbx, [rcx + rcx]
mov r8, rbx
mov rdx, qword [rbp]
mov rcx, rax
call fcn.14009de10
mov rax, qword [rsp + 0x28]
xor ecx, ecx
mov word [rbx + rax], cx
cmp rdi, 8
jb 0x1400389d7
lea rdx, [rdi*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400389cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f10
call fcn.14009b510
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
jmp 0x140038ab0
lea rcx, [rsp + 0x78]
call fcn.1400529d0
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x140038a6f
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140038a3a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038a35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038ef8
call fcn.14009b510
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], ax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140038ab0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038aab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038ef8
call fcn.14009b510
mov r9, qword [rsp + 0x48]
test r9, r9
jne 0x140038bc5
lea rax, [rsp + 0x58]
cmp r15, 8
cmovae rax, r14
mov qword [rsp + 0x28], rax
mov rdi, qword [rsp + 0x50]
mov qword [rbp], rdi
cmp rsi, rdi
ja 0x140038b15
lea rdi, [rsp + 0x38]
cmp qword [rbp], 8
cmovae rdi, qword [rsp + 0x38]
mov qword [rsp + 0x48], rsi
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.14009de10
xor esi, esi
mov word [rdi + rbx], si
mov r9, qword [rsp + 0x48]
jmp 0x140038bc7
cmp rsi, r13
ja 0x140038efe
mov rcx, rsi
or rcx, 7
cmp rcx, r13
ja 0x140038b49
mov rdx, rdi
shr rdx, 1
mov rax, r13
sub rax, rdx
cmp rdi, rax
ja 0x140038b49
lea rax, [rdx + rdi]
mov r13, rcx
cmp rcx, rax
cmovb r13, rax
lea rdx, [r13 + 1]
lea rcx, [rsp + 0x38]
call fcn.140012190
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r13
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, qword [rsp + 0x28]
mov rsi, rax
mov rcx, rax
call fcn.14009de10
xor eax, eax
mov word [rsi + rbx], ax
cmp rdi, 8
jb 0x140038bbb
lea rdx, [rdi*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038bb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f10
call fcn.14009b510
mov r9, qword [rsp + 0x48]
mov qword [rsp + 0x38], rsi
xor esi, esi
cmp r9, 0x10
jae 0x140038c4a
mov edx, reloc.WS2_32.dll_recv
lea r8d, [rdx + 0x51]
sub rdx, r9
lea rcx, [rsp + 0x78]
call fcn.14000ffd0
nop
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140038bf1
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x38]
call fcn.14000b610
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140038c41
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038c3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f04
call fcn.14009b510
mov r9, qword [rsp + 0x48]
cmp r9, 0x10
jbe 0x140038c7e
lea rdx, [r9 - 0x10]
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
add rcx, 0x20
sub r9, rdx
mov qword [rsp + 0x48], r9
lea r8, [r9*2 - 0x1e]
lea rdx, [rcx + rdx*2]
call fcn.14009de10
mov qword [rbp - 0x40], rsi
movdqa xmm0, xmmword [0x14013a430]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov dword [rbp], 0x34536b31
mov dword [rbp + 4], 0xf3f5537e
mov word [rbp + 8], 0xe9
lea rax, [rbp]
mov r8, r12
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140038cb0
lea rdx, [rbp]
lea rcx, [rbp - 0x40]
call fcn.140011ad0
mov qword [rbp - 0x48], rsi
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.1400109a0
nop
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
nop word [rax + rax]
inc r12
cmp byte [rdx + r12], 0
jne 0x140038d00
mov r8, r12
lea rcx, [rbp - 0x40]
call fcn.140011ad0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140038d53
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038d4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f0a
call fcn.14009b510
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.1400376a0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140038d9d
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038d98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f10
call fcn.14009b510
movdqa xmm0, xmmword [0x14013a430]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140038df0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038deb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f16
call fcn.14009b510
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], si
mov rax, qword [rbp - 0x50]
cmp rax, 8
jb 0x140038e44
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038e3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f1c
call fcn.14009b510
nop
cmp r15, 8
jb 0x140038e80
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x140038e77
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f22
mov rcx, r14
call fcn.14009b510
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140038ebc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038eb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038eec
call fcn.14009b510
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14009b5b0
lea r11, [rsp + 0x2b0]
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.1400ac408
nop
call fcn.1400ac408
nop
call fcn.1400ac408
int3
call fcn.140011cf0
int3
call fcn.1400ac408
nop
call fcn.1400ac408
nop
call fcn.1400ac408
nop
call fcn.1400ac408
nop
call fcn.1400ac408
nop
call fcn.1400ac408
int3