Function at 0x140023210
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rbp
push rdi
push r13
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rax + 0x10], rbx
mov edi, 1
mov qword [rax - 0x28], r12
mov r13, r9
mov r12d, edx
mov rbx, rcx
test dil, r8b
je 0x140023772
mov qword [rax - 0x20], rsi
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
call fcn.1400287d0
mov r15d, dword [rbx + 0x20]
lea ecx, [rdi + 0xf]
mov dword [rbp - 0xd], 0
mov dword [rbp - 5], 0
call fcn.14006d070
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x11], edi
lea rdx, [rax + 0xc]
xor eax, eax
xor ecx, ecx
mov qword [rbp - 0x21], rdx
nop word [rax + rax]
mov dword [rcx + rdx], 0xffffffff
lea rcx, [rcx + 4]
mov r9d, dword [rbp - 0x11]
inc eax
cmp eax, r9d
jge 0x1400232ac
mov rdx, qword [rbp - 0x21]
jmp 0x140023290
mov rdi, qword [rbp - 0x19]
mov esi, r15d
btr esi, 0x1f
mov dword [rbp - 9], 0xffffffff
mov eax, esi
cdq
idiv r9d
mov rax, qword [rbp - 0x21]
movsxd rcx, edx
mov r8d, dword [rax + rcx*4]
test r8d, r8d
js 0x140023301
nop dword [rax]
nop dword [rax + rax]
mov eax, r8d
lea rcx, [rax + rax*2]
cmp dword [rdi + rcx*4 + 8], esi
jne 0x1400232f7
cmp dword [rdi + rcx*4], r15d
je 0x14002346d
mov r8d, dword [rdi + rcx*4 + 4]
test r8d, r8d
jns 0x1400232e0
mov ecx, dword [rbp - 5]
test ecx, ecx
jle 0x14002331e
mov eax, dword [rdi - 8]
dec ecx
mov dword [rbp - 5], ecx
mov r10d, 0xffffffff
mov dword [rbp - 9], eax
jmp 0x140023437
mov r10d, dword [rbp - 0xd]
cmp r10d, r9d
jne 0x140023430
lea eax, [r10 + r10]
movsxd rbx, eax
or rbx, 1
mov rcx, rbx
shl rcx, 4
call fcn.14006d070
lea rcx, [rbx + rbx*2]
mov rdi, rax
lea r14, [rax + rcx*4]
test rbx, rbx
jle 0x140023366
movsxd r8, ebx
mov edx, 0xffffffff
shl r8, 2
mov rcx, r14
call fcn.1400a0db0
mov ecx, dword [rbp - 0xd]
xor r8d, r8d
test ecx, ecx
jle 0x1400233ab
mov r9, 0xfffffffffffffffc
lea rdx, [rdi + 4]
sub r9, rdi
nop
mov rcx, qword [rbp - 0x19]
lea rdx, [rdx + 0xc]
add rcx, r9
inc r8d
mov eax, dword [rcx + rdx - 4]
mov dword [rdx - 8], eax
mov eax, dword [rcx + rdx - 8]
mov dword [rdx - 0xc], eax
mov eax, dword [rcx + rdx - 0xc]
mov dword [rdx - 0x10], eax
mov ecx, dword [rbp - 0xd]
cmp r8d, ecx
jl 0x140023380
movsxd rax, ecx
cmp rax, rbx
jge 0x1400233d7
lea rdx, [rax + 1]
lea rdx, [rax + rdx*2]
lea rdx, [rdi + rdx*4]
nop
inc ecx
mov dword [rdx], 0xffffffff
movsxd rax, ecx
lea rdx, [rdx + 0xc]
cmp rax, rbx
jl 0x1400233c0
mov ecx, dword [rbp - 0xd]
xor r9d, r9d
test ecx, ecx
jle 0x14002340f
lea r8, [rdi + 4]
movsxd rax, dword [r8 + 4]
test eax, eax
js 0x140023403
cqo
idiv rbx
movsxd rax, edx
lea rcx, [r14 + rax*4]
mov eax, dword [r14 + rax*4]
mov dword [r8], eax
mov dword [rcx], r9d
mov ecx, dword [rbp - 0xd]
inc r9d
add r8, 0xc
cmp r9d, ecx
jl 0x1400233e2
mov rcx, qword [rbp - 0x19]
call fcn.14006bcf0
mov r10d, dword [rbp - 0xd]
mov eax, esi
cdq
mov dword [rbp - 0x11], ebx
idiv ebx
mov rbx, qword [rbp + 0x67]
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], rdi
lea eax, [r10 + 1]
mov dword [rbp - 0xd], eax
movsxd rax, r10d
lea rcx, [rax + rax*2]
movsxd rax, edx
mov dword [rdi + rcx*4 + 8], esi
lea r8, [rax*4]
mov rax, qword [rbp - 0x21]
mov edx, dword [r8 + rax]
mov rax, qword [rbp - 0x19]
mov dword [rax + rcx*4 + 4], edx
mov rax, qword [rbp - 0x19]
mov dword [rax + rcx*4], r15d
mov rax, qword [rbp - 0x21]
mov dword [r8 + rax], r10d
mov ebx, dword [rbx + 0x20]
xor r14d, r14d
xor r15d, r15d
mov qword [rbp + 0xf], 1
mov dword [rbp + 0x1b], r15d
lea ecx, [r14 + 0x10]
call fcn.14006d070
mov r8d, ebx
mov dword [rax + 0xc], 0xffffffff
mov ecx, dword [rax + 0xc]
lea edi, [r14 + 1]
btr r8d, 0x1f
mov qword [rbp + 7], rax
mov dword [rbp + 0x17], 0xffffffff
lea r9, [rax + 0xc]
mov qword [rbp - 1], r9
mov rdx, rax
test ecx, ecx
js 0x1400234da
nop dword [rax + rax]
mov eax, ecx
lea rcx, [rax + rax*2]
cmp dword [rdx + rcx*4 + 8], r8d
jne 0x1400234d2
cmp dword [rdx + rcx*4], ebx
je 0x1400234ef
mov ecx, dword [rdx + rcx*4 + 4]
test ecx, ecx
jns 0x1400234c0
mov dword [rdx + 8], r8d
mov r14d, edi
mov eax, dword [r9]
mov dword [rdx + 4], eax
mov dword [rdx], ebx
mov dword [r9], r15d
mov dword [rbp + 0x13], edi
xor r13d, r13d
nop dword [rax]
nop word [rax + rax]
mov r9d, 0x7ee
lea r8, str.C:JenkinsworkspaceBeefBeefySysLibplatformwinPlatform.cpp
mov edx, edi
mov ecx, 0x2000
call fcn.1400387b0
lea r9, [rbp + 0x77]
mov dword [rbp + 0x77], r13d
mov r8d, 0x2000
mov rdx, rax
mov ecx, 5
mov rsi, rax
call qword [0x1400f2a68]
cmp eax, 0xc0000004
jne 0x14002358d
nop
mov ebx, dword [rbp + 0x77]
mov rdx, rdi
mov rcx, rsi
add ebx, 0x1000
call fcn.1400387c8
mov ecx, ebx
lea r8, str.C:JenkinsworkspaceBeefBeefySysLibplatformwinPlatform.cpp
mov r9d, 0x7ee
mov edx, edi
call fcn.1400387b0
lea r9, [rbp + 0x77]
mov dword [rbp + 0x77], r13d
mov r8d, ebx
mov rdx, rax
mov ecx, 5
mov rsi, rax
call qword [0x1400f2a68]
cmp eax, 0xc0000004
je 0x140023540
mov r10, qword [rbp - 0x19]
mov r13d, 1
mov r11, qword [rbp - 0x21]
nop dword [rax + rax]
xor dil, dil
mov rbx, rsi
test rsi, rsi
je 0x140023630
nop
mov r8d, dword [rbx + 0x58]
test r11, r11
je 0x14002361c
mov r9d, r8d
btr r9d, 0x1f
mov eax, r9d
cdq
idiv dword [rbp - 0x11]
movsxd rax, edx
mov ecx, dword [r11 + rax*4]
test ecx, ecx
js 0x14002361c
mov eax, ecx
lea rcx, [rax + rax*2]
cmp dword [r10 + rcx*4 + 8], r9d
jne 0x1400235e6
cmp dword [r10 + rcx*4], r8d
je 0x1400235f1
mov ecx, dword [r10 + rcx*4 + 4]
test ecx, ecx
jns 0x1400235d3
jmp 0x14002361c
mov eax, dword [rbx + 0x50]
lea rdx, [rbp - 0x29]
xor r9d, r9d
mov dword [rbp - 0x29], eax
xor r8d, r8d
lea rcx, [rbp - 0x21]
call fcn.14002a870
mov r10, qword [rbp - 0x19]
test al, al
mov r11, qword [rbp - 0x21]
movzx edi, dil
cmovne edi, r13d
mov eax, dword [rbx]
test eax, eax
je 0x140023627
add rbx, rax
jne 0x1400235b0
test dil, dil
jne 0x1400235a0
mov rdx, r13
mov rcx, rsi
mov rdi, r13
call fcn.1400387c8
movsxd r10, dword [rbp - 0xd]
sub r14d, r15d
mov eax, r10d
sub eax, dword [rbp - 5]
cmp r14d, eax
je 0x140023746
mov r9, qword [rbp - 0x19]
xor r13d, r13d
mov r8d, r13d
test r10d, r10d
je 0x14002368d
nop dword [rax]
nop word [rax + rax]
movsxd rax, r8d
lea ebx, [r8 + 1]
lea rcx, [rax + rax*2]
cmp dword [r9 + rcx*4 + 8], r13d
jge 0x140023697
movsxd rax, ebx
mov r8d, ebx
cmp rax, r10
jb 0x140023670
lea ebx, [r10 + 1]
mov r8d, 0xffffffff
lea esi, [r10 + 1]
nop dword [rax + rax]
cmp esi, ebx
je 0x140023734
movsxd rax, r8d
lea rdx, [rbp - 0x29]
xor r8d, r8d
lea rcx, [rax + rax*2]
mov edi, dword [r9 + rcx*4]
xor r9d, r9d
lea rcx, [rbp - 1]
mov dword [rbp - 0x29], edi
call fcn.14002a870
test al, al
je 0x1400236ee
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x1400236ee
mov edx, r12d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
movsxd r10, dword [rbp - 0xd]
mov r9, qword [rbp - 0x19]
movsxd rax, ebx
cmp rax, r10
jae 0x14002371b
nop
movsxd rax, ebx
lea edx, [rbx + 1]
lea rcx, [rax + rax*2]
cmp dword [r9 + rcx*4 + 8], r13d
jge 0x14002372a
movsxd rax, edx
mov ebx, edx
cmp rax, r10
jb 0x140023700
lea ebx, [r10 + 1]
mov r8d, 0xffffffff
jmp 0x1400236a0
mov r8d, ebx
mov ebx, edx
jmp 0x1400236a0
mov r15d, dword [rbp + 0x1b]
mov edi, 1
mov r14d, dword [rbp + 0x13]
jmp 0x140023500
mov rcx, qword [rbp + 7]
call fcn.14006bcf0
mov rcx, qword [rbp - 0x19]
call fcn.14006bcf0
mov r13, qword [rbp + 0x7f]
mov rbx, qword [rbp + 0x67]
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
mov rcx, qword [rbx + 0x18]
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov r12, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xb8]
test eax, eax
jne 0x1400237ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r13, r13
je 0x1400237bb
mov dword [r13], edi
add rsp, 0x90
pop r13
pop rdi
pop rbp
ret
test r13, r13
je 0x1400237bb
mov dword [r13], 0
add rsp, 0x90
pop r13
pop rdi
pop rbp
ret