Function at 0x140001020
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
xor eax, eax
mov r15, rcx
mov rcx, qword [rcx + 0x20]
xor ebx, ebx
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
call qword [sym.imp.ntdll.dll_RtlNormalizeProcessParams]
mov ecx, 1
mov dword [rsp + 0xa0], ebx
mov r13, rax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x98], ebx
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r14d, ebx
mov dword [rsp + 0x90], ebx
lea r12, [rsp + 0xa8]
mov edi, ebx
mov ebp, ebx
mov esi, ecx
test r13, r13
je 0x140001184
lea rdx, [r13 + 0x70]
mov eax, dword [r13 + 0xc]
mov dword [rsp + 0xa0], eax
cmp qword [rdx + 8], rbx
je 0x1400016b2
cmp word [rdx], bx
je 0x1400016b2
movzx r8d, cl
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlUnicodeStringToAnsiString]
mov dword [rsp + 0x90], eax
mov edi, eax
test eax, eax
js 0x1400012cc
movzx ebp, word [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
test ebp, ebp
je 0x140001147
nop dword [rax]
cmp byte [rdi], 0
je 0x140001145
test ebp, ebp
je 0x140001145
movzx eax, byte [rdi]
test al, al
je 0x140001111
movsx ecx, al
call qword [sym.imp.ntdll.dll_isspace]
test eax, eax
jne 0x140001308
test ebp, ebp
je 0x140001145
cmp byte [rdi], 0
je 0x140001141
inc esi
mov rbx, rdi
nop
inc rdi
add ebp, 0xffffffff
je 0x140001135
movsx ecx, byte [rdi]
call qword [sym.imp.ntdll.dll_isspace]
test eax, eax
je 0x140001120
mov rax, rdi
inc r14
sub rax, rbx
add r14, rax
test ebp, ebp
jne 0x1400010f0
xor ebx, ebx
mov rcx, qword [r13 + 0x80]
mov edx, ebx
test rcx, rcx
je 0x140001181
cmp word [rcx], 0
je 0x140001181
nop dword [rax + rax]
add rcx, 2
inc edx
nop word [rax + rax]
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140001170
cmp word [rcx], ax
jne 0x140001160
lea ecx, [rdx + 1]
lea eax, [rsi + rcx]
cmp eax, 2
jbe 0x1400012c5
cmp esi, 1
jbe 0x14000119f
mov rdi, qword [rsp + 0x38]
movzx ebp, word [rsp + 0x30]
mov rcx, qword [r15 + 0x30]
lea rbx, [rax*8]
add r14, rbx
xor edx, edx
mov r8, r14
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r15, rax
test rax, rax
je 0x1400016c5
mov qword [rsp + 0x20], rax
cmp esi, 1
jbe 0x140001279
add rbx, rax
lea rsi, [rax + r14]
test ebp, ebp
je 0x140001279
mov r13d, dword [rsp + 0x98]
nop word [rax + rax]
cmp byte [rdi], 0
je 0x14000126c
cmp rbx, rsi
jae 0x14000126c
test ebp, ebp
je 0x14000126c
movzx eax, byte [rdi]
test al, al
je 0x140001216
movsx ecx, al
call qword [sym.imp.ntdll.dll_isspace]
test eax, eax
jne 0x140001319
test ebp, ebp
je 0x14000126c
cmp byte [rdi], 0
je 0x140001268
mov qword [r15], rbx
add r15, 8
inc r13d
nop dword [rax]
movzx eax, byte [rdi]
mov r14, rbx
mov byte [rbx], al
inc rdi
inc rbx
add ebp, 0xffffffff
je 0x140001259
cmp rbx, rsi
jae 0x1400016cf
movsx ecx, byte [rdi]
call qword [sym.imp.ntdll.dll_isspace]
test eax, eax
je 0x140001230
cmp rbx, rsi
jae 0x1400016cf
mov byte [rbx], 0
inc rbx
test ebp, ebp
jne 0x1400011f0
mov dword [rsp + 0x98], r13d
mov r13, qword [rsp + 0x28]
xor r8d, r8d
lea r12, [r15 + 8]
mov qword [r15], r8
mov rdx, r12
mov rax, qword [r13 + 0x80]
test rax, rax
je 0x1400012c2
cmp word [rax], r8w
je 0x1400012c2
nop dword [rax + rax]
mov qword [rdx], rax
add rdx, 8
add rax, 2
nop dword [rax + rax]
movzx ecx, word [rax]
add rax, 2
test cx, cx
jne 0x1400012b0
cmp word [rax], r8w
jne 0x1400012a0
mov qword [rdx], r8
mov edi, dword [rsp + 0x90]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeAnsiString]
mov eax, dword [rsp + 0xa0]
test eax, eax
jne 0x14000132a
test edi, edi
js 0x1400016db
mov rdx, qword [rsp + 0x20]
mov r9d, eax
mov ecx, dword [rsp + 0x98]
mov r8, r12
call fcn.140001330
mov edi, eax
jmp 0x1400016db
inc rdi
add ebp, 0xffffffff
jne 0x1400010f9
jmp 0x140001111
inc rdi
add ebp, 0xffffffff
jne 0x1400011fe
jmp 0x140001216
int3
cmp qword [r13 + 0x68], rbx
lea rdx, [r13 + 0x60]
je 0x140001147
jmp 0x1400010bf
mov edi, 0xc0000017
jmp 0x1400012cc
mov rbx, r14
mov byte [r14], 0
jmp 0x140001268
mov edx, edi
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret