Function at 0x1800defb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x80
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x70], rsi
mov rsi, rcx
mov rcx, qword [rax + 0x58]
mov qword [rsp + 0x68], rdi
test rcx, rcx
je 0x1800defe1
call qword [0x1801fc8c8]
mov rcx, qword [rsi + 0x28]
call fcn.1800a95a0
mov r11, qword [rsi]
test r11, r11
je 0x1800df001
mov rcx, qword [r11 + 0x58]
test rcx, rcx
je 0x1800df001
call qword [0x1801fc8c8]
mov ebx, dword [rsi + 0x30]
test ebx, ebx
je 0x1800df016
cmp ebx, 5
je 0x1800df016
cmp ebx, 6
jne 0x1800dfb19
mov rcx, qword [rsi + 0x28]
mov qword [rsp + 0x78], rbp
mov rbp, qword [rsi + 8]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r13
mov r13, qword [rax]
mov rax, qword [rbp + 8]
mov qword [rsp + 0x50], r14
mov rdx, qword [rax]
xor r14d, r14d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x30], r13
mov dword [rsp + 0xa8], r14d
mov qword [rsp + 0x28], rdx
lea r12d, [r14 + 8]
cmp qword [rsi], r14
je 0x1800df076
mov rax, qword [rcx + 8]
cmp byte [rax + 0x30], 2
jne 0x1800df076
lea ebx, [r14 + 5]
jmp 0x1800df4eb
mov ebx, r14d
cmp dword [rsi + 0x14], ebx
jne 0x1800df324
mov rdi, qword [rbp + 8]
mov rcx, rbp
call fcn.1800a95a0
cmp byte [rbp + 0x10], 2
je 0x1800df2c6
cmp byte [rdi + 0x20], bl
je 0x1800df0a5
mov ebx, r12d
jmp 0x1800df2da
cmp byte [rdi + 0x30], 2
je 0x1800df0fa
cmp byte [rdi + 0x89], bl
jne 0x1800df0fa
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x1800df0ce
nop dword [rax]
cmp qword [rax], rbp
jne 0x1800df0f2
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1800df0c0
mov rax, qword [rbp + 8]
cmp byte [rbp + 0x11], bl
je 0x1800df13a
cmp qword [rax + 0x80], rbp
je 0x1800df113
cmp byte [rax + 0x88], bl
je 0x1800df113
mov ebx, 0x106
jmp 0x1800df2da
mov rax, qword [rax]
mov rcx, qword [rax]
jmp 0x1800df104
mov rax, qword [rdi + 0x80]
mov rcx, qword [rax]
test rcx, rcx
je 0x1800df0ce
mov ebx, 0x106
jmp 0x1800df2da
mov rax, qword [rax + 0x78]
test rax, rax
je 0x1800df13a
nop dword [rax]
cmp qword [rax], rbp
je 0x1800df131
cmp dword [rax + 8], 1
jne 0x1800df131
cmp byte [rax + 0xc], 1
jne 0x1800df15a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1800df120
cmp dword [rdi + 0x40], r14d
sete al
mov byte [rdi + 0x23], al
cmp qword [rdi + 0x18], r14
jne 0x1800df164
mov rcx, rdi
call fcn.1800d4a90
mov ebx, eax
test eax, eax
je 0x1800df144
jmp 0x1800df1a3
mov ebx, 0x106
jmp 0x1800df2da
test ebx, ebx
jne 0x1800df1a3
cmp byte [rdi + 0x20], r14b
je 0x1800df173
mov ebx, r12d
jmp 0x1800df1a3
mov rax, qword [rbp]
mov rcx, qword [rdi]
mov r8d, r14d
cmp byte [rax + 0x29], 2
mov edx, 1
sete r8b
call fcn.1800b4710
mov ebx, eax
test eax, eax
jne 0x1800df1a3
mov rcx, rdi
call fcn.1800cdf90
mov ebx, eax
test eax, eax
je 0x1800df1dd
cmp byte [rdi + 0x30], r14b
jne 0x1800df1dd
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1800df1dd
mov rcx, qword [rcx + 0x78]
test rcx, rcx
je 0x1800df1d9
mov rsi, qword [rcx + 0x20]
call fcn.1800a7100
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], r14d
jne 0x1800df1d9
mov rcx, rsi
call fcn.1800d31c0
mov qword [rdi + 0x18], r14
cmp bl, 5
jne 0x1800df21d
cmp byte [rdi + 0x30], r14b
jne 0x1800df21d
mov rsi, qword [rdi + 8]
add rsi, 0x2a8
je 0x1800df21d
mov rax, qword [rsi]
test rax, rax
je 0x1800df21d
mov edx, dword [rsi + 0x10]
test edx, edx
js 0x1800df21d
mov rcx, qword [rsi + 8]
call rax
test eax, eax
je 0x1800df216
inc dword [rsi + 0x10]
jmp 0x1800df144
mov dword [rsi + 0x10], 0xffffffff
test ebx, ebx
jne 0x1800df2da
cmp byte [rbp + 0x10], r14b
jne 0x1800df248
inc dword [rdi + 0x3c]
cmp byte [rbp + 0x11], r14b
je 0x1800df248
mov byte [rbp + 0x3c], 1
mov rax, qword [rdi + 0x78]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x30]
mov qword [rdi + 0x78], rax
mov byte [rbp + 0x10], 2
cmp byte [rdi + 0x30], 2
jae 0x1800df256
mov byte [rdi + 0x30], 2
mov rsi, qword [rdi + 0x18]
mov qword [rdi + 0x80], rbp
mov byte [rdi + 0x88], 1
mov rcx, qword [rsi + 0x70]
movzx eax, byte [rcx + 0x1c]
movzx edx, byte [rcx + 0x1d]
shl eax, 8
or edx, eax
movzx eax, byte [rcx + 0x1e]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + 0x1f]
shl edx, 8
or edx, eax
cmp dword [rdi + 0x40], edx
je 0x1800df2c6
mov rcx, qword [rsi + 0x78]
call fcn.1800cdb00
mov ebx, eax
test eax, eax
jne 0x1800df2da
mov r8d, dword [rdi + 0x40]
mov rdx, qword [rsi + 0x70]
mov eax, r8d
mov byte [rdx + 0x1f], r8b
shr eax, 0x18
mov byte [rdx + 0x1c], al
mov eax, r8d
shr eax, 0x10
mov byte [rdx + 0x1d], al
mov eax, r8d
shr eax, 8
mov byte [rdx + 0x1e], al
mov rax, qword [rbp]
mov rcx, qword [rdi]
mov edx, dword [rax + 0x310]
call fcn.1800b4860
mov ebx, eax
cmp byte [rbp + 0x11], r14b
je 0x1800df2fd
add dword [rbp + 0x14], 0xffffffff
jne 0x1800df2fd
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x1800df2f9
call qword [0x1801fc8d8]
mov byte [rbp + 0x12], r14b
test ebx, ebx
jne 0x1800df4e3
mov rsi, qword [rsp + 0x90]
lea edx, [rbx + 1]
mov rcx, qword [rsi + 8]
lea r8, [rsi + 0x10]
mov dword [rsi + 0x14], 1
call fcn.1800aa590
mov rbp, qword [rsi + 0x28]
cmp byte [rbp + 0x10], r14b
jne 0x1800df4eb
mov rdi, qword [rbp + 8]
mov rcx, rbp
mov ebx, r14d
call fcn.1800a95a0
movzx eax, byte [rbp + 0x10]
cmp al, 2
je 0x1800df4b3
cmp al, 1
je 0x1800df4b3
cmp byte [rdi + 0x89], bl
je 0x1800df373
mov rax, qword [rdi + 0x80]
cmp qword [rax], rbx
je 0x1800df373
mov ebx, 0x106
jmp 0x1800df4b3
mov rax, qword [rbp + 8]
cmp byte [rbp + 0x11], bl
je 0x1800df3ba
cmp qword [rax + 0x80], rbp
je 0x1800df397
cmp byte [rax + 0x88], bl
je 0x1800df397
mov ebx, 0x106
jmp 0x1800df4b3
mov rax, qword [rax + 0x78]
test rax, rax
je 0x1800df3ba
cmp qword [rax], rbp
je 0x1800df3b1
cmp dword [rax + 8], 1
jne 0x1800df3b1
cmp byte [rax + 0xc], 1
jne 0x1800df3da
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1800df3a0
cmp dword [rdi + 0x40], r14d
sete al
mov byte [rdi + 0x23], al
cmp qword [rdi + 0x18], r14
jne 0x1800df3e4
mov rcx, rdi
call fcn.1800d4a90
mov ebx, eax
test eax, eax
je 0x1800df3c4
jmp 0x1800df3e8
mov ebx, 0x106
jmp 0x1800df4b3
test ebx, ebx
je 0x1800df422
cmp byte [rdi + 0x30], r14b
jne 0x1800df422
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1800df422
mov rcx, qword [rcx + 0x78]
test rcx, rcx
je 0x1800df41e
mov rsi, qword [rcx + 0x20]
call fcn.1800a7100
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], r14d
jne 0x1800df41e
mov rcx, rsi
call fcn.1800d31c0
mov qword [rdi + 0x18], r14
cmp bl, 5
jne 0x1800df462
cmp byte [rdi + 0x30], r14b
jne 0x1800df462
mov rsi, qword [rdi + 8]
add rsi, 0x2a8
je 0x1800df462
mov rax, qword [rsi]
test rax, rax
je 0x1800df462
mov edx, dword [rsi + 0x10]
test edx, edx
js 0x1800df462
mov rcx, qword [rsi + 8]
call rax
test eax, eax
je 0x1800df45b
inc dword [rsi + 0x10]
jmp 0x1800df3c4
mov dword [rsi + 0x10], 0xffffffff
test ebx, ebx
jne 0x1800df4ab
cmp byte [rbp + 0x10], r14b
jne 0x1800df489
inc dword [rdi + 0x3c]
cmp byte [rbp + 0x11], r14b
je 0x1800df489
mov byte [rbp + 0x3c], 1
mov rax, qword [rdi + 0x78]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x30]
mov qword [rdi + 0x78], rax
mov byte [rbp + 0x10], 1
cmp byte [rdi + 0x30], 1
jae 0x1800df4a1
mov rsi, qword [rsp + 0x90]
mov byte [rdi + 0x30], 1
jmp 0x1800df4b3
mov rsi, qword [rsp + 0x90]
jmp 0x1800df4b3
mov rsi, qword [rsp + 0x90]
cmp byte [rbp + 0x11], r14b
je 0x1800df4d6
add dword [rbp + 0x14], 0xffffffff
jne 0x1800df4d6
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x1800df4d2
call qword [0x1801fc8d8]
mov byte [rbp + 0x12], r14b
mov dword [rsp + 0xa8], 1
jmp 0x1800df4eb
mov rsi, qword [rsp + 0x90]
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax + 8]
mov rax, qword [rsi + 8]
mov rax, qword [rax + 8]
movsxd r14, dword [rcx + 0x34]
mov r15d, dword [rax + 0x34]
test ebx, ebx
jne 0x1800df517
mov rax, qword [rax]
cmp byte [rax + 9], 5
jne 0x1800df517
cmp r14d, r15d
cmovne ebx, r12d
movsxd r12, dword [rcx + 0x40]
mov rdi, qword [rsp + 0x20]
xor ebp, ebp
mov eax, dword [rsp + 0x98]
test eax, eax
js 0x1800df535
cmp ebp, eax
jge 0x1800df710
mov esi, dword [rsi + 0x18]
cmp esi, r12d
ja 0x1800df708
test ebx, ebx
jne 0x1800df756
mov rax, qword [rsp + 0x90]
xor edx, edx
mov rax, qword [rax + 0x28]
mov rcx, qword [rax + 8]
mov eax, dword [0x1801fc9c0]
div dword [rcx + 0x34]
inc eax
cmp esi, eax
je 0x1800df6f6
test esi, esi
jne 0x1800df5a0
lea r9, [0x18018ea4c]
lea rdx, str.database_corruption_at_line__d_of___.10s_
lea ecx, [rbx + 0xb]
mov r8d, 0x9a1b
call fcn.1800bb980
lea ebx, [rsi + 0xb]
mov rsi, qword [rsp + 0x90]
inc dword [rsi + 0x18]
inc ebp
jmp 0x1800df522
mov ebx, dword [r13 + 0x2c]
test ebx, ebx
jne 0x1800df5c6
mov rcx, qword [r13 + 0xe0]
lea r9, [rsp + 0x20]
lea r8d, [rbx + 1]
mov edx, esi
call fcn.1800a6f40
mov rdi, qword [rsp + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x1800df6a0
cmp qword [rdi + 0x20], 0
jne 0x1800df6c0
mov qword [rdi + 0x20], r13
cmp esi, 0x7fffffff
ja 0x1800df647
mov eax, dword [0x1801fc9c0]
movsxd rcx, dword [r13 + 0xa0]
cdq
idiv ecx
inc eax
cmp esi, eax
je 0x1800df647
cmp byte [r13 + 0x11], bl
jne 0x1800df625
cmp dword [r13 + 0x1c], esi
jb 0x1800df625
mov rax, qword [r13 + 0x48]
cmp qword [rax], 0
je 0x1800df625
mov rcx, rdi
call fcn.1800cd5f0
mov ebx, eax
test eax, eax
je 0x1800df6c0
jmp 0x1800df66a
cmp esi, dword [r13 + 0xa4]
jbe 0x1800df635
mov ebx, 0xd
jmp 0x1800df66a
mov r8, rcx
mov rcx, qword [rdi]
xor edx, edx
call fcn.18011a1e0
jmp 0x1800df6c0
lea r9, [0x18018ea4c]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov r8d, 0x9a42
mov ecx, 0xb
call fcn.1800bb980
mov ebx, 0xb
test byte [rdi + 0x28], 2
je 0x1800df678
mov rcx, rdi
call fcn.1800a6ed0
mov rcx, qword [rdi + 0x30]
dec dword [rcx + 0x18]
cmp dword [rdi + 0x18], 1
jne 0x1800df68d
mov qword [rcx + 0x48], 0
mov rcx, qword [rcx + 0x40]
mov r8d, 1
mov rdx, rdi
call qword [0x1801fc928]
mov rax, qword [r13 + 0xe0]
cmp dword [rax + 0x18], 0
jne 0x1800df6b5
mov rcx, r13
call fcn.1800d31c0
xor edi, edi
mov qword [rsp + 0x20], rdi
test ebx, ebx
jne 0x1800df6f6
mov r8, qword [rdi]
mov rcx, qword [rsp + 0x90]
mov edx, esi
call fcn.1800ce260
mov rsi, qword [rdi + 0x20]
mov rcx, rdi
mov ebx, eax
call fcn.1800a7100
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], 0
jne 0x1800df6f6
mov rcx, rsi
call fcn.1800d31c0
mov rsi, qword [rsp + 0x90]
inc dword [rsi + 0x18]
inc ebp
jmp 0x1800df522
mov rsi, qword [rsp + 0x90]
test ebx, ebx
jne 0x1800df756
mov ecx, dword [rsi + 0x18]
mov eax, r12d
mov dword [rsi + 0x38], r12d
sub eax, ecx
inc eax
mov dword [rsi + 0x34], eax
cmp ecx, r12d
ja 0x1800df767
cmp dword [rsi + 0x3c], ebx
jne 0x1800dfad1
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x70]
mov qword [rsi + 0x40], rax
mov qword [rdx + 0x70], rsi
mov dword [rsi + 0x3c], 1
jmp 0x1800dfad1
cmp ebx, 0x65
jne 0x1800dfac9
mov rsi, qword [rsp + 0x90]
mov rax, qword [rsp + 0x90]
mov esi, dword [rsi + 0x10]
mov rdi, qword [rax + 8]
inc esi
mov rbx, qword [rdi + 8]
mov rcx, rdi
call fcn.1800a95a0
mov rcx, qword [rbx + 0x18]
mov rbp, qword [rcx + 0x70]
mov rcx, qword [rcx + 0x78]
call fcn.1800cdb00
mov ebx, eax
test eax, eax
jne 0x1800df7b7
mov eax, esi
mov byte [rbp + 0x2b], sil
shr eax, 0x18
mov byte [rbp + 0x28], al
mov eax, esi
shr eax, 0x10
mov byte [rbp + 0x29], al
mov eax, esi
shr eax, 8
mov byte [rbp + 0x2a], al
cmp byte [rdi + 0x11], 0
je 0x1800df7da
add dword [rdi + 0x14], 0xffffffff
jne 0x1800df7da
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x1800df7d6
call qword [0x1801fc8d8]
mov byte [rdi + 0x12], 0
test ebx, ebx
jne 0x1800dfabf
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsi]
test rcx, rcx
je 0x1800df7f9
xor edx, edx
call fcn.1800c8da0
cmp r14d, r15d
jge 0x1800df832
mov eax, r15d
cdq
idiv r14d
mov ecx, eax
lea eax, [rax + r12 - 1]
cdq
idiv ecx
mov rcx, qword [rsi + 8]
xor edx, edx
mov r8, qword [rcx + 8]
mov r9d, eax
mov eax, dword [0x1801fc9c0]
div dword [r8 + 0x34]
inc eax
cmp r9d, eax
jne 0x1800df840
dec r9d
jmp 0x1800df840
mov eax, r14d
cdq
idiv r15d
mov r9d, eax
imul r9d, r12d
cmp r14d, r15d
mov rdi, qword [rsp + 0x28]
mov dword [rdi + 0x1c], r9d
jge 0x1800dfa8b
xor edx, edx
mov rcx, rdi
mov r13, r14
lea r8d, [rdx + 1]
imul r12, r14
mov r14, qword [rdi + 0x48]
call fcn.1800d3620
mov ebx, eax
test eax, eax
jne 0x1800dfad1
mov rax, qword [r14]
lea rdx, [rsp + 0x28]
mov rcx, r14
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jne 0x1800df89e
cmp qword [rsp + 0x28], r12
jle 0x1800df89e
mov rax, qword [r14]
mov rdx, r12
mov rcx, r14
call qword [rax + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x1800dfad1
cmp byte [rdi + 0xc], bl
jne 0x1800df8bb
mov rcx, qword [rdi + 0x48]
movzx edx, byte [rdi + 0xe]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ebx, eax
test ebx, ebx
jne 0x1800dfad1
mov edx, dword [0x1801fc9c0]
lea eax, [rdx + r15]
mov r15, qword [rsp + 0x30]
movsxd rcx, eax
mov eax, r13d
cmp rcx, r12
cmovl r12, rcx
add eax, edx
movsxd rbp, eax
cmp rbp, r12
jge 0x1800dfa9c
mov rax, rbp
xor edi, edi
cqo
mov qword [rsp + 0x20], rdi
idiv r13
mov rsi, rax
add esi, 1
jne 0x1800df928
lea r9, [0x18018ea4c]
lea rdx, str.database_corruption_at_line__d_of___.10s_
lea ecx, [rdi + 0xb]
mov r8d, 0x9a1b
call fcn.1800bb980
lea ebx, [rdi + 0xb]
jmp 0x1800dfa76
mov ebx, dword [r15 + 0x2c]
test ebx, ebx
jne 0x1800df94e
mov rcx, qword [r15 + 0xe0]
lea r9, [rsp + 0x20]
lea r8d, [rbx + 1]
mov edx, esi
call fcn.1800a6f40
mov rdi, qword [rsp + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x1800dfa25
cmp qword [rdi + 0x20], 0
jne 0x1800dfa40
mov qword [rdi + 0x20], r15
cmp esi, 0x7fffffff
ja 0x1800df9cc
mov eax, dword [0x1801fc9c0]
movsxd rcx, dword [r15 + 0xa0]
cdq
idiv ecx
inc eax
cmp esi, eax
je 0x1800df9cc
cmp byte [r15 + 0x11], bl
jne 0x1800df9ad
cmp dword [r15 + 0x1c], esi
jb 0x1800df9ad
mov rax, qword [r15 + 0x48]
cmp qword [rax], 0
je 0x1800df9ad
mov rcx, rdi
call fcn.1800cd5f0
mov ebx, eax
test eax, eax
je 0x1800dfa40
jmp 0x1800df9ef
cmp esi, dword [r15 + 0xa4]
jbe 0x1800df9bd
mov ebx, 0xd
jmp 0x1800df9ef
mov r8, rcx
mov rcx, qword [rdi]
xor edx, edx
call fcn.18011a1e0
jmp 0x1800dfa40
lea r9, [0x18018ea4c]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov r8d, 0x9a42
mov ecx, 0xb
call fcn.1800bb980
mov ebx, 0xb
test byte [rdi + 0x28], 2
je 0x1800df9fd
mov rcx, rdi
call fcn.1800a6ed0
mov rcx, qword [rdi + 0x30]
dec dword [rcx + 0x18]
cmp dword [rdi + 0x18], 1
jne 0x1800dfa12
mov qword [rcx + 0x48], 0
mov rcx, qword [rcx + 0x40]
mov r8d, 1
mov rdx, rdi
call qword [0x1801fc928]
mov rax, qword [r15 + 0xe0]
cmp dword [rax + 0x18], 0
jne 0x1800dfa3a
mov rcx, r15
call fcn.1800d31c0
xor edi, edi
test ebx, ebx
jne 0x1800dfa76
mov rax, qword [r14]
mov rdx, qword [rdi]
mov r9, rbp
mov r8d, r13d
mov rcx, r14
call qword [rax + 0x18]
mov rsi, qword [rdi + 0x20]
mov rcx, rdi
mov ebx, eax
call fcn.1800a7100
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], 0
jne 0x1800dfa76
mov rcx, rsi
call fcn.1800d31c0
add rbp, r13
test ebx, ebx
je 0x1800df8e4
mov rsi, qword [rsp + 0x90]
jmp 0x1800dfad1
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1800d3620
mov ebx, eax
jmp 0x1800dfaa4
mov rsi, qword [rsp + 0x90]
test ebx, ebx
jne 0x1800dfad1
mov rcx, qword [rsi + 8]
call fcn.1800d5760
mov ebx, eax
mov eax, 0x65
test ebx, ebx
cmove ebx, eax
jmp 0x1800dfad1
mov rsi, qword [rsp + 0x90]
jmp 0x1800dfad1
mov rsi, qword [rsp + 0x90]
cmp dword [rsp + 0xa8], 0
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
je 0x1800dfb08
mov rcx, qword [rsi + 0x28]
xor edx, edx
call fcn.1800dc080
mov rcx, qword [rsi + 0x28]
call fcn.1800d5760
mov eax, 7
cmp ebx, 0xc0a
cmove ebx, eax
mov dword [rsi + 0x30], ebx
mov rax, qword [rsi]
test rax, rax
je 0x1800dfb30
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x1800dfb30
call qword [0x1801fc8d8]
mov rdi, qword [rsi + 0x28]
cmp byte [rdi + 0x11], 0
je 0x1800dfb57
add dword [rdi + 0x14], 0xffffffff
jne 0x1800dfb57
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x1800dfb53
call qword [0x1801fc8d8]
mov byte [rdi + 0x12], 0
mov rcx, qword [rsi + 0x20]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x58]
test rcx, rcx
je 0x1800dfb74
call qword [0x1801fc8d8]
mov eax, ebx
add rsp, 0x80
pop rbx
ret