Function at 0x140004560
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x2f0
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14001b060]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r15, r8
mov qword [rbp - 0x78], r8
mov rbx, rdx
mov r13, rcx
mov qword [rbp - 0x58], rcx
mov edi, 0x8007000e
mov ecx, 0x68
call fcn.140007a10
mov qword [rsp + 0x60], rax
xor r12d, r12d
test rax, rax
je 0x1400045d3
mov rcx, rax
call fcn.140006ec8
mov r14, rax
jmp 0x1400045d6
mov r14, r12
test r14, r14
je 0x140004af5
movups xmm0, xmmword [rbx + 0x20]
movdqu xmmword [r14 + 0x44], xmm0
mov qword [rbp - 0x60], r12
mov qword [rsp + 0x60], r12
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140004aa0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140004aa0
mov qword [rsp + 0x48], 0x104
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoImpersonateClient]
mov edi, eax
test eax, eax
js 0x140004ac1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
lea r8, [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
call fcn.14000573c
mov edi, eax
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevertToSelf]
test edi, edi
js 0x140004ac1
mov edi, 0x8007000e
mov rsi, qword [rsp + 0x48]
inc rsi
mov eax, 2
mul rsi
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140007a90
mov qword [r14 + 0x58], rax
test rax, rax
je 0x14000469d
lea r8, [rbp - 0x30]
mov rdx, rsi
mov rcx, rax
call fcn.140001f74
mov edi, eax
test edi, edi
js 0x140004ac1
mov qword [r13 + 0x70], r14
cmp qword [rbx], r12
je 0x140004a99
mov ecx, 0x70
call fcn.140007a10
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400046e6
lea r8, [rbx + 8]
movzx ecx, word [rbx + 0x30]
mov word [rsp + 0x20], cx
mov r9, qword [rbx]
mov rdx, r13
mov rcx, rax
call fcn.140002108
mov r15, rax
jmp 0x1400046e9
mov r15, r12
mov qword [rsp + 0x48], r15
test r15, r15
je 0x140004aa7
lea rcx, [r14 + 0x60]
cmp qword [rcx], r15
je 0x140004708
mov rdx, r15
call fcn.140001304
call fcn.14000422c
mov dword [rsp + 0x58], r12d
mov qword [rsp + 0x50], r12
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.140002438
mov edi, eax
test eax, eax
js 0x140004a82
mov dword [rsp + 0x70], r12d
mov qword [rsp + 0x68], r12
lea rdx, [rsp + 0x68]
mov rcx, r15
call fcn.140002538
mov edi, eax
test eax, eax
js 0x140004a82
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
call fcn.1400065dc
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
lea rcx, [rsp + 0x78]
call fcn.1400065dc
nop
cmp dword [rsp + 0x70], r12d
jbe 0x1400047a2
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov byte [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, r13
call fcn.1400051b8
mov edi, eax
test edi, edi
js 0x140004a6e
mov r12d, dword [rsp + 0x58]
xor ebx, ebx
test r12d, r12d
je 0x1400047db
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov byte [rsp + 0x20], bl
mov r9b, 1
xor r8d, r8d
mov rdx, r14
mov rcx, r13
call fcn.1400051b8
mov edi, eax
test edi, edi
js 0x140004a6b
jne 0x14000488c
mov r13d, ebx
mov r15, qword [rsp + 0x50]
cmp r13d, r12d
jae 0x140004883
mov eax, r13d
mov rsi, qword [r15 + rax*8]
mov rax, qword [rsi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140001900]
mov rcx, rsi
call rbx
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x50], xmm0
mov rax, qword [rsi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140001900]
lea rdx, [rbp - 0x48]
mov rcx, rsi
call rbx
mov rcx, qword [rax]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rcx]
call fcn.140008850
mov rdi, rax
mov rdx, qword [rsi]
mov rbx, qword [rdx + 0x10]
mov rcx, rbx
call qword [fcn.140001900]
mov rcx, rsi
call rbx
mov r8b, al
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
call fcn.140007894
mov edi, eax
inc r13d
test eax, eax
je 0x1400047f1
mov r15, qword [rsp + 0x48]
mov r13, qword [rbp - 0x58]
xor r12d, r12d
test edi, edi
js 0x140004a6e
cmp dword [rsp + 0x70], r12d
jbe 0x140004a6e
movups xmm0, xmmword [0x140016ff0]
movdqu xmmword [rsp + 0x50], xmm0
xor edx, edx
lea r8d, [r12 + 0x10]
mov rcx, qword [0x140016fe8]
call fcn.140008850
mov r9, rax
mov r8b, 5
lea rdx, [rsp + 0x50]
mov rcx, qword [rbp - 0x70]
call fcn.140007894
mov edi, eax
test eax, eax
js 0x140004a6e
mov esi, r12d
jne 0x1400049c8
mov r15, qword [rsp + 0x68]
cmp esi, dword [rsp + 0x70]
jae 0x1400049c3
mov eax, esi
mov r12, qword [r15 + rax*8]
mov rax, qword [r12]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140001900]
mov rcx, r12
call rbx
mov rcx, qword [rax]
cmp rcx, qword [0x140015ee0]
jne 0x14000493d
mov rax, qword [rax + 8]
cmp rax, qword [0x140015ee8]
jne 0x14000493d
mov r8, r12
mov rdx, r14
mov rcx, r13
call fcn.14000560c
jmp 0x1400049b4
mov rax, qword [r12]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140001900]
mov rcx, r12
call rbx
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x50], xmm0
mov rax, qword [r12]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140001900]
lea rdx, [rbp - 0x48]
mov rcx, r12
call rbx
mov rcx, qword [rax]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rcx]
call fcn.140008850
mov rdi, rax
mov rcx, qword [r12]
mov rbx, qword [rcx + 0x10]
mov rcx, rbx
call qword [fcn.140001900]
mov rcx, r12
call rbx
mov r8b, al
mov r9, rdi
lea rdx, [rsp + 0x50]
mov rcx, qword [rbp - 0x70]
call fcn.140007894
mov edi, eax
inc esi
xor r12d, r12d
test eax, eax
je 0x1400048ee
mov r15, qword [rsp + 0x48]
test edi, edi
js 0x140004a6e
mov dword [rsp + 0x40], r12d
lea r8, [rsp + 0x40]
xor edx, edx
lea ecx, [rdx + 5]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov edx, dword [rsp + 0x40]
test edx, edx
jne 0x1400049f2
mov rbx, r12
jmp 0x140004a0d
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rbx, rax
test rax, rax
jne 0x140004a0d
mov ecx, 0x8007000e
call fcn.140001f44
int3
lea r8, [rsp + 0x40]
mov rdx, rbx
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x140004a2b
cmp dword [rsp + 0x40], r12d
jne 0x140004a48
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsp + 0x48], r12
lea rcx, [rsp + 0x48]
call fcn.140006d90
mov rbx, qword [rsp + 0x48]
test byte [0x14001d400], 1
je 0x140004a5d
mov r8, rbx
call fcn.140004310
mov edi, eax
jmp 0x140004a60
mov edi, r12d
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x140004a6e
xor r12d, r12d
lea rcx, [rsp + 0x78]
call fcn.1400015fc
nop
lea rcx, [rbp - 0x70]
call fcn.1400015fc
mov rax, qword [r15]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140001900]
mov rcx, r15
call rbx
jmp 0x140004aa7
mov edi, 0x80070057
jmp 0x140004ac1
mov edi, 0x8000ffff
jmp 0x140004aab
mov r15, qword [rbp - 0x78]
test edi, edi
js 0x140004ac1
mov rax, qword [rbp - 0x60]
mov qword [r15], rax
mov rax, qword [rsp + 0x60]
mov qword [r15 + 8], rax
jmp 0x140004af5
lea rbx, [r13 + 8]
mov qword [rsp + 0x78], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rbp - 0x80], 1
mov qword [r13 + 0x70], r12
mov rcx, r14
call fcn.1400071d0
mov rcx, r14
call fcn.140004b28
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140007df0
mov rbx, qword [rsp + 0x348]
add rsp, 0x2f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret