Function at 0x140021170
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
mov eax, 0x2290
call fcn.1400579e0
sub rsp, rax
mov rax, qword [0x1400010c0]
xor rax, rsp
mov qword [rsp + 0x2280], rax
cmp qword [rsp + 0x22c8], 0
jne 0x1400211b8
mov eax, 1
jmp 0x14002182d
mov qword [rsp + 0xc0], 0
lea r8, [rsp + 0xc0]
mov rdx, qword [rsp + 0x22a8]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x1400211ef
mov qword [rsp + 0xc0], 0
lea rax, [rsp + 0x170]
mov rdi, rax
xor eax, eax
mov ecx, 0x105
rep stosb byte [rdi], al
mov dword [rsp + 0xb0], 0x105
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xc0]
call fcn.140021f40
test eax, eax
jne 0x140021294
xor ecx, ecx
call fcn.1400220e0
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], 0x105
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x170]
call fcn.140021fc0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x160
lea r9, [0x140003430]
lea r8, [0x140003490]
lea rdx, [0x1400034c0]
mov ecx, eax
call fcn.1400222a0
lea rcx, [rsp + 0x170]
call fcn.140022040
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0xc8], 0x40
jbe 0x140021320
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xc8]
lea rax, [rax + rcx - 0x40]
mov qword [rsp + 0x98], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
mov byte [rcx + rax], 0x2e
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x98]
mov byte [rcx + rax], 0x2e
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x98]
mov byte [rcx + rax], 0x2e
cmp qword [rsp + 0x22c0], 0
je 0x140021342
lea rcx, [rsp + 0x22c0]
call fcn.140022080
mov qword [rsp + 0xd0], rax
jmp 0x14002134e
mov qword [rsp + 0xd0], 0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xa8], 0
cmp qword [rsp + 0x22c0], 0
je 0x14002139d
cmp qword [rsp + 0xd8], 0x40
jbe 0x14002139d
mov rax, qword [rsp + 0x22c0]
mov rcx, qword [rsp + 0xd8]
lea rax, [rax + rcx - 0x3d]
mov qword [rsp + 0xa8], rax
cmp dword [rsp + 0x22a0], 2
jne 0x1400213b8
mov rax, qword [0x140003150]
mov qword [rsp + 0xe8], rax
jmp 0x1400213c7
lea rax, [0x140013020]
mov qword [rsp + 0xe8], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x22c8]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1400213f2
mov rax, qword [rsp + 0x22c8]
mov qword [rsp + 0xf0], rax
jmp 0x140021401
lea rax, [0x14000348e]
mov qword [rsp + 0xf0], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x22c8]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140021435
cmp dword [rsp + 0x22a0], 2
jne 0x140021435
lea rax, [0x1400035b8]
mov qword [rsp + 0xf8], rax
jmp 0x140021444
lea rax, [0x140013020]
mov qword [rsp + 0xf8], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x22c8]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x14002146e
lea rax, [0x1400035d4]
mov qword [rsp + 0x100], rax
jmp 0x14002147d
lea rax, [0x140013020]
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x22b8], 0
je 0x14002149a
mov rax, qword [rsp + 0x22b8]
mov qword [rsp + 0x108], rax
jmp 0x1400214a9
lea rax, [0x14000348e]
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x22b8], 0
je 0x1400214c5
lea rax, [0x1400035e0]
mov qword [rsp + 0x110], rax
jmp 0x1400214d4
lea rax, [0x140013020]
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x22b0], 0
je 0x1400214f1
mov rax, qword [rsp + 0x22b0]
mov qword [rsp + 0x118], rax
jmp 0x140021500
lea rax, [0x14000348e]
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x22b0], 0
je 0x14002151c
lea rax, [0x1400035f0]
mov qword [rsp + 0x120], rax
jmp 0x14002152b
lea rax, [0x140013020]
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0xa8], 0
je 0x140021548
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x128], rax
jmp 0x140021584
cmp qword [rsp + 0x22c0], 0
je 0x140021565
mov rax, qword [rsp + 0x22c0]
mov qword [rsp + 0xe0], rax
jmp 0x140021574
lea rax, [0x14000348e]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x128], rax
cmp qword [rsp + 0xa8], 0
je 0x1400215a0
lea rax, [0x140003600]
mov qword [rsp + 0x130], rax
jmp 0x1400215af
lea rax, [0x140013020]
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x22c0], 0
je 0x1400215cb
lea rax, [0x140003608]
mov qword [rsp + 0x138], rax
jmp 0x1400215da
lea rax, [0x140013020]
mov qword [rsp + 0x138], rax
movsxd rax, dword [rsp + 0x22a0]
lea rcx, [0x1400030f0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x150], rax
xor ecx, ecx
call fcn.1400220c0
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x158]
mov r8d, 0xfff
mov edx, 0x1000
lea rcx, [rsp + 0x280]
call fcn.140022350
mov dword [rsp + 0xa0], eax
call fcn.140022ee0
mov eax, dword [rax]
mov dword [rsp + 0xb4], eax
call fcn.140022ee0
mov dword [rax], 0
cmp dword [rsp + 0xa0], 0
jge 0x140021741
call fcn.140022ee0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x192
lea rcx, [0x140003430]
mov qword [rsp + 0x28], rcx
lea rcx, [0x140003490]
mov qword [rsp + 0x20], rcx
lea r9, [0x140003620]
mov r8d, 0x22
mov edx, 0x16
mov ecx, dword [rax]
call fcn.1400222f0
call fcn.140022ee0
mov ecx, dword [rsp + 0xb4]
mov dword [rax], ecx
cmp dword [rsp + 0xa0], 0
jge 0x14002179f
lea r8, [0x1400036e0]
mov edx, 0x1000
lea rcx, [rsp + 0x280]
call fcn.140038390
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x196
lea r9, [0x140003430]
lea r8, [0x140003490]
lea rdx, [0x140003640]
mov ecx, eax
call fcn.1400222a0
mov r8d, 0x12012
lea rdx, [0x140003740]
lea rcx, [rsp + 0x280]
call fcn.14003a090
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 3
je 0x1400217ee
cmp dword [rsp + 0x90], 4
je 0x140021824
cmp dword [rsp + 0x90], 5
je 0x14002182b
jmp 0x14002182b
call fcn.14003a290
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x160], 0
je 0x140021810
mov ecx, 0x16
call fcn.14003a340
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
jmp 0x14002182d
xor eax, eax
mov rcx, qword [rsp + 0x2280]
xor rcx, rsp
call fcn.140016550
add rsp, 0x2290
pop rdi
ret