Function at 0x1400a7da8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
lea rax, [0x14010c6d0]
mov rbx, rcx
mov qword [rcx + 0x10], rax
mov rdi, rdx
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400a7ded
and dword [rbx + 0x18], 0
mov rax, qword [rcx + 0x10]
mov r8d, dword [rax + 4]
and r8d, dword [rcx + 8]
and r8d, 7
or dword [rbx + 8], r8d
mov ecx, dword [rbx + 8]
mov ebp, 1
mov eax, dword [rdx + 0x24]
test bpl, cl
je 0x1400a7e06
or eax, 0x10
mov dword [rdx + 0x24], eax
mov ecx, dword [rbx + 8]
test cl, 2
je 0x1400a7e13
or eax, ebp
mov dword [rdx + 0x24], eax
mov ecx, dword [rbx + 8]
test cl, 4
je 0x1400a7e21
or eax, 2
mov dword [rdx + 0x24], eax
mov ecx, dword [rbx + 8]
or ecx, ebp
mov dword [rbx + 8], ecx
test byte [rdx + 0x24], bpl
je 0x1400a7e32
or ecx, 2
mov dword [rbx + 8], ecx
mov eax, dword [rdx + 0x24]
shr eax, 1
test bpl, al
je 0x1400a7e42
or ecx, 4
mov dword [rbx + 8], ecx
mov rdx, qword [rdx + 8]
mov rcx, rbx
call fcn.1400a79d8
test byte [rbx + 0xc], bpl
je 0x1400a7e5f
mov edx, dword [rbx + 0x18]
add edx, ebp
or dword [rdi + 0x24], 0x10
jmp 0x1400a7e61
mov edx, ebp
mov dword [rbx + 0x18], edx
mov eax, dword [rdi + 0x24]
and eax, 0xffff807f
movzx ecx, dl
shl ecx, 7
or ecx, eax
mov dword [rdi + 0x24], ecx
cmp edx, 0x100
jb 0x1400a7ea2
mov ebx, 0x986
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.1400c9744
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
mov edx, dword [rbx + 0xc]
test dl, 2
je 0x1400a7eb2
or ecx, ebp
mov dword [rdi + 0x24], ecx
mov edx, dword [rbx + 0xc]
test dl, 4
je 0x1400a7ec0
or ecx, 2
mov dword [rdi + 0x24], ecx
mov edx, dword [rbx + 0xc]
test dl, 0x40
je 0x1400a7ece
or ecx, 8
mov dword [rdi + 0x24], ecx
mov edx, dword [rbx + 0xc]
test edx, 0x480
jne 0x1400a7ee0
mov eax, ecx
shr eax, 4
test bpl, al
je 0x1400a7ee9
or ecx, 4
mov dword [rdi + 0x24], ecx
mov edx, dword [rbx + 0xc]
bt edx, 9
jb 0x1400a7ef4
test cl, 3
je 0x1400a7efa
or ecx, 0x20
mov dword [rdi + 0x24], ecx
and dword [rsp + 0x20], 0
lea r9, [0x14012dde8]
lea r8, [0x14012dc00]
xor edx, edx
mov rcx, rdi
call fcn.1400cbdc8
test rax, rax
je 0x1400a7f55
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x1400a7f55
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x30]
call qword [case.0x1400cd70e.0]
test eax, eax
je 0x1400a7f51
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x98]
call qword [case.0x1400cd70e.0]
test rax, rax
je 0x1400a7f55
or dword [rdi + 0x24], 4
or dword [rbx + 0xc], ebp
mov ecx, dword [rbx + 0xc]
bt ecx, 8
jae 0x1400a7f68
bts ecx, 0xa
mov dword [rbx + 0xc], ecx
mov edx, dword [rdi + 0x24]
mov eax, edx
shr eax, 2
test bpl, al
je 0x1400a7f7f
bts ecx, 7
mov dword [rbx + 0xc], ecx
mov edx, dword [rdi + 0x24]
shr edx, 3
test bpl, dl
je 0x1400a7f8d
or ecx, 0x40
mov dword [rbx + 0xc], ecx
test byte [rdi + 0x24], bpl
je 0x1400a7f99
or ecx, 2
mov dword [rbx + 0xc], ecx
mov edx, dword [rdi + 0x24]
mov eax, edx
shr eax, 1
test bpl, al
je 0x1400a7fae
or ecx, 4
mov dword [rbx + 0xc], ecx
mov edx, dword [rdi + 0x24]
mov eax, edx
shr eax, 5
test bpl, al
je 0x1400a7fc2
bts ecx, 9
mov dword [rbx + 0xc], ecx
mov edx, dword [rdi + 0x24]
shr edx, 6
test bpl, dl
je 0x1400a7fd0
or ecx, 8
mov dword [rbx + 0xc], ecx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret