Function at 0x140046404
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x1400fe210]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15d, 2
mov byte [rbp - 0x10], 0
xor r13b, r13b
mov qword [rsp + 0x68], rdi
mov rbx, rcx
lea rsi, [0x140000000]
xor r12b, r12b
lea r14d, [r15 + 2]
nop dword [rax + rax]
cmp dword [rbx + 0xc0], r15d
jne case.0x1400464d4.38
mov r8, qword [rbx + 0xa8]
lea rdx, [rbp - 0x10]
mov rcx, qword [rbx + 0xa0]
call qword [rbx + 0x98]
test eax, eax
jne 0x140046b4c
mov rcx, qword [rbx + 0xa8]
movzx eax, byte [rbp - 0x10]
and al, 0xf0
lea r8, [rcx + 1]
mov qword [rbx + 0xa8], r8
cmp al, 0x40
jne 0x1400464df
nop dword [rax]
mov rcx, qword [rbx + 0xa0]
lea rdx, [rbp - 0x10]
call qword [rbx + 0x98]
test eax, eax
jne 0x140046b4c
movzx ecx, byte [rbp - 0x10]
movzx eax, cl
and al, 0xf0
cmp al, 0x40
jne 0x1400464b6
mov r8, qword [rbx + 0xa8]
lea rdx, [rbp - 0x10]
mov rcx, qword [rbx + 0xa0]
call qword [rbx + 0x98]
test eax, eax
jne 0x140046b4c
inc qword [rbx + 0xa8]
mov r8, qword [rbx + 0xa8]
jmp 0x140046460
lea eax, [rcx - 0x26]
cmp eax, 0xcd
ja case.0x1400464d4.39
cdqe
movzx eax, byte [rsi + rax + 0x46d08]
mov ecx, dword [rsi + rax*4 + 0x46d00]
add rcx, rsi
jmp rcx
dec qword [rbx + 0xa8]
jmp case.0x1400464d4.38
mov qword [rbx + 0xa8], rcx
mov rdi, qword [rbx + 0xa8]
lea rdx, [rbp - 0x10]
mov rcx, qword [rbx + 0xa0]
mov r8, rdi
call qword [rbx + 0x98]
test eax, eax
jne 0x140046b4c
mov rax, qword [rbx + 0xa8]
movzx r10d, byte [rbp - 0x10]
lea r8, [rax + 1]
mov qword [rbx + 0xa8], r8
cmp rax, qword [rbx + 0xc8]
jne 0x140046600
lea eax, [r10 + 0xe]
cmp al, 1
ja 0x140046600
mov rcx, qword [rbx + 0xa0]
lea rdx, [rbp - 0xd]
call qword [rbx + 0x98]
test eax, eax
jne 0x140046b4c
movzx r10d, byte [rbp - 0x10]
movzx ecx, byte [rbp - 0xd]
lea eax, [r10 + 0xe]
cmp al, 1
ja 0x14004659c
movzx eax, cl
and al, 0xfe
cmp al, 0x86
je 0x14004657a
movzx eax, cl
and al, 0xf8
cmp al, 0x90
je 0x14004657a
cmp cl, 0xf0
jne 0x140046581
mov byte [rbx + 0x8d], 1
cmp r10b, 0xf3
jne 0x14004659c
lea eax, [rcx + 0x78]
cmp al, 1
jbe 0x140046595
lea eax, [rcx + 0x3a]
cmp al, 1
ja 0x14004659c
mov byte [rbx + 0x8d], 1
cmp dword [rbx + 0xc0], r15d
jne 0x140046600
and cl, 0xf0
cmp cl, 0x40
jne 0x140046600
mov r8, qword [rbx + 0xa8]
lea rdx, [rbp - 0xd]
mov rcx, qword [rbx + 0xa0]
call qword [rbx + 0x98]
test eax, eax
jne 0x140046b4c
inc qword [rbx + 0xa8]
lea rdx, [rbp - 0xd]
mov r8, qword [rbx + 0xa8]
mov rcx, qword [rbx + 0xa0]
call qword [rbx + 0x98]
test eax, eax
jne 0x140046b4c
dec qword [rbx + 0xa8]
movzx r10d, byte [rbp - 0x10]
movzx eax, r10b
add eax, 0xffffffda
cmp eax, 0xcd
ja case.0x140046626.47
cdqe
movzx eax, byte [rsi + rax + 0x46e00]
mov ecx, dword [rsi + rax*4 + 0x46dd8]
add rcx, rsi
jmp rcx
mov r8, rdi
mov word [rbx + 0xe], 0
movzx edx, r10b
mov byte [rbx + 0xd], 0
mov rcx, rbx
call fcn.140047080
mov byte [rbx + 1], r10b
jmp 0x140046410
mov dword [rbx + 0x6c], 1
mov r8, rdi
mov dword [rbx + 6], 0
movzx edx, r10b
mov byte [rbx + 5], 0
mov rcx, rbx
mov byte [rbx + 0xa], 0
call fcn.140047080
mov byte [rbx + 2], r10b
jmp 0x140046410
mov dword [rbx + 0x6c], r15d
jmp 0x140046651
mov dword [rbx + 0x6c], 3
jmp 0x140046651
mov dword [rbx + 0x6c], r14d
jmp 0x140046651
mov dword [rbx + 0x6c], 5
jmp 0x140046651
mov dword [rbx + 0x6c], 6
jmp 0x140046651
mov r8, rdi
movzx edx, r10b
mov rcx, rbx
mov r12b, 1
call fcn.140047080
mov byte [rbx + 3], r10b
jmp 0x140046410
mov r8, rdi
movzx edx, r10b
mov rcx, rbx
mov r13b, 1
call fcn.140047080
mov byte [rbx + 4], r10b
jmp 0x140046410
mov rax, qword [rbx + 0xa8]
mov dword [rbx + 0xd8], 0
cmp r10b, 0x62
jne 0x140046840
mov rcx, qword [rbx + 0xa0]
lea rdx, [rbp - 0xe]
mov r8, rax
call qword [rbx + 0x98]
test eax, eax
jne 0x140046b4c
mov rcx, qword [rbx + 0xa8]
movzx edx, byte [rbp - 0xe]
lea r8, [rcx + 1]
mov qword [rbx + 0xa8], r8
cmp dword [rbx + 0xc0], r15d
je 0x140046738
movzx eax, dl
and al, 0xc0
cmp al, 0xc0
jne 0x140046830
mov eax, edx
not eax
and eax, 0xc
cmp al, 0xc
jne 0x140046830
mov rcx, qword [rbx + 0xa0]
lea rdx, [rbp - 0xf]
call qword [rbx + 0x98]
test eax, eax
jne 0x140046b4c
test byte [rbp - 0xf], r14b
je 0x140046772
mov dword [rbx + 0xd8], 3
jmp 0x14004679b
mov rax, qword [rbx + 0xa8]
sub rax, r15
mov qword [rbx + 0xa8], rax
add rax, 0xfffffffffffffffe
cmp dword [rbx + 0xd8], 3
mov qword [rbx + 0xe0], rax
jne 0x140046bb9
movzx eax, byte [rbp - 0x10]
lea rdx, [rbx + 0x90]
mov byte [rbx + 0x8e], al
mov rcx, rbx
movzx eax, byte [rbp - 0xe]
mov byte [rbx + 0x8f], al
call fcn.1400442d0
test eax, eax
jne 0x140046b4c
lea rdx, [rbx + 0x91]
mov rcx, rbx
call fcn.1400442d0
test eax, eax
jne 0x140046b4c
movzx edx, byte [rbx + 0x90]
cmp dword [rbx + 0xc0], r15d
jne 0x14004680c
movzx ecx, byte [rbx + 0x8f]
movzx eax, dl
not ecx
shr al, 4
sar ecx, 5
and al, 8
and cl, 7
or cl, al
or cl, 0x40
mov byte [rbx + 0x68], cl
movzx ecx, dl
and ecx, 3
cmp ecx, 1
jne 0x140046bb9
movzx r12d, cl
jmp 0x140046bb9
lea rax, [rcx - 1]
mov qword [rbx + 0xa8], rax
jmp 0x140046bb9
cmp r10b, 0xc4
jne 0x14004693b
mov rcx, qword [rbx + 0xa0]
lea rdx, [rbp - 0xf]
mov r8, rax
call qword [rbx + 0x98]
test eax, eax
jne 0x140046b4c
cmp dword [rbx + 0xc0], r15d
je 0x1400468a5
movzx eax, byte [rbp - 0xf]
and al, 0xc0
cmp al, 0xc0
je 0x1400468a5
mov rdx, qword [rbx + 0xa8]
lea rax, [rdx - 1]
mov qword [rbx + 0xa8], rax
lea rax, [rdx - 2]
mov qword [rbx + 0xe0], rax
cmp dword [rbx + 0xd8], r15d
jne 0x140046bb9
jmp 0x1400468bd
mov rax, qword [rbx + 0xa8]
dec rax
mov dword [rbx + 0xd8], r15d
mov qword [rbx + 0xe0], rax
movzx eax, byte [rbp - 0x10]
lea rdx, [rbx + 0x8f]
mov rcx, rbx
mov byte [rbx + 0x8e], al
call fcn.1400442d0
test eax, eax
jne 0x140046b4c
lea rdx, [rbx + 0x90]
mov rcx, rbx
call fcn.1400442d0
test eax, eax
jne 0x140046b4c
movzx edx, byte [rbx + 0x90]
cmp dword [rbx + 0xc0], r15d
jne 0x140046924
movzx ecx, byte [rbx + 0x8f]
movzx eax, dl
not ecx
shr al, 4
sar ecx, 5
and al, 8
and cl, 7
or cl, al
or cl, 0x40
mov byte [rbx + 0x68], cl
mov ecx, edx
and ecx, 3
cmp ecx, 1
jne 0x140046bb9
movzx r12d, cl
jmp 0x140046bb9
cmp r10b, 0xc5
jne 0x1400469e9
mov rcx, qword [rbx + 0xa0]
lea rdx, [rbp - 0xf]
mov r8, rax
call qword [rbx + 0x98]
test eax, eax
jne 0x140046b4c
cmp dword [rbx + 0xc0], r15d
je 0x14004698a
movzx eax, byte [rbp - 0xf]
and al, 0xc0
cmp al, 0xc0
je 0x14004698a
dec qword [rbx + 0xa8]
cmp dword [rbx + 0xd8], 1
jne 0x140046bb9
jmp 0x140046994
mov dword [rbx + 0xd8], 1
movzx eax, byte [rbp - 0x10]
lea rdx, [rbx + 0x8f]
mov rcx, rbx
mov byte [rbx + 0x8e], al
call fcn.1400442d0
test eax, eax
jne 0x140046b4c
movzx ecx, byte [rbx + 0x8f]
cmp dword [rbx + 0xc0], r15d
jne 0x1400469d4
mov eax, ecx
not eax
sar eax, 5
and al, r14b
or al, 0x40
mov byte [rbx + 0x68], al
and ecx, 3
cmp ecx, 1
jne 0x140046bb9
movzx r12d, cl
jmp 0x140046bb9
cmp r10b, 0x8f
jne 0x140046acd
mov rcx, qword [rbx + 0xa0]
lea rdx, [rbp - 0xf]
mov r8, rax
call qword [rbx + 0x98]
test eax, eax
jne 0x140046b4c
test byte [rbp - 0xf], 0x38
mov rdx, qword [rbx + 0xa8]
lea rax, [rdx - 1]
je 0x140046a30
mov dword [rbx + 0xd8], r14d
mov qword [rbx + 0xe0], rax
jmp 0x140046a4f
mov qword [rbx + 0xa8], rax
lea rax, [rdx - 2]
mov qword [rbx + 0xe0], rax
cmp dword [rbx + 0xd8], r14d
jne 0x140046bb9
movzx eax, byte [rbp - 0x10]
lea rdx, [rbx + 0x8f]
mov rcx, rbx
mov byte [rbx + 0x8e], al
call fcn.1400442d0
test eax, eax
jne 0x140046b4c
lea rdx, [rbx + 0x90]
mov rcx, rbx
call fcn.1400442d0
test eax, eax
jne 0x140046b4c
movzx edx, byte [rbx + 0x90]
cmp dword [rbx + 0xc0], r15d
jne 0x140046ab6
movzx ecx, byte [rbx + 0x8f]
movzx eax, dl
not ecx
shr al, 4
sar ecx, 5
and al, 8
and cl, 7
or cl, al
or cl, 0x40
mov byte [rbx + 0x68], cl
mov ecx, edx
and ecx, 3
cmp ecx, 1
jne 0x140046bb9
movzx r12d, cl
jmp 0x140046bb9
cmp dword [rbx + 0xc0], r15d
jne 0x140046ba5
and r10b, 0xf0
cmp r10b, 0x40
jne 0x140046b8e
mov rcx, qword [rbx + 0xa0]
lea rdx, [rbp - 0xe]
mov r8, rax
call qword [rbx + 0x98]
test eax, eax
jne 0x140046b4c
movzx eax, byte [rbp - 0xe]
mov rcx, qword [rbx + 0xa8]
and al, 0xf0
cmp al, 0x40
jne 0x140046b7a
mov r8, rcx
lea rdx, [rbp - 0x10]
mov rcx, qword [rbx + 0xa0]
call qword [rbx + 0x98]
test eax, eax
jne 0x140046b4c
inc qword [rbx + 0xa8]
lea rdx, [rbp - 0xe]
mov r8, qword [rbx + 0xa8]
mov rcx, qword [rbx + 0xa0]
call qword [rbx + 0x98]
test eax, eax
je 0x140046b00
mov eax, 0xffffffff
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400478a0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movzx eax, byte [rbp - 0x10]
add rcx, 0xfffffffffffffffe
mov byte [rbx + 0x68], al
mov qword [rbx + 0xe0], rcx
jmp 0x140046bb9
dec rax
mov qword [rbx + 0xa8], rax
lea rcx, [rax - 1]
mov qword [rbx + 0xe0], rcx
jmp 0x140046bb9
dec rax
mov qword [rbx + 0xa8], rax
dec rax
mov qword [rbx + 0xe0], rax
mov eax, dword [rbx + 0xc0]
test eax, eax
jne 0x140046bfb
test r12b, r12b
mov eax, r15d
cmovne eax, r14d
test r13b, r13b
mov byte [rbx + 0xe8], al
cmovne r15d, r14d
mov byte [rbx + 0xeb], al
mov byte [rbx + 0xec], al
xor eax, eax
mov byte [rbx + 0xe9], r15b
mov byte [rbx + 0xea], r15b
jmp 0x140046b51
cmp eax, 1
jne 0x140046c38
test r12b, r12b
mov eax, r14d
cmovne eax, r15d
test r13b, r13b
mov byte [rbx + 0xe8], al
cmovne r14d, r15d
mov byte [rbx + 0xeb], al
mov byte [rbx + 0xec], al
xor eax, eax
mov byte [rbx + 0xe9], r14b
mov byte [rbx + 0xea], r14b
jmp 0x140046b51
cmp eax, r15d
jne 0x140046cf9
movzx eax, byte [rbx + 0x68]
test al, al
je 0x140046cbc
test al, 8
je 0x140046c7d
test r13b, r13b
mov byte [rbx + 0xe8], 8
mov edx, 8
mov word [rbx + 0xea], 0x404
cmovne edx, r14d
mov byte [rbx + 0xec], r14b
mov byte [rbx + 0xe9], dl
xor eax, eax
jmp 0x140046b51
test al, al
je 0x140046cbc
test r12b, r12b
mov eax, r14d
mov edx, 8
cmovne eax, r15d
test r13b, r13b
mov byte [rbx + 0xe8], al
cmovne edx, r14d
mov byte [rbx + 0xea], al
mov byte [rbx + 0xeb], al
mov byte [rbx + 0xec], al
xor eax, eax
mov byte [rbx + 0xe9], dl
jmp 0x140046b51
test r12b, r12b
mov edx, 8
mov eax, edx
mov ecx, r14d
cmovne ecx, r15d
test r13b, r13b
mov byte [rbx + 0xe8], cl
cmovne eax, r14d
mov byte [rbx + 0xea], cl
test r12b, r12b
mov byte [rbx + 0xe9], al
mov byte [rbx + 0xeb], cl
cmovne edx, r14d
mov byte [rbx + 0xec], dl
xor eax, eax
jmp 0x140046b51