Function at 0x38a0a60f0
Capabilities:
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov r12, qword [0x38a0abb00]
mov rax, qword [r12]
mov qword [rsp + 0x38], rax
xor eax, eax
mov rbx, rcx
call fcn.38a0a5b50
test eax, eax
je 0x38a0a6140
mov rdx, qword [rsp + 0x38]
sub rdx, qword [r12]
jne 0x38a0a6269
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rsi, qword [rbx]
lea rdi, [rsi + 0x18]
mov rcx, rdi
call fcn.38a0a2070
mov ebp, eax
test eax, eax
jne 0x38a0a6191
lea r13, [rsi + 0x20]
mov rcx, r13
call fcn.38a0a2070
mov ebp, eax
test eax, eax
jne 0x38a0a6240
mov edx, dword [rsi + 8]
test edx, edx
jne 0x38a0a618c
mov edx, dword [rsi + 0x10]
mov eax, dword [rsi + 0xc]
test edx, edx
jle 0x38a0a6188
sub eax, edx
mov dword [rsi + 0x10], 0
mov dword [rsi + 0xc], eax
test eax, eax
jg 0x38a0a61c0
lock add dword [rsi + 8], 1
mov rax, qword [rsp + 0x38]
sub rax, qword [r12]
jne 0x38a0a6269
mov edx, ebp
mov rcx, rbx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp fcn.38a0a5880
neg eax
mov qword [rsp + 0x28], rsi
lea r14, [rsi + 0x28]
mov dword [rsi + 0x10], eax
lea rax, [0x38a0a5910]
mov qword [rsp + 0x20], rax
call fcn.38a0a3e90
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.38a0a3e90
lea rdx, [rsp + 0x20]
mov qword [rax], rdx
lock or qword [rsp], 0
jmp 0x38a0a620f
mov eax, dword [rsi + 0x10]
test eax, eax
jns 0x38a0a6250
mov rdx, r13
mov rcx, r14
call fcn.38a0a7090
mov edi, eax
test eax, eax
je 0x38a0a6208
call fcn.38a0a3e90
mov rdx, qword [rsp + 0x30]
mov ebp, edi
mov qword [rax], rdx
mov rcx, qword [rsp + 0x28]
call qword [rsp + 0x20]
jmp 0x38a0a6191
mov rcx, rdi
call fcn.38a0a2340
jmp 0x38a0a6191
call fcn.38a0a3e90
mov rdx, qword [rsp + 0x30]
mov qword [rax], rdx
mov dword [rsi + 0xc], 0
jmp 0x38a0a618c
call fcn.38a0a7d50
nop
nop
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rdi, qword [0x38a0abb00]
mov rax, qword [rdi]
mov qword [rsp + 0x38], rax
xor eax, eax
mov rbx, rcx
mov rsi, rdx
test rcx, rcx
je 0x38a0a6358
test rdx, rdx
je 0x38a0a6358
call fcn.38a0a5b50
test eax, eax
je 0x38a0a62d8
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rdi]
jne 0x38a0a638a
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rbp, qword [rbx]
mov rdx, rsi
lea r12, [rbp + 0x18]
mov rcx, r12
call fcn.38a0a21b0
mov edx, eax
test eax, eax
jne 0x38a0a6368
lea r14, [rbp + 0x20]
mov rdx, rsi
mov rcx, r14
call fcn.38a0a21b0
mov r13d, eax
test eax, eax
jne 0x38a0a6378
mov edx, dword [rbp + 8]
test edx, edx
jne 0x38a0a6327
mov edx, dword [rbp + 0x10]
mov eax, dword [rbp + 0xc]
test edx, edx
jle 0x38a0a6323
sub eax, edx
mov dword [rbp + 0x10], 0
mov dword [rbp + 0xc], eax
test eax, eax
jg 0x38a0a6390
lock add dword [rbp + 8], 1
mov rax, qword [rsp + 0x38]
sub rax, qword [rdi]
jne 0x38a0a638a
mov edx, r13d
mov rcx, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.38a0a5880
mov eax, 0x16
jmp 0x38a0a62b2
mov rax, qword [rsp + 0x38]
sub rax, qword [rdi]
je 0x38a0a6339
jmp 0x38a0a638a
mov rcx, r12
call fcn.38a0a2340
mov rax, qword [rsp + 0x38]
sub rax, qword [rdi]
je 0x38a0a6336
call fcn.38a0a7d50
nop
neg eax
mov qword [rsp + 0x28], rbp
lea r15, [rbp + 0x28]
mov dword [rbp + 0x10], eax
lea rax, [0x38a0a5910]
mov qword [rsp + 0x20], rax
call fcn.38a0a3e90
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.38a0a3e90
lea rdx, [rsp + 0x20]
mov qword [rax], rdx
lock or qword [rsp], 0
jmp 0x38a0a63dd
test r12d, r12d
jne 0x38a0a63f5
mov r8, rsi
mov rdx, r14
mov rcx, r15
call fcn.38a0a76c0
mov r12d, eax
mov eax, dword [rbp + 0x10]
test eax, eax
js 0x38a0a63d8
call fcn.38a0a3e90
mov rdx, qword [rsp + 0x30]
mov qword [rax], rdx
test r12d, r12d
jne 0x38a0a6418
mov dword [rbp + 0xc], 0
jmp 0x38a0a6327
mov rcx, qword [rsp + 0x28]
mov r13d, r12d
call qword [rsp + 0x20]
jmp 0x38a0a632c