Function at 0x14000b510
Capabilities:
Check for debugger via api
Check for process debug object
Check for time delay via queryperformancecounter
Check processdebugflags
Check processdebugport
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
movaps xmmword [rsp + 0x170], xmm6
mov qword [rsp + 0x70], 0
mov dword [rsp + 0xf0], 0
mov dword [rsp + 0x40], 0
call sub.KERNEL32.dll_GetCurrentProcess
lea r8, [rsp + 0x70]
mov rcx, rax
mov edx, 8
call sub.ADVAPI32.dll_OpenProcessToken
test eax, eax
je 0x14000b6c6
mov rcx, qword [rsp + 0x70]
lea rdi, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
lea rsi, [rsp + 0xf0]
mov edx, 0x14
mov r8, rsi
mov r9d, 4
call sub.ADVAPI32.dll_GetTokenInformation
test eax, eax
je 0x14000b6c6
cmp dword [rsp + 0xf0], 0
je 0x14000b6c6
lea rax, [0x141cee2f1]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x70], 0x9466fc29
mov edx, dword [rsp + 0x70]
call fcn.1400068d0
movabs rcx, 0xd9c417f3515f947b
xor rcx, qword [rax]
movabs rdx, 0xce1fc56c3c7117ae
xor rdx, qword [rax + 8]
movabs r8, 0xae817d60e0f99895
xor r8, qword [rax + 0x10]
movabs r9, 0x696b1140a48a8336
xor r9, qword [rax + 0x18]
movabs r10, 0x1509ba7d632188c1
xor r10, qword [rax + 0x20]
mov r11d, 0x6a87609e
xor r11d, dword [rax + 0x28]
mov ebx, r11d
shr ebx, 8
movzx eax, byte [rax + 0x2c]
xor al, 0x54
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x60], r10
mov byte [rsp + 0x68], r11b
shr r11d, 0x18
mov byte [rsp + 0x6b], r11b
mov word [rsp + 0x69], bx
mov byte [rsp + 0x6c], al
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xf8], 0x2d
mov qword [rsp + 0x28], rsi
lea rax, [0x140003ec0]
mov qword [rsp + 0x30], rax
lea rax, [0x1400586d8]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 2
mov qword [rsp + 0x90], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
lea rcx, [rsp + 0x70]
call fcn.1400321b0
jmp 0x14000bf22
lea r15, [rsp + 0x70]
lea rbx, [rsp + 0xf0]
lea r14, [rsp + 0x40]
xorps xmm6, xmm6
lea rsi, [0x141cf3768]
nop word cs:[rax + rax]
mov rcx, r15
call fcn.14002ea80
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
movabs rax, 0x8000000000000000
cmp rdi, rax
je 0x14000bc8d
mov r8, qword [rsp + 0x80]
mov rcx, r15
mov qword [rsp + 0x110], rdx
call fcn.14001ba40
test byte [rsp + 0x70], 1
jne 0x14000c350
mov rbp, qword [rsp + 0x80]
test rbp, rbp
js 0x14000c350
mov qword [rsp + 0x118], rdi
mov r13, qword [rsp + 0x78]
je 0x14000b780
movzx eax, byte [0x141d019e8]
xor ecx, ecx
mov rdx, rbp
call fcn.14003c8f0
mov rdi, rax
test rax, rax
jne 0x14000b785
jmp 0x14000c350
mov edi, 1
mov rcx, rdi
mov rdx, r13
mov r8, rbp
call fcn.140048510
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x130], 1
mov qword [rsp + 0x138], 0
lea rax, [rdi + rbp]
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xf8], rax
mov word [rsp + 0x100], 0
mov dword [rsp + 0x108], 1
lea rcx, [rsp + 0x140]
mov rdx, rbx
call fcn.140007ac0
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x48], 1
mov word [rsp + 0x50], 0
mov dword [rsp + 0x58], 1
lea rcx, [rsp + 0x158]
mov rdx, r14
call fcn.140007ac0
mov r15, qword [rsp + 0x148]
mov r12, qword [rsp + 0x160]
mov dword [rsp + 0xec], 0
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
mov al, 1
test al, al
je 0x14000c350
movzx eax, byte [0x141d019e8]
mov edx, 8
xor ecx, ecx
call fcn.14003c8f0
test rax, rax
je 0x14000c350
mov word [rax], 0x72
mov ecx, 4
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
mov r13d, 1
xor ebx, ebx
lea r14, [0x141cf3763]
jmp 0x14000b8df
mov word [rax + r13*2], bx
inc r13
mov qword [rsp + 0x38], r13
mov ebx, edi
test bx, bx
jne 0x14000b960
cmp r14, rsi
je 0x14000ba00
movzx ecx, byte [r14]
test cl, cl
js 0x14000b905
inc r14
mov ebx, ecx
xor edi, edi
cmp r13, qword [rsp + 0x28]
jne 0x14000b8d0
jmp 0x14000b96d
mov ebx, ecx
and ebx, 0x1f
movzx r8d, byte [r14 + 1]
and r8d, 0x3f
cmp cl, 0xdf
jbe 0x14000b953
movzx edx, byte [r14 + 2]
shl r8d, 6
and edx, 0x3f
or edx, r8d
cmp cl, 0xf0
jb 0x14000b9bd
movzx ecx, byte [r14 + 3]
add r14, 4
and ebx, 7
shl ebx, 0x12
shl edx, 6
and ecx, 0x3f
or ecx, edx
or ebx, ecx
cmp ebx, 0xffff
jbe 0x14000b960
jmp 0x14000b9ce
add r14, 2
shl ebx, 6
or ebx, r8d
nop dword [rax]
xor edi, edi
cmp r13, qword [rsp + 0x28]
jne 0x14000b8d0
lea rax, [0x141cf3762]
sub rax, r14
add rax, 8
movabs rcx, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
cmp di, 1
sbb rdx, 0
lea r8, [rdx + 2]
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x28]
mov rdx, r13
call fcn.140055f40
mov rax, qword [rsp + 0x30]
jmp 0x14000b8d0
add r14, 3
shl ebx, 0xc
or ebx, edx
cmp ebx, 0xffff
jbe 0x14000b960
lea ecx, [rbx + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and ebx, 0x3ff
or ebx, 0xdc00
mov edi, ebx
mov ebx, ecx
cmp r13, qword [rsp + 0x28]
jne 0x14000b8d0
jmp 0x14000b96d
mov rbx, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
xor ecx, ecx
mov edx, 6
call qword [sym.imp.ole32.dll_CoInitializeEx]
movabs rax, 0x14000000070
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r12
mov dword [rsp + 0xa0], 1
lea r15, [rsp + 0x70]
mov rcx, r15
call qword [sym.imp.shell32.dll_ShellExecuteExW]
test eax, eax
sete al
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
sete dl
or dl, al
cmp dl, 1
jne 0x14000baa0
test rbx, rbx
lea r14, [rsp + 0x40]
je 0x14000ba8d
mov rcx, qword [0x141d019d0]
xor edx, edx
mov r8, r13
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, 0xffffffff
jmp 0x14000baee
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0xd8]
lea rdx, [rsp + 0xec]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp eax, 1
mov edi, 0
sbb edi, edi
or edi, dword [rsp + 0xec]
test rbx, rbx
lea r14, [rsp + 0x40]
je 0x14000baee
mov rcx, qword [0x141d019d0]
xor edx, edx
mov r8, r13
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rbx, [rsp + 0xf0]
cmp qword [rsp + 0x158], 0
mov r13, qword [sym.imp.KERNEL32.dll_HeapFree]
je 0x14000bb1c
mov r8, qword [rsp + 0x160]
mov rcx, qword [0x141d019d0]
xor edx, edx
call r13
cmp qword [rsp + 0x140], 0
je 0x14000bb3b
mov r8, qword [rsp + 0x148]
mov rcx, qword [0x141d019d0]
xor edx, edx
call r13
cmp qword [rsp + 0x128], 0
je 0x14000bb5a
mov r8, qword [rsp + 0x130]
mov rcx, qword [0x141d019d0]
xor edx, edx
call r13
test rbp, rbp
je 0x14000bb73
mov rcx, qword [0x141d019d0]
xor edx, edx
mov r8, qword [rsp + 0x120]
call r13
test edi, edi
je 0x14000bdc9
lea rax, [0x141ce81c9]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x70], 0xc4585367
mov edx, dword [rsp + 0x70]
call fcn.1400071d0
mov rcx, qword [rax]
movabs rdx, 0xfa015af2351f603e
xor rcx, rdx
mov rdx, qword [rax + 8]
movabs r8, 0x6c50107afab139fd
xor rdx, r8
mov r8, qword [rax + 0x10]
movabs r9, 0x55a5b993a5b38df5
xor r8, r9
mov r9, qword [rax + 0x18]
movabs r10, 0x2521da54b062b3d8
xor r9, r10
movzx eax, byte [rax + 0x20]
xor al, 0x41
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
mov byte [rsp + 0x60], al
mov qword [rsp + 0xf0], r14
mov qword [rsp + 0xf8], 0x21
mov qword [rsp + 0x28], rbx
lea rax, [0x140003ec0]
mov qword [rsp + 0x30], rax
lea rax, [0x1400586d8]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 2
mov qword [rsp + 0x90], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
mov rcx, r15
call fcn.1400321b0
cmp qword [rsp + 0x118], 0
je 0x14000b6f0
mov rcx, qword [0x141d019d0]
xor edx, edx
mov r8, qword [rsp + 0x110]
call r13
jmp 0x14000b6f0
test rdx, rdx
je 0x14000bdeb
lea rax, [0x141ce55bb]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x70], 0x9ee49167
mov r15, rdx
mov edx, dword [rsp + 0x70]
call fcn.140007360
movabs rcx, 0x1318a9cb33a5fad4
xor rcx, qword [rax]
movabs rdx, 0xd5dcac2cc21891bb
xor rdx, qword [rax + 8]
movabs r8, 0x5ec8efc4b788c00
xor r8, qword [rax + 0x10]
movabs r9, 0x433ad16c125bd845
xor r9, qword [rax + 0x18]
movzx eax, byte [rax + 0x20]
xor al, 7
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
mov byte [rsp + 0x60], al
mov qword [rsp + 0xf0], r14
mov qword [rsp + 0xf8], 0x21
mov qword [rsp + 0x28], rbx
lea rax, [0x140003ec0]
mov qword [rsp + 0x30], rax
lea rax, [0x1400586d8]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 2
mov qword [rsp + 0x90], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
lea rcx, [rsp + 0x70]
call fcn.1400321b0
mov r8, r15
mov eax, r8d
and eax, 3
cmp eax, 1
jne 0x14000bf22
mov rsi, qword [r8 - 1]
mov rdi, qword [r8 + 7]
mov rax, qword [rdi]
test rax, rax
je 0x14000bda8
mov rcx, rsi
call rax
mov r8, r15
dec r8
cmp qword [rdi + 8], 0
je 0x14000bf13
cmp qword [rdi + 0x10], 0x11
jae 0x14000bef7
mov rdi, r8
jmp 0x14000befe
cmp qword [rsp + 0x118], 0
mov r8, qword [rsp + 0x110]
je 0x14000bdeb
mov rcx, qword [0x141d019d0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rax, [0x141cdf021]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x70], 0x5d4adc02
mov edx, dword [rsp + 0x70]
call fcn.1400073c0
movabs rcx, 0xeb7bd9d7d0552549
xor rcx, qword [rax]
movabs rdx, 0x403f6df1986f4f17
xor rdx, qword [rax + 8]
movabs r8, 0x120ef6311da27d11
xor r8, qword [rax + 0x10]
movabs r9, 0xd28b2d1555debaf5
xor r9, qword [rax + 0x18]
movabs r10, 0x6a20c782521306a1
xor r10, qword [rax + 0x20]
movzx eax, word [rax + 0x28]
mov r11d, eax
xor r11b, 0xaa
shr eax, 8
xor al, 0x63
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x60], r10
mov byte [rsp + 0x68], r11b
mov byte [rsp + 0x69], al
mov qword [rsp + 0xf0], r14
mov qword [rsp + 0xf8], 0x2a
mov qword [rsp + 0x28], rbx
lea rax, [0x140003ec0]
mov qword [rsp + 0x30], rax
lea rax, [0x1400586d8]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 2
mov qword [rsp + 0x90], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
lea rcx, [rsp + 0x70]
call fcn.1400321b0
jmp 0x14000c334
mov rdi, r8
mov rsi, qword [rsi - 8]
mov rcx, qword [0x141d019d0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, rdi
mov rcx, qword [0x141d019d0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14000c357
mov rsi, qword [rsp + 0x70]
mov rcx, qword [0x141d019c8]
test rcx, rcx
jne 0x14000bf80
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14000c357
mov rcx, qword [rsp + 0x70]
mov qword [0x141d019c8], rcx
test rcx, rcx
je 0x14000c350
mov rax, rsi
or rax, rcx
shr rax, 0x20
je 0x14000bf96
mov rax, rsi
xor edx, edx
div rcx
jmp 0x14000bf9c
mov eax, esi
xor edx, edx
div ecx
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
mov rdx, rax
or rdx, rcx
shr rdx, 0x20
je 0x14000bfc0
xor edx, edx
div rcx
mov rsi, rax
jmp 0x14000bfc6
xor edx, edx
div ecx
mov esi, eax
add rsi, r8
mov rax, rsi
shr rax, 9
movabs r14, 0x44b82fa09b5a53
mul r14
mov rdi, rdx
mov ecx, 0x23
call fcn.14002d570
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14000c357
mov rbx, qword [rsp + 0x70]
mov rcx, qword [0x141d019c8]
test rcx, rcx
jne 0x14000c048
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14000c357
mov rcx, qword [rsp + 0x70]
mov qword [0x141d019c8], rcx
test rcx, rcx
je 0x14000c350
mov rax, rbx
or rax, rcx
shr rax, 0x20
je 0x14000c05e
mov rax, rbx
xor edx, edx
div rcx
jmp 0x14000c064
mov eax, ebx
xor edx, edx
div ecx
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
mov rdx, rax
or rdx, rcx
shr rdx, 0x20
je 0x14000c088
xor edx, edx
div rcx
mov rbx, rax
jmp 0x14000c08e
xor edx, edx
div ecx
mov ebx, eax
add rbx, r8
mov rax, rbx
shr rax, 9
mul r14
mov r14, rdx
mov r8, qword [0x141d019c8]
test r8, r8
jne 0x14000c0db
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14000c357
mov r8, qword [rsp + 0x70]
mov qword [0x141d019c8], r8
test r8, r8
je 0x14000c350
shr rdi, 0xb
imul rax, rdi, 0x3b9aca00
sub rsi, rax
shr r14, 0xb
imul rax, r14, 0x3b9aca00
sub rbx, rax
cmp r8, 0x3b9aca00
ja 0x14000c10c
mov eax, 0x3b9aca00
xor edx, edx
div r8d
jmp 0x14000c10e
xor eax, eax
lea ecx, [rax - 0x3b9aca00]
xor edx, edx
cmp r8, 2
setb r8b
cmovae ecx, eax
xor r10d, r10d
mov rax, r14
sub rax, rdi
setne r10b
mov r9d, 0xff
cmovbe r9d, r10d
test r9b, r9b
jne 0x14000c14a
cmp rbx, rsi
setne r9b
ja 0x14000c1f2
cmp r9b, 1
jne 0x14000c1f2
cmp r14, rdi
ja 0x14000c350
mov r9, rdi
sub r9, r14
cmp rbx, rsi
jbe 0x14000c189
test r9, r9
je 0x14000c350
dec r9
lea r10d, [rsi + 0x3b9aca00]
sub r10d, ebx
cmp r10d, 0x3b9aca00
jae 0x14000c198
jmp 0x14000c1bd
mov r10d, esi
sub r10d, ebx
cmp r10d, 0x3b9aca00
jb 0x14000c1bd
mov r11d, r10d
shr r11d, 9
imul r11, r11, 0x44b83
shr r11, 0x27
add r9, r11
jb 0x14000c350
imul r11d, r11d, 0x3b9aca00
sub r10d, r11d
mov dl, r8b
xor r8d, r8d
cmp r9, rdx
setne r8b
mov edx, 0xff
cmovb r8d, edx
xor r9d, r9d
cmp r10d, ecx
setne r9b
cmovb r9d, edx
test r8b, r8b
cmovne r9d, r8d
cmp r9b, 1
jne 0x14000c352
cmp r14, rdi
jb 0x14000c352
cmp rbx, rsi
jae 0x14000c212
test rax, rax
je 0x14000c352
dec rax
add ebx, 0x3b9aca00
sub ebx, esi
cmp ebx, 0x3b9aca00
jb 0x14000c233
shr ebx, 9
imul rcx, rbx, 0x44b83
shr rcx, 0x27
add rax, rcx
jb 0x14000c350
cmp rax, 0x19
jb 0x14000c352
lea rcx, [rsp + 0x70]
call fcn.140043dd0
cmp byte [rsp + 0x70], 0x12
jne 0x14000c350
call fcn.1400080e0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0xf0], 0
call sub.KERNEL32.dll_GetCurrentProcess
lea rdx, [rsp + 0xf0]
mov rcx, rax
call sub.KERNEL32.dll_CheckRemoteDebuggerPresent
call sub.KERNEL32.dll_GetCurrentProcess
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x40]
mov rcx, rax
mov edx, 7
mov r9d, 8
call sub.ntdll.dll_NtQueryInformationProcess
call sub.KERNEL32.dll_GetCurrentProcess
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x28]
mov rcx, rax
mov edx, 0x1f
mov r9d, 4
call sub.ntdll.dll_NtQueryInformationProcess
call sub.KERNEL32.dll_GetCurrentProcess
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x70]
mov rcx, rax
mov edx, 0x1e
mov r9d, 8
call sub.ntdll.dll_NtQueryInformationProcess
cmp dword [rsp + 0xf0], 0
jne 0x14000c352
cmp qword [rsp + 0x40], 0
jne 0x14000c352
cmp dword [rsp + 0x28], 0
je 0x14000c352
cmp qword [rsp + 0x70], 0
jne 0x14000c352
mov ecx, 0x80000001
call qword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
call fcn.14000c360
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
call fcn.14003c880
call qword [sym.imp.KERNEL32.dll_GetLastError]
ud2