Function at 0x140020350
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x10000]
mov eax, 0x10100
call fcn.1400321c0
sub rsp, rax
mov rax, qword [0x140061028]
xor rax, rsp
mov qword [rbp + 0xfff0], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
lea rax, [rsp + 0x20]
mov qword [str.SCOOF_MOMENTO], rax
cmp dword [0x140061050], 0x213
je 0x140020406
mov dword [0x140061050], 0x1dcc497
mov edx, 0x1dcc497
lea rcx, [rsp + 0x20]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x1400203bf
mov rax, qword [rax]
mov qword [str.SCOOF_MOMENTO], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140020406
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020401
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020401
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov dword [rsp + 0x68], 0x7fff
lea rax, [rsp + 0x20]
mov qword [str.SCOOF_MOMENTO], rax
mov dword [0x140061050], 0x213
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x1400204c4
lea rax, [rsp + 0x20]
mov qword [str.SCOOF_MOMENTO], rax
cmp dword [0x140061050], 0x213
je 0x1400204bd
mov dword [0x140061050], 0x1dcc497
mov edx, 0x1dcc497
lea rcx, [rsp + 0x20]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x140020476
mov rax, qword [rax]
mov qword [str.SCOOF_MOMENTO], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400204bd
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400204b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400204b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov eax, 0x213
jmp 0x1400204ca
mov eax, dword [0x140061050]
lea rcx, [rsp + 0x20]
mov qword [str.SCOOF_MOMENTO], rcx
cmp eax, 0x213
je 0x140020547
mov dword [0x140061050], 0x1dcc497
mov edx, 0x1dcc497
lea rcx, [rsp + 0x20]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x140020500
mov rax, qword [rax]
mov qword [str.SCOOF_MOMENTO], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140020547
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020542
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020542
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov dword [0x140061050], 0x213
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140020570
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x20]
call fcn.14000fea0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
lea rcx, [rsp + 0x70]
call fcn.140023e00
nop
lea r8, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae r8, qword [rsp + 0x20]
mov r9, r8
cmp word [r8], 0
je 0x1400205eb
nop word [rax + rax]
add r9, 2
cmp word [r9], 0
jne 0x1400205e0
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140024440
nop
lea rcx, [rsp + 0x70]
call fcn.140023d10
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140020649
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020644
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020644
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov rax, rbx
mov rcx, qword [rbp + 0xfff0]
xor rcx, rsp
call fcn.140031050
mov rbx, qword [rsp + 0x10118]
add rsp, 0x10100
pop rbp
ret