Function at 0x14000335c
Capabilities:
Terminate process

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [rdx]
mov rbp, qword [rdx + 8]
add qword [rcx + 0x2080], rbp
and rax, 0xfffffffffffffffe
mov qword [rdx], rax
mov rsi, rcx
mov rbx, rdx
lea r12, [rcx + 0x20a0]
je 0x1400019ed
mov rdi, rdx
mov rcx, r12
sub rdi, rax
mov rdx, rdi
sar rdx, 0xc
call fcn.140001495
test al, al
je 0x1400019ed
test byte [rdi], 1
jne 0x1400019ed
mov r13, qword [rdi + 8]
lea rax, [r13 - 0xfb1]
cmp rax, 0x3efff04e
ja 0x1400019ed
mov rdx, rdi
mov rcx, rsi
add rbp, r13
sar rbx, 0xc
call fcn.1400016a8
mov qword [rdi + 8], rbp
mov rdx, rbx
mov rcx, r12
mov rbx, rdi
call fcn.140001505
cmp rbp, 0x3f000000
jle 0x1400019ed
mov rdx, rdi
mov rcx, rsi
mov r8d, 0x3f000000
call fcn.1400018a1
mov rdx, rdi
mov rcx, rsi
mov rbx, rax
call fcn.14000161f
mov rdi, qword [rbx + 8]
mov rcx, r12
lea r9, [rbx + rdi]
mov rbp, r9
sar rbp, 0xc
mov rdx, rbp
call fcn.140001495
test al, al
je 0x140001a69
test byte [r9], 1
jne 0x140001a69
mov r13, qword [r9 + 8]
cmp rdi, 0x3effffff
jg 0x140001a69
cmp r13, 0xfb0
jle 0x140001a69
mov rdx, r9
mov rcx, rsi
add rdi, r13
call fcn.1400016a8
mov qword [rbx + 8], rdi
mov rdx, rbp
mov rcx, r12
call fcn.140001505
cmp rdi, 0x3f000000
jle 0x140001a69
mov rdx, rbx
mov rcx, rsi
mov r8d, 0x3f000000
call fcn.1400018a1
mov rcx, rsi
mov rdx, rax
call fcn.14000161f
mov rdx, rbx
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.14000161f
sub rsp, 0x38
mov r10, rdx
mov r8, rcx
and r10, 0xfffffffffffff000
mov rax, qword [r10 + 8]
cmp rax, 0xfb0
jle 0x140003395
mov r11, qword [r10 + 0x10]
cmp r11, rcx
je 0x140003434
mov rdx, r10
mov rcx, r11
add rsp, 0x38
jmp fcn.140001deb
cmp qword [r10 + 0x10], rcx
je 0x1400033b8
add r10, 0x40
mov rax, qword [r10]
mov qword [rdx], rax
mov rax, qword [rdx]
lock cmpxchg qword [r10], rdx
je 0x1400034c1
mov qword [rdx], rax
jmp 0x14000339f
sub qword [rcx + 0x2088], rax
mov rcx, qword [r10 + 0x28]
mov qword [rdx], rcx
mov qword [r10 + 0x28], rdx
mov rdx, qword [r10 + 0x30]
lea rcx, [rdx + rax]
cmp rdx, rax
jl 0x14000340b
mov qword [r10 + 0x30], rcx
cmp rcx, 0xfb0
jne 0x1400034c1
mov ecx, 0x10
cqo
idiv rcx
mov rdx, r10
lea rcx, [r8 + rax*8]
call fcn.1400014d0
mov qword [r10 + 8], 0x1000
mov rcx, r8
jmp 0x140003449
mov r9d, 0x10
cqo
idiv r9
mov rdx, qword [r8 + rax*8]
mov qword [r10 + 0x18], rdx
test rdx, rdx
je 0x140003427
mov qword [rdx + 0x20], r10
mov qword [r8 + rax*8], r10
mov qword [r10 + 0x30], rcx
jmp 0x1400034c1
sub qword [r11 + 0x2088], rax
cmp rax, 0x3f000000
jg 0x140003452
mov rdx, r10
mov rcx, r11
add rsp, 0x38
jmp 0x140001940
mov rdx, r10
lea rcx, [r11 + 0x20a0]
mov qword [rsp + 0x28], rax
sar rdx, 0xc
call fcn.140001505
mov rax, qword [rsp + 0x28]
mov rdx, qword [r11 + 0x2070]
mov r8d, 0x8000
mov rcx, qword [r11 + 0x2078]
cmp rcx, rdx
cmovl rcx, rdx
sub rdx, rax
mov qword [r11 + 0x2070], rdx
xor edx, edx
mov qword [r11 + 0x2078], rcx
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x1400034c1
lea rcx, str.virtualFree_failing_
call fcn.140003316
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
add rsp, 0x38
ret