Function at 0x1400100d0
Capabilities:
Get hostname

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x480
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x4b0], rbx
mov rax, qword [0x1402526c8]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor ebp, ebp
mov dword [rsp + 0x24], ebp
mov eax, dword [0x140260ce8]
test al, 1
jne 0x1400101af
or eax, 1
mov dword [0x140260ce8], eax
call fcn.14002dca4
mov rcx, rax
mov eax, ebp
test rcx, rcx
setne al
test eax, eax
jne 0x140010145
mov ecx, 0x80004005
call fcn.140001900
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x140260ce0], rax
lea rdx, str._UserCanBeContacted_
test rdx, 0xffffffffffff0000
jne 0x140010189
movzx ebx, dx
mov ecx, ebx
call fcn.1400402fc
test rax, rax
je 0x14001019c
mov r8d, ebx
mov rdx, rax
lea rcx, [0x140260ce0]
call fcn.1400054e0
jmp 0x14001019c
mov r8d, 0x15
lea rcx, [0x140260ce0]
call fcn.1400016b0
nop
lea rcx, [0x1401ae2e0]
call fcn.14017f518
nop
mov eax, dword [0x140260ce8]
test al, 2
jne 0x140010249
or eax, 2
mov dword [0x140260ce8], eax
call fcn.14002dca4
mov rcx, rax
mov eax, ebp
test rcx, rcx
setne al
test eax, eax
jne 0x1400101df
mov ecx, 0x80004005
call fcn.140001900
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x140260cd8], rax
lea rdx, str._ComputerName_
test rdx, 0xffffffffffff0000
jne 0x140010223
movzx ebx, dx
mov ecx, ebx
call fcn.1400402fc
test rax, rax
je 0x140010236
mov r8d, ebx
mov rdx, rax
lea rcx, [0x140260cd8]
call fcn.1400054e0
jmp 0x140010236
mov r8d, SafeArrayGetDim
lea rcx, [0x140260cd8]
call fcn.1400016b0
nop
lea rcx, [0x1401ae2b0]
call fcn.14017f518
nop
mov eax, dword [0x140260ce8]
test al, 4
jne 0x1400102dd
or eax, 4
mov dword [0x140260ce8], eax
call fcn.14002dca4
mov rcx, rax
mov eax, ebp
test rcx, rcx
setne al
test eax, eax
jne 0x140010279
mov ecx, 0x80004005
call fcn.140001900
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x140260cd0], rax
lea rdx, str._SerialNum_
test rdx, 0xffffffffffff0000
jne 0x1400102bd
movzx ebx, dx
mov ecx, ebx
call fcn.1400402fc
test rax, rax
je 0x1400102d0
mov r8d, ebx
mov rdx, rax
lea rcx, [0x140260cd0]
call fcn.1400054e0
jmp 0x1400102d0
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rcx, [0x140260cd0]
call fcn.1400016b0
nop
lea rcx, [0x1401ae280]
call fcn.14017f518
nop
call fcn.14002dca4
mov rcx, rax
mov eax, ebp
test rcx, rcx
setne al
test eax, eax
jne 0x1400102fc
mov ecx, 0x80004005
call fcn.140001900
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
mov dword [rsp + 0x24], 1
lea rax, [0x140207510]
lea rdx, [0x140207518]
cmp dword [rsi + 0x350], 1
cmove rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140005640
nop
lea r8, [rsp + 0x28]
lea rdx, [0x140260ce0]
lea rcx, [rsp + 0x50]
call fcn.140004f30
nop
lea r8, [0x140206e90]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140005260
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400017a0
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140010390
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400103af
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [rsi + 0x357], 0
je 0x140010454
mov word [rsp + 0x70], bp
mov dword [rsp + 0x20], 0x200
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea r8, [rsp + 0x70]
lea rdx, [0x140260cd8]
lea rcx, [rsp + 0x58]
call fcn.140005260
nop
lea r8, [0x140206e90]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140005260
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, rdi
call fcn.140005330
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140010435
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140010454
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [rsi + 0x2b0]
lea rdx, [0x140260cd0]
lea rcx, [rsp + 0x40]
call fcn.140004f30
nop
lea r8, [0x140207520]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140005260
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, rdi
call fcn.140005330
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400104b2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400104d2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x1400104f0
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rdi
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14017e0f0
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x480
pop rdi
pop rsi
pop rbp
ret