Function at 0x607c7c
Capabilities:
Check for software breakpoints

Disassembly:
mov r11, rsp
push rsi
push rdi
push r13
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rbp
mov rdi, rdx
mov rsi, rcx
mov byte [rdx + 0xa8], 0
mov rax, qword [rdx + 0x98]
mov r8, qword [rax]
mov qword [rdx + 0xa0], r8
lea r8, [r11 + 0x10]
lea rdx, str.Settings
lea rcx, [r11 - 0x50]
call fcn.004021a8
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.005f40f0
test al, al
sete bl
lea rax, [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
cmp rcx, rax
je 0x607d0d
test rcx, rcx
je 0x607d0d
mov rdx, qword [rsp + 0x28]
sub rdx, rcx
cmp rdx, 0x100
jbe 0x607d08
call fcn.006a4944
jmp 0x607d0d
call fcn.006a3610
test bl, bl
jne 0x6080d3
mov rcx, rdi
call fcn.004d11d4
mov r11, qword [rdi + 0xa0]
mov rcx, qword [r11]
mov qword [rdi + 0x98], rcx
mov rax, qword [rcx]
mov qword [rdi + 0xa0], rax
mov byte [rdi + 0xa8], bl
mov rax, qword [rcx]
mov qword [rdi + 0xa0], rax
lea r13, [0x00400000]
mov rax, qword [rdi + 0x98]
test rax, rax
je 0x6080cb
mov rax, qword [rax + 8]
cmp qword [rdi + 0xa0], rax
je 0x6080cb
lea r8, [rsp + 0x88]
lea rdx, str.type
lea rcx, [rsp + 0x28]
call fcn.004021a8
nop
mov rcx, rdi
call fcn.004d11d4
mov r11, qword [rdi + 0xa0]
mov rax, qword [r11]
mov rbx, qword [rax + 0x20]
lea r8, [rsp + 0x28]
mov rdx, rbx
mov rcx, qword [rax + 0x18]
call fcn.005ccb0c
lea rbp, [rax + 0x30]
lea rcx, [0x0085e820]
cmp rax, rbx
cmove rbp, rcx
lea rax, [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
cmp rcx, rax
je 0x607df4
test rcx, rcx
je 0x607df4
mov rdx, qword [rsp + 0x28]
sub rdx, rcx
cmp rdx, 0x100
jbe 0x607def
call fcn.006a4944
jmp 0x607df4
call fcn.006a3610
mov rcx, rdi
call fcn.004d11d4
mov r11, qword [rdi + 0xa0]
mov r8, qword [r11]
add r8, 0x30
mov rcx, qword [0x00862cb8]
add rcx, 0x50
lea rdx, [rsp + 0x90]
call fcn.0056b500
mov rax, qword [rax]
test rax, rax
je 0x607e2f
mov ebx, dword [rax + 0x38]
jmp 0x607e34
mov ebx, 0x3c4
cmp ebx, 0xcd
ja 0x607eb7
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
sub rax, rcx
cmp rax, 6
jne 0x607eb7
mov edx, dword [rcx]
cmp edx, dword [r13 + 0x39c044]
jne 0x607e6a
mov dx, word [rcx + 4]
cmp dx, word [r13 + 0x39c048]
jne 0x607e6a
xor eax, eax
jmp 0x607e6f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x607eb7
mov rcx, rdi
call fcn.004d11d4
mov r11, qword [rdi + 0xa0]
mov rdx, qword [r11]
add rdx, 0x60
movsxd rbx, ebx
lea rax, [rbx + rbx*2]
add rax, rax
lea rcx, [rsi + rax*8 + 0x38]
cmp rdx, rcx
je 0x607eaa
mov r8, qword [rdx + 0x20]
mov rdx, qword [rdx + 0x28]
call fcn.0040289c
mov byte [rbx + rsi + 0x2df8], 1
jmp 0x60809a
lea eax, [rbx - 0xcf]
cmp eax, 0x15a
ja 0x607f50
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
sub rax, rcx
cmp rax, 3
jne 0x607f50
mov dx, word [rcx]
cmp dx, word [r13 + 0x39c04c]
jne 0x607ef6
mov dl, byte [rcx + 2]
cmp dl, byte [r13 + 0x39c04e]
jne 0x607ef6
xor eax, eax
jmp 0x607efb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x607f50
mov rcx, rdi
call fcn.004d11d4
mov r11, qword [rdi + 0xa0]
mov rax, qword [r11]
mov rcx, qword [rax + 0x88]
cmp rcx, qword [rax + 0x80]
jne 0x607f39
movsxd rax, ebx
mov byte [rax + rsi + 0x2df8], 0
and dword [rsi + rax*4 + 0x239c], 0
jmp 0x60809a
call fcn.006a5458
mov r8d, eax
mov edx, ebx
mov rcx, rsi
call fcn.0040a41c
jmp 0x60809a
lea eax, [rbx - 0x22b]
cmp eax, 0x194
ja 0x608006
mov r9, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x20]
sub rcx, r9
cmp rcx, 3
jne 0x607f9a
mov r8w, word [r9]
cmp r8w, word [r13 + 0x39c04c]
jne 0x607f91
mov r8b, byte [r9 + 2]
cmp r8b, byte [r13 + 0x39c04e]
jne 0x607f91
xor eax, eax
jmp 0x607f96
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x607fab
cmp rcx, 4
jne 0x608006
mov eax, dword [r9]
cmp eax, dword [str.bool]
jne 0x608006
mov rcx, rdi
call fcn.004d11d4
mov r11, qword [rdi + 0xa0]
mov rax, qword [r11]
mov rcx, qword [rax + 0x88]
cmp rcx, qword [rax + 0x80]
jne 0x607fe5
movsxd rax, ebx
mov byte [rax + rsi + 0x2df8], 0
and dword [rsi + rax*4 + 0x1e2c], 0
jmp 0x60809a
movsxd rbx, ebx
call fcn.006a5458
test eax, eax
setne al
mov byte [rbx + rsi + 0x2a19], al
mov byte [rbx + rsi + 0x2df8], 1
jmp 0x60809a
lea eax, [rbx - 0x3c1]
cmp eax, 2
ja 0x60809a
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
sub rax, rcx
cmp rax, 5
jne 0x60809a
mov edx, dword [rcx]
cmp edx, dword [r13 + 0x39c050]
jne 0x608041
mov dl, byte [rcx + 4]
cmp dl, byte [r13 + 0x39c054]
jne 0x608041
xor eax, eax
jmp 0x608046
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x60809a
mov rcx, rdi
call fcn.004d11d4
mov r11, qword [rdi + 0xa0]
mov rax, qword [r11]
mov rcx, qword [rax + 0x88]
cmp rcx, qword [rax + 0x80]
jne 0x608082
movsxd rax, ebx
mov byte [rax + rsi + 0x2df8], 0
and qword [rsi + rax*8 + 0xfd8], 0
jmp 0x60809a
movsxd rbx, ebx
call fcn.006a5464
mov qword [rsi + rbx*8 + 0xfd8], rax
mov byte [rbx + rsi + 0x2df8], 1
mov rax, qword [rdi + 0x98]
test rax, rax
je 0x607d4f
mov rcx, qword [rdi + 0xa0]
cmp rcx, qword [rax + 8]
je 0x607d4f
lea rax, [rcx + 8]
mov qword [rdi + 0xa0], rax
jmp 0x607d4f
mov rcx, rdi
call fcn.00522d0c
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop rdi
pop rsi
ret