Function at 0x1400d2900
Capabilities:
Execute anti-debugging instructions
Get system information on windows

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x418]
sub rsp, 0x508
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
movups xmm0, xmmword [0x1401dc510]
mov qword [r11 + 8], rsi
xor eax, eax
cmp qword [0x140244430], rax
xorps xmm1, xmm1
mov qword [r11 + 0x10], rdi
mov qword [r11 + 0x18], r12
mov qword [r11 - 0x18], r15
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x38], xmm7
movups xmmword [rbp + 0x190], xmm0
mov qword [rbp + 0x1c0], rax
movups xmmword [rbp + 0x1a0], xmm1
mov dword [rbp + 0x1c8], eax
movups xmmword [rbp + 0x1b0], xmm1
mov word [rbp + 0x1cc], ax
je 0x1400d299b
cmp qword [0x140244318], rax
je 0x1400d299b
lea rcx, [rsp + 0x40]
call fcn.1400d38c0
test al, al
je 0x1400d299b
movsd xmm6, qword [rsp + 0x40]
jmp 0x1400d29ad
mov rax, qword [0x1402443f8]
xorps xmm6, xmm6
mov ecx, dword [rax + 8]
cvtsi2sd xmm6, rcx
movss xmm1, dword [0x140240f3c]
lea r8, [rbp + 0x1d0]
movss xmm0, dword [0x140240f98]
lea rcx, [rbp + 0xf0]
movsd xmm7, qword [0x140211988]
mov ebx, 2
cvtps2pd xmm1, xmm1
xor r12d, r12d
mov eax, 0x25
mov r9d, 0x200
mov edx, ebx
mov dword [rbp + 0xf0], 0x4b
mov word [rbp + 0xf4], bx
mov dword [rbp + 0x110], r12d
cvtps2pd xmm0, xmm0
mov word [rbp + 0x120], ax
mov qword [rsp + 0x20], r12
divsd xmm6, xmm7
addsd xmm1, xmm0
mulsd xmm1, qword [0x140211978]
movsd qword [rbp + 0x100], xmm1
call sym.ProcessHacker.exe_PhFormatToBuffer
test al, al
je 0x1400d2a3c
lea r9, [rbp + 0x1d0]
jmp 0x1400d2a73
movss xmm1, dword [0x140240f3c]
lea rcx, str._.2f__
movss xmm0, dword [0x140240f98]
cvtps2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
mulsd xmm1, qword [0x140211978]
movq rdx, xmm1
call fcn.140001720
mov r9, qword [rax + 8]
mov rcx, qword [0x1402443d0]
xor r8d, r8d
lea edx, [r8 + 0xc]
call qword [sym.imp.USER32.dll_SendMessageW]
xorps xmm0, xmm0
movsd qword [rbp + 0x100], xmm6
lea rax, [0x1401edab8]
mov dword [rbp + 0xf0], 0x4b
mov qword [rbp + 0x128], rax
lea r8, [rbp + 0x1d0]
mov eax, dword [0x140244320]
lea rcx, [rbp + 0xf0]
mov r9d, 0x200
mov word [rbp + 0xf4], bx
mov edx, 4
mov dword [rbp + 0x110], 1
mov qword [rbp + 0x120], 6
cvtsi2sd xmm0, rax
lea rax, str._GHz
mov dword [rbp + 0x130], 0x4b
mov word [rbp + 0x134], bx
mov dword [rbp + 0x150], 1
mov qword [rbp + 0x160], 8
mov qword [rbp + 0x168], rax
divsd xmm0, xmm7
mov qword [rsp + 0x20], r12
movsd qword [rbp + 0x140], xmm0
call sym.ProcessHacker.exe_PhFormatToBuffer
test al, al
je 0x1400d2b42
lea r9, ds:[rbp + 0x1d0]
jmp 0x1400d2b71
mov eax, dword [0x140244320]
lea rcx, str._.2f____.2f_GHz
xorps xmm2, xmm2
movaps xmm1, xmm6
movq rdx, xmm6
cvtsi2sd xmm2, rax
divsd xmm2, xmm7
movq r8, xmm2
call fcn.140001720
mov r9, qword [rax + 8]
mov rcx, qword [0x140244438]
xor r8d, r8d
lea edx, [r8 + 0xc]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x140240f9c]
lea r8, ds:[rbp + 0x1d0]
mov r9d, 0x200
mov qword [rbp + 0x100], rax
mov edx, 1
mov dword [rbp + 0xf0], 0x10009
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x20], r12
call sym.ProcessHacker.exe_PhFormatToBuffer
movaps xmm7, xmmword [rsp + 0x4e0]
xor r8d, r8d
movaps xmm6, xmmword [rsp + 0x4f0]
test al, al
je 0x1400d2be5
lea r9, [rbp + 0x1d0]
jmp 0x1400d2c16
mov eax, dword [0x140240f9c]
lea rcx, [rsp + 0x48]
mov edx, 1
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x48], 0x10009
call sym.ProcessHacker.exe_PhFormat
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
xor r8d, r8d
mov r9, qword [rax + 8]
mov rcx, qword [0x140244480]
mov edx, 0xc
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x140240fa4]
lea r8, ds:[rbp + 0x1d0]
mov r9d, 0x200
mov qword [rbp + 0x100], rax
mov edx, 1
mov dword [rbp + 0xf0], 0x10009
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x20], r12
call sym.ProcessHacker.exe_PhFormatToBuffer
xor r8d, r8d
test al, al
je 0x1400d2c75
lea r9, [rbp + 0x1d0]
jmp 0x1400d2ca6
mov eax, dword [0x140240fa4]
lea rcx, [rsp + 0x68]
mov edx, 1
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x68], 0x10009
call sym.ProcessHacker.exe_PhFormat
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
xor r8d, r8d
mov r9, qword [rax + 8]
mov rcx, qword [0x140244350]
mov edx, 0xc
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x140240fa0]
lea r8, [rbp + 0x1d0]
mov r9d, 0x200
mov qword [rbp + 0x100], rax
mov edx, 1
mov dword [rbp + 0xf0], 0x10009
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x20], r12
call sym.ProcessHacker.exe_PhFormatToBuffer
xor r8d, r8d
test al, al
je 0x1400d2d02
lea r9, [rbp + 0x1d0]
jmp 0x1400d2d34
mov eax, dword [0x140240fa0]
lea rcx, ds:[rbp - 0x78]
mov edx, 1
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x78], 0x10009
call sym.ProcessHacker.exe_PhFormat
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
xor r8d, r8d
mov r9, qword [rax + 8]
mov rcx, qword [0x1402442f0]
mov edx, 0xc
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
lea rdx, [rbp + 0xc0]
lea r8d, [r9 + 0x30]
lea ecx, [r9 + 3]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop
test eax, eax
js 0x1400d2da5
mov eax, dword ds:[rbp + 0xc0]
lea r8, [rbp + 0x190]
mov rcx, qword [rbp + 0xc8]
mov edx, ebx
mov dword [rbp + 0xa8], eax
mov eax, dword [rbp + 0xc4]
mov dword [rbp + 0xac], eax
sub rcx, qword [rbp + 0xa8]
add rcx, qword [rbp + 0xe0]
mov qword [rsp + 0x20], r12
call fcn.140102600
mov rcx, qword [0x140244300]
lea r9, ds:[rbp + 0x190]
xor r8d, r8d
lea edx, [r8 + 0xc]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x1402443d8], 1
jbe 0x1400d2e4b
mov eax, dword [0x1402443ec]
lea r8, [rbp + 0x1d0]
mov r9d, 0x200
mov qword [rbp + 0x100], rax
mov edx, 1
mov dword [rbp + 0xf0], 0x10009
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x20], r12
call sym.ProcessHacker.exe_PhFormatToBuffer
xor r8d, r8d
test al, al
je 0x1400d2e19
lea r9, [rbp + 0x1d0]
jmp 0x1400d2e55
mov eax, dword [0x1402443ec]
lea rcx, [rbp - 0x58]
mov edx, 1
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x58], 0x10009
call sym.ProcessHacker.exe_PhFormat
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov r9, qword [rax + 8]
jmp 0x1400d2e52
lea r9, [0x1401edaf0]
xor r8d, r8d
mov rcx, qword [0x140244400]
mov edx, 0xc
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x1402443d8], 1
jbe 0x1400d2eeb
mov eax, dword [0x14024430c]
lea r8, [rbp + 0x1d0]
mov r9d, 0x200
mov qword [rbp + 0x100], rax
mov edx, 1
mov dword [rbp + 0xf0], 0x10009
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x20], r12
call sym.ProcessHacker.exe_PhFormatToBuffer
xor r8d, r8d
test al, al
je 0x1400d2eba
lea r9, [rbp + 0x1d0]
jmp 0x1400d2ef5
mov eax, dword [0x14024430c]
lea rcx, [rbp - 0x38]
mov edx, 1
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x38], 0x10009
call sym.ProcessHacker.exe_PhFormat
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov r9, qword [rax + 8]
jmp 0x1400d2ef2
lea r9, [0x1401edaf0]
xor r8d, r8d
mov rcx, qword [0x140244338]
mov edx, 0xc
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x1402443d8], 1
jbe 0x1400d2f8b
mov rax, qword [0x140244448]
lea r8, [rbp + 0x1d0]
mov r9d, 0x200
mov qword [rbp + 0x100], rax
mov edx, 1
mov dword [rbp + 0xf0], 0x10009
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x20], r12
call sym.ProcessHacker.exe_PhFormatToBuffer
xor r8d, r8d
test al, al
je 0x1400d2f5b
lea r9, [rbp + 0x1d0]
jmp 0x1400d2f95
mov rax, qword [0x140244448]
lea rcx, [rbp - 0x18]
mov edx, 1
mov qword [rbp - 8], rax
mov dword [rbp - 0x18], 0x10009
call sym.ProcessHacker.exe_PhFormat
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov r9, qword [rax + 8]
jmp 0x1400d2f92
lea r9, [0x1401edaf0]
xor r8d, r8d
mov rcx, qword [0x140244420]
mov edx, 0xc
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x1402443d8], 1
jbe 0x1400d302b
mov eax, dword [0x14024442c]
lea r8, [rbp + 0x1d0]
mov r9d, 0x200
mov qword [rbp + 0x100], rax
mov edx, 1
mov dword [rbp + 0xf0], 0x10009
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x20], r12
call sym.ProcessHacker.exe_PhFormatToBuffer
xor r8d, r8d
test al, al
je 0x1400d2ffa
lea r9, [rbp + 0x1d0]
jmp 0x1400d3035
mov eax, dword [0x14024442c]
lea rcx, [rbp + 8]
mov edx, 1
mov qword [rbp + 0x18], rax
mov dword [rbp + 8], 0x10009
call sym.ProcessHacker.exe_PhFormat
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov r9, qword [rax + 8]
jmp 0x1400d3032
lea r9, [0x1401edaf0]
xor r8d, r8d
mov rcx, qword [0x140244490]
mov edx, 0xc
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x140241998]
mov edx, 4
mov r8d, 0x100
mov dword [rbp + 0xa8], 0x100
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rbp + 0xa8]
lea r9, [rbp + 0xa8]
mov rdx, rax
mov ecx, 0x49
mov r15, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, r12d
cmp eax, 0xc0000004
jne 0x1400d30ef
cmp ebx, 8
jae 0x1400d32f9
mov rcx, qword [0x140241998]
mov r8, r15
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rbp + 0xa8]
mov edx, 4
mov rcx, qword [0x140241998]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword ds:[rbp + 0xa8]
lea r9, [rbp + 0xa8]
mov rdx, rax
mov ecx, 0x49
mov r15, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
inc ebx
cmp eax, 0xc0000004
je 0x1400d3092
test eax, eax
js 0x1400d32f9
mov eax, dword [rbp + 0xa8]
mov qword [rsp + 0x538], r14
lfence
shr eax, 5
mov r14d, r12d
mov esi, r12d
mov edi, r12d
test eax, eax
je 0x1400d3159
mov rbx, r15
mov r8d, eax
nop
mov ecx, dword [rbx + 8]
test ecx, ecx
je 0x1400d3135
sub ecx, 1
je 0x1400d314f
cmp ecx, 2
jne 0x1400d314f
inc edi
jmp 0x1400d314f
mov ecx, dword ds:[rbx]
inc r14d
mov edx, r12d
test ecx, ecx
je 0x1400d314d
inc edx
lea eax, [rcx - 1]
and ecx, eax
jne 0x1400d3144
add esi, edx
add rbx, 0x20
sub r8, 1
jne 0x1400d3120
mov rcx, qword [0x140241998]
mov r8, r15
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ebx, r14d
lea r8, [rbp + 0x1d0]
mov r9d, 0x200
mov qword [rbp + 0x100], rbx
mov edx, 1
mov dword [rbp + 0xf0], 0x10009
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x20], r12
call sym.ProcessHacker.exe_PhFormatToBuffer
mov r14, qword [rsp + 0x538]
xor r8d, r8d
test al, al
je 0x1400d31bd
lea r9, [rbp + 0x1d0]
jmp 0x1400d31e5
mov edx, 1
mov dword [rbp + 0x28], 0x10009
lea rcx, [rbp + 0x28]
mov qword [rbp + 0x38], rbx
call sym.ProcessHacker.exe_PhFormat
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
xor r8d, r8d
mov r9, qword [rax + 8]
mov rcx, qword [0x140244340]
mov edx, 0xc
call qword [sym.imp.USER32.dll_SendMessageW]
mov ebx, edi
lea r8, [rbp + 0x1d0]
mov r9d, 0x200
mov qword [rbp + 0x100], rbx
mov edx, 1
mov dword [rbp + 0xf0], 0x10009
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x20], r12
call sym.ProcessHacker.exe_PhFormatToBuffer
xor r8d, r8d
test al, al
je 0x1400d323d
lea r9, [rbp + 0x1d0]
jmp 0x1400d3265
mov edx, 1
mov dword [rbp + 0x48], 0x10009
lea rcx, [rbp + 0x48]
mov qword [rbp + 0x58], rbx
call sym.ProcessHacker.exe_PhFormat
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
xor r8d, r8d
mov r9, qword [rax + 8]
mov rcx, qword [0x140244418]
mov edx, 0xc
call qword [sym.imp.USER32.dll_SendMessageW]
mov ebx, esi
lea r8, [rbp + 0x1d0]
mov r9d, 0x200
mov qword [rbp + 0x100], rbx
mov edx, 1
mov dword [rbp + 0xf0], 0x10009
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x20], r12
call sym.ProcessHacker.exe_PhFormatToBuffer
xor r8d, r8d
test al, al
je 0x1400d32cf
lea r9, [rbp + 0x1d0]
mov rcx, qword [0x140244488]
mov edx, 0xc
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400d330e
mov edx, 1
mov dword [rbp + 0x68], 0x10009
lea rcx, [rbp + 0x68]
mov qword [rbp + 0x78], rbx
call sym.ProcessHacker.exe_PhFormat
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
xor r8d, r8d
mov r9, qword [rax + 8]
jmp 0x1400d32bb
lfence
mov rcx, qword [0x140241998]
mov r8, r15
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea rcx, [rbp + 0xb8]
call qword [sym.imp.ntdll.dll_RtlQueryPerformanceCounter]
rdtsc
shl rdx, 0x20
or rax, rdx
mov rdi, rax
lock or dword [rsp], r12d
xor eax, eax
xor ecx, ecx
cpuid
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x3c], edx
lock or dword [rsp], r12d
rdtsc
shl rdx, 0x20
or rax, rdx
mov rsi, rax
lock or dword [rsp], r12d
lea rcx, [rbp + 0xb0]
call qword [sym.imp.ntdll.dll_RtlQueryPerformanceCounter]
mov rbx, qword [rbp + 0xb0]
sub rbx, qword [rbp + 0xb8]
mov r15, qword [rsp + 0x500]
test rdi, rdi
mov rdi, qword [rsp + 0x528]
jne 0x1400d339e
test rsi, rsi
jne 0x1400d339e
cmp dword [rsp + 0x30], r12d
jne 0x1400d339e
cmp dword [rsp + 0x3c], r12d
cmove rbx, r12
mov r9d, 0x200
mov dword [rbp + 0xf0], 0x10009
lea r8, [rbp + 0x1d0]
mov qword [rbp + 0x100], rbx
mov edx, 1
mov qword [rsp + 0x20], r12
lea rcx, [rbp + 0xf0]
call sym.ProcessHacker.exe_PhFormatToBuffer
mov r12, qword [rsp + 0x530]
xor r8d, r8d
mov rsi, qword [rsp + 0x520]
test al, al
je 0x1400d33f2
lea r9, [rbp + 0x1d0]
jmp 0x1400d3423
mov edx, 1
mov dword [rbp + 0x88], 0x10009
lea rcx, [rbp + 0x88]
mov qword [rbp + 0x98], rbx
call sym.ProcessHacker.exe_PhFormat
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
xor r8d, r8d
mov r9, qword [rax + 8]
mov rcx, qword [0x140244310]
mov edx, 0xc
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword ds:[rbp + 0x3d0]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0x508
pop rbx
pop rbp
ret