Function at 0x140021950
Capabilities:
Terminate process

Disassembly:
shr rcx, 2
rep stosd dword [rdi], eax
mov ecx, esi
and ecx, 3
rep stosb byte [rdi], al
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
call rax
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0xe4]
mov dword [rbp], eax
mov rax, qword [rbp + 0x80]
mov edx, 0
mov ecx, dword [rbp]
mov rbx, qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x168], rcx
mov rcx, rax
mov rax, qword [rbp + 0x168]
mov r8, rax
call rbx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], 0
mov dword [rbp + 4], 4
mov eax, 0x20a
add rax, qword [rbp + 0x90]
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], 0
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0xa0]
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov rdx, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
call rdx
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x170], rcx
mov rcx, rax
mov rax, qword [rbp + 0x170]
call rax
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0xdc]
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xe0]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x178], rcx
mov rcx, rax
mov rax, qword [rbp + 0x178]
call rax
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xf8]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x180], rcx
mov rcx, rax
mov rax, qword [rbp + 0x180]
call rax
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x118], 0
mov dword [rbp + 8], 0
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x60]
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0xd8]
mov rdx, qword [rbp + 0x120]
mov ecx, 1
mov ebx, 0
mov esi, 0
mov dword [rsp + 0x20], 0
mov dword [rbp + 0x188], ecx
mov rcx, rdx
mov edx, dword [rbp + 0x188]
mov r8, rbx
mov r9, rsi
call rax
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x110]
test rax, rax
je 0x140021da1
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x138], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x7c]
mov dword [rbp + 0x10], eax
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0x110]
mov rcx, qword [rbp + 0x138]
mov ebx, 0
mov esi, 0
mov edi, dword [rbp + 0x10]
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], 0
add byte [rax], al
mov qword [rbp + 0x190], rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x190]
mov r8, rbx
mov r9d, esi
call rax
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x118]
test rax, rax
je 0x140021da1
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0xe4]
mov dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x108]
mov rdx, qword [rbp + 0x118]
mov rcx, qword [rbp + 0x98]
mov ebx, dword [rbp + 0x14]
lea rsi, [rbp + 8]
mov qword [rbp + 0x198], rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x198]
mov r8d, ebx
mov r9, rsi
call rax
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x18]
test eax, eax
je 0x140021da1
mov eax, dword [rbp + 8]
test eax, eax
jbe 0x140021da1
mov eax, dword [rbp + 8]
add rax, qword [rbp + 0x98]
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x98]
add byte [rax], al
add byte [rax - 0x75], cl
xchg ebp, eax
movabs al, byte [0x840fc23b48000000]
out dx, al
add byte [rax], al
invalid
mov rax, qword [rbp + 0xa0]
mov eax, dword [rax]
mov dword [rbp + 0x1c], eax
mov dword [rbp + 4], 0
mov eax, dword [rbp + 4]
cmp eax, 0x20
jge 0x140021d0e
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x90]
mov qword [rbp + 0x148], rax
mov eax, dword [rbp + 4]
movsxd rax, eax
add rax, qword [rbp + 0x148]
mov edx, dword [rbp + 0x1c]
add edx, dword [rax]
mov eax, dword [rbp + 4]
movsxd rax, eax
add rax, qword [rbp + 0x98]
mov dword [rax], edx
mov eax, 4
add eax, dword [rbp + 4]
mov dword [rbp + 4], eax
jmp 0x140021cc6
mov rax, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x98]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x1a0], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1a0]
call rax
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
test rax, rax
je 0x140021da1
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x30]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0xa8]
lea rdx, [rbp + 0x78]
mov rcx, qword [rbp + 0x158]
mov ebx, 0
mov esi, 0
mov qword [rbp + 0x1a8], rcx
mov dword [rbp + 0x1a8], ecx
mov rcx, rdx
mov rdx, qword [rbp + 0x1a8]
mov r8, rbx
mov r9, rsi
call rax
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0x20]
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x98]
mov qword [rbp + 0x130], rax
mov eax, 0
mov rdx, qword [rbp + 0x130]
mov ecx, 0
mov ebx, 0x30
mov rsi, qword [sym.imp.USER32.dll_MessageBoxA]
mov qword [rbp + 0x1b0], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1b0]
mov r8, rax
mov r9d, ebx
call rsi
mov dword [rbp + 0xc], eax
mov eax, 0
mov rdx, qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, eax
call rdx
nop
nop
nop
nop
xor edx, edx
xor eax, eax
jmp 0x140021e1a
test r8w, r8w
je 0x140021e30
add rdx, 1
movzx r8d, word [rcx + rdx*2]
cmp r8w, 0x5c
jne 0x140021e10
mov eax, edx
jmp 0x140021e16
add eax, 1
ret