Function at 0x14000d3e0
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 0x14000d5a3
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 0x14000d5a3
cmp dword [rsp + 0xf0], 0
je 0x14000d5a3
lea rax, [0x141d02ca6]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
movabs rax, 0x28ee358551049bf3
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov rdx, qword [rsp + 0x70]
call fcn.140007270
movabs rcx, 0x6473f65616740f59
xor rcx, qword [rax]
movabs rdx, 0x5c3c7d014d9e5a4a
xor rdx, qword [rax + 8]
movabs r8, 0x4259c9f0a01aad2f
xor r8, qword [rax + 0x10]
movabs r9, 0x3bbd058d17997c23
xor r9, qword [rax + 0x18]
movabs r10, 0x3021bc15fa91e96b
xor r10, qword [rax + 0x20]
mov r11d, 0xf3c0e744
xor r11d, dword [rax + 0x28]
mov ebx, r11d
shr ebx, 8
movzx eax, byte [rax + 0x2c]
xor al, 0xd0
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, [0x1400318c0]
mov qword [rsp + 0x30], rax
lea rax, [0x140060b98]
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.140036580
jmp 0x14000de11
lea r15, [rsp + 0x70]
lea rbx, [rsp + 0xf0]
lea r14, [rsp + 0x40]
xorps xmm6, xmm6
lea rsi, [0x141d16a28]
nop
mov rcx, r15
call fcn.140032ed0
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
movabs rax, 0x8000000000000000
cmp rdi, rax
je 0x14000db65
mov r8, qword [rsp + 0x80]
mov rcx, r15
mov qword [rsp + 0x110], rdx
call fcn.14001ddc0
test byte [rsp + 0x70], 1
jne 0x14000e239
mov rbp, qword [rsp + 0x80]
test rbp, rbp
js 0x14000e239
mov qword [rsp + 0x118], rdi
mov r13, qword [rsp + 0x78]
je 0x14000d650
movzx eax, byte [0x141d1d110]
xor ecx, ecx
mov rdx, rbp
call fcn.140040a50
mov rdi, rax
test rax, rax
jne 0x14000d655
jmp 0x14000e239
mov edi, 1
mov rcx, rdi
mov rdx, r13
mov r8, rbp
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
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.14002fa30
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.14002fa30
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 0x14000e239
movzx eax, byte [0x141d1d110]
mov edx, 8
xor ecx, ecx
call fcn.140040a50
test rax, rax
je 0x14000e239
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, [0x141d16a23]
jmp 0x14000d7af
mov word [rax + r13*2], bx
inc r13
mov qword [rsp + 0x38], r13
mov ebx, edi
test bx, bx
jne 0x14000d830
cmp r14, rsi
je 0x14000d8d0
movzx ecx, byte [r14]
test cl, cl
js 0x14000d7d5
inc r14
mov ebx, ecx
xor edi, edi
cmp r13, qword [rsp + 0x28]
jne 0x14000d7a0
jmp 0x14000d83d
mov ebx, ecx
and ebx, 0x1f
movzx r8d, byte [r14 + 1]
and r8d, 0x3f
cmp cl, 0xdf
jbe 0x14000d823
movzx edx, byte [r14 + 2]
shl r8d, 6
and edx, 0x3f
or edx, r8d
cmp cl, 0xf0
jb 0x14000d88d
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 0x14000d830
jmp 0x14000d89e
add r14, 2
shl ebx, 6
or ebx, r8d
nop dword [rax]
xor edi, edi
cmp r13, qword [rsp + 0x28]
jne 0x14000d7a0
lea rax, [0x141d16a22]
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.140006ae0
mov rax, qword [rsp + 0x30]
jmp 0x14000d7a0
add r14, 3
shl ebx, 0xc
or ebx, edx
cmp ebx, 0xffff
jbe 0x14000d830
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 0x14000d7a0
jmp 0x14000d83d
mov rbx, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
xor ecx, ecx
mov edx, 6
call sub.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 sub.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 0x14000d970
test rbx, rbx
lea r14, [rsp + 0x40]
je 0x14000d95a
mov rcx, qword [0x141d1d0f0]
xor edx, edx
mov r8, r13
call fcn.14004dc58
mov edi, 0xffffffff
jmp 0x14000d9bb
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov rcx, qword [rsp + 0xd8]
lea rdx, [rsp + 0xec]
call sub.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 0x14000d9bb
mov rcx, qword [0x141d1d0f0]
xor edx, edx
mov r8, r13
call fcn.14004dc58
lea rbx, [rsp + 0xf0]
cmp qword [rsp + 0x158], 0
je 0x14000d9e4
mov r8, qword [rsp + 0x160]
mov rcx, qword [0x141d1d0f0]
xor edx, edx
call fcn.14004dc58
cmp qword [rsp + 0x140], 0
je 0x14000da05
mov r8, qword [rsp + 0x148]
mov rcx, qword [0x141d1d0f0]
xor edx, edx
call fcn.14004dc58
cmp qword [rsp + 0x128], 0
je 0x14000da26
mov r8, qword [rsp + 0x130]
mov rcx, qword [0x141d1d0f0]
xor edx, edx
call fcn.14004dc58
test rbp, rbp
je 0x14000da41
mov rcx, qword [0x141d1d0f0]
xor edx, edx
mov r8, qword [rsp + 0x120]
call fcn.14004dc58
test edi, edi
je 0x14000dcae
lea rax, [0x141d0cef1]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
movabs rax, 0x595f673b99754862
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
call fcn.140007e90
mov rcx, qword [rax]
movabs rdx, 0x27ba6ed99e947921
xor rcx, rdx
mov rdx, qword [rax + 8]
movabs r8, 0x347de5c2264e06c9
xor rdx, r8
mov r8, qword [rax + 0x10]
movabs r9, 0xf37d98069079d5a0
xor r8, r9
mov r9, qword [rax + 0x18]
movabs r10, 0x69a9b624fd27f38
xor r9, r10
movzx eax, byte [rax + 0x20]
xor al, 0xb9
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, [0x1400318c0]
mov qword [rsp + 0x30], rax
lea rax, [0x140060b98]
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.140036580
cmp qword [rsp + 0x118], 0
je 0x14000d5c0
mov rcx, qword [0x141d1d0f0]
xor edx, edx
mov r8, qword [rsp + 0x110]
call fcn.14004dc58
jmp 0x14000d5c0
test rdx, rdx
je 0x14000dccf
lea rax, [0x141d0dbd0]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
movabs rax, 0x63c9020a48e60ebf
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov r15, rdx
mov rdx, qword [rsp + 0x70]
call fcn.1400070a0
movabs rcx, 0x73d7bddf5b238f5b
xor rcx, qword [rax]
movabs rdx, 0x4361ba5209efe2c9
xor rdx, qword [rax + 8]
movabs r8, 0x80aafc04f153c8a7
xor r8, qword [rax + 0x10]
movabs r9, 0xfd95095e3a6861b1
xor r9, qword [rax + 0x18]
movzx eax, byte [rax + 0x20]
xor al, 0x21
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, [0x1400318c0]
mov qword [rsp + 0x30], rax
lea rax, [0x140060b98]
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.140036580
mov r8, r15
mov eax, r8d
and eax, 3
cmp eax, 1
jne 0x14000de11
mov rsi, qword [r8 - 1]
mov rdi, qword [r8 + 7]
mov rax, qword [rdi]
test rax, rax
je 0x14000dc8d
mov rcx, rsi
call rax
mov r8, r15
dec r8
cmp qword [rdi + 8], 0
je 0x14000de03
cmp qword [rdi + 0x10], 0x11
jae 0x14000dde8
mov rdi, r8
jmp 0x14000ddef
cmp qword [rsp + 0x118], 0
mov r8, qword [rsp + 0x110]
je 0x14000dccf
mov rcx, qword [0x141d1d0f0]
xor edx, edx
call fcn.14004dc58
lea rax, [0x141d03972]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
movabs rax, 0x9d45940f69b50d5a
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov rdx, qword [rsp + 0x70]
call fcn.140006ea0
movabs rcx, 0x44f21e587249d16a
xor rcx, qword [rax]
movabs rdx, 0x22fd9cbde01aa544
xor rdx, qword [rax + 8]
movabs r8, 0x72396d0abc24f508
xor r8, qword [rax + 0x10]
movabs r9, 0x5cc1f4aaac985a06
xor r9, qword [rax + 0x18]
movabs r10, 0x60f835fa28c43580
xor r10, qword [rax + 0x20]
movzx eax, word [rax + 0x28]
mov r11d, eax
xor r11b, 0xf9
shr eax, 8
xor al, 0x9d
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, [0x1400318c0]
mov qword [rsp + 0x30], rax
lea rax, [0x140060b98]
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.140036580
jmp 0x14000e21d
mov rdi, r8
mov rsi, qword [rsi - 8]
mov rcx, qword [0x141d1d0f0]
xor edx, edx
mov r8, rsi
call fcn.14004dc58
mov r8, rdi
mov rcx, qword [0x141d1d0f0]
xor edx, edx
call fcn.14004dc58
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceCounter
test eax, eax
je 0x14000e240
mov rsi, qword [rsp + 0x70]
mov rcx, qword [0x141d1d0e8]
test rcx, rcx
jne 0x14000de6d
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceFrequency
test eax, eax
je 0x14000e240
mov rcx, qword [rsp + 0x70]
mov qword [0x141d1d0e8], rcx
test rcx, rcx
je 0x14000e239
mov rax, rsi
or rax, rcx
shr rax, 0x20
je 0x14000de83
mov rax, rsi
xor edx, edx
div rcx
jmp 0x14000de89
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 0x14000dead
xor edx, edx
div rcx
mov rsi, rax
jmp 0x14000deb3
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.140031910
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceCounter
test eax, eax
je 0x14000e240
mov rbx, qword [rsp + 0x70]
mov rcx, qword [0x141d1d0e8]
test rcx, rcx
jne 0x14000df33
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceFrequency
test eax, eax
je 0x14000e240
mov rcx, qword [rsp + 0x70]
mov qword [0x141d1d0e8], rcx
test rcx, rcx
je 0x14000e239
mov rax, rbx
or rax, rcx
shr rax, 0x20
je 0x14000df49
mov rax, rbx
xor edx, edx
div rcx
jmp 0x14000df4f
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 0x14000df73
xor edx, edx
div rcx
mov rbx, rax
jmp 0x14000df79
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 [0x141d1d0e8]
test r8, r8
jne 0x14000dfc5
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceFrequency
test eax, eax
je 0x14000e240
mov r8, qword [rsp + 0x70]
mov qword [0x141d1d0e8], r8
test r8, r8
je 0x14000e239
shr rdi, 0xb
imul rax, rdi, 0x3b9aca00
sub rsi, rax
shr r14, 0xb
imul rax, r14, 0x3b9aca00
sub rbx, rax
cmp r8, 0x3b9aca00
ja 0x14000dff6
mov eax, 0x3b9aca00
xor edx, edx
div r8d
jmp 0x14000dff8
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 0x14000e034
cmp rbx, rsi
setne r9b
ja 0x14000e0dc
cmp r9b, 1
jne 0x14000e0dc
cmp r14, rdi
ja 0x14000e239
mov r9, rdi
sub r9, r14
cmp rbx, rsi
jbe 0x14000e073
test r9, r9
je 0x14000e239
dec r9
lea r10d, [rsi + 0x3b9aca00]
sub r10d, ebx
cmp r10d, 0x3b9aca00
jae 0x14000e082
jmp 0x14000e0a7
mov r10d, esi
sub r10d, ebx
cmp r10d, 0x3b9aca00
jb 0x14000e0a7
mov r11d, r10d
shr r11d, 9
imul r11, r11, 0x44b83
shr r11, 0x27
add r9, r11
jb 0x14000e239
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 0x14000e23b
cmp r14, rdi
jb 0x14000e23b
cmp rbx, rsi
jae 0x14000e0fc
test rax, rax
je 0x14000e23b
dec rax
add ebx, 0x3b9aca00
sub ebx, esi
cmp ebx, 0x3b9aca00
jb 0x14000e11d
shr ebx, 9
imul rcx, rbx, 0x44b83
shr rcx, 0x27
add rax, rcx
jb 0x14000e239
cmp rax, 0x19
jb 0x14000e23b
lea rcx, [rsp + 0x70]
call fcn.14004a080
cmp byte [rsp + 0x70], 0x12
jne 0x14000e239
call fcn.140009e90
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 0x14000e23b
cmp qword [rsp + 0x40], 0
jne 0x14000e23b
cmp dword [rsp + 0x28], 0
je 0x14000e23b
cmp qword [rsp + 0x70], 0
jne 0x14000e23b
mov ecx, 0x80000001
call sub.KERNEL32.dll_SetThreadExecutionState
call fcn.14000e250
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.1400409e0
call sub.KERNEL32.dll_GetLastError
ud2