Function at 0x180027f70
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb8]
sub rsp, 0x1b8
mov rdi, qword [rcx]
mov rsi, qword [rcx + 0x20]
mov rbx, qword [rcx + 0x80]
movaps xmmword [rsp + 0x1a0], xmm6
mov rax, qword [rdi + 0x10]
xor r12d, r12d
mov qword [rbp + 0x70], rsi
mov rdx, qword [rax + 0x18]
mov r14d, r12d
mov dword [rsp + 0x40], r12d
movzx eax, byte [rdx + 0x71]
mov qword [rsp + 0x50], rdi
mov byte [rbp + 0x110], r12b
mov dword [rbp + 0x7c], r12d
mov qword [rsp + 0x48], rbx
mov r15d, r12d
mov byte [rbp + 0x108], al
mov dword [rbp + 0x78], r12d
mov qword [rbp + 0x80], r12
call fcn.180023940
mov r10, qword [rbp + 0x100]
cmp dword [r10 + 0x90], 7
je 0x180028920
mov dword [r10 + 0x90], r12d
mov qword [r10 + 0x48], r12
mov eax, dword [rdi + 0x138]
mov dword [rdi + 0x2a8], r12d
test eax, eax
jne 0x18002dcb6
mov ecx, dword [r10 + 0x8c]
xorpd xmm6, xmm6
mov eax, r12d
cmp qword [rdi + 0x178], rax
mov dword [rbp + 0x118], ecx
lea r8d, [r12 + 4]
setne al
cdqe
mov qword [rbp + 0x98], rax
cmp byte [rdi + 0x2a], 0
jne 0x180028920
movsxd rbx, dword [rbp + 0x118]
lea r13, [rbx + rbx*2]
mov qword [rbp + 0x90], r13
test rax, rax
je 0x18002809f
mov eax, dword [rbp + 0x7c]
cmp dword [rdi + 0x188], eax
jne 0x18002809a
mov rcx, qword [rdi + 0x180]
call qword [rdi + 0x178]
test eax, eax
jne 0x18002d8c9
mov eax, r12d
mov r8d, 4
inc eax
mov dword [rbp + 0x7c], eax
test byte [rsi + r13*8 + 2], 2
je 0x1800280c8
movsxd r15, dword [rsi + r13*8 + 8]
imul r15, r15, 0x38
add r15, qword [rsp + 0x48]
mov rcx, r15
call fcn.18001fe10
mov r8d, 4
mov word [r15 + 0x24], r8w
movzx eax, byte [rsi + r13*8]
dec eax
cmp eax, 0x90
ja case.0x1800280e9.17
lea rdx, [0x180000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x2dcfc]
add rcx, rdx
jmp rcx
mov eax, dword [rdi + 0x138]
test eax, eax
jne 0x18002dcaf
mov r10d, dword [rsi + r13*8 + 8]
dec r10d
mov dword [rbp + 0x118], r10d
mov r10, qword [rbp + 0x100]
jmp 0x18002a351
movsxd rax, dword [rsi + r13*8 + 4]
imul rax, rax, 0x38
add rax, qword [rsp + 0x48]
mov word [rax + 0x24], r8w
mov qword [rax], rbx
jmp 0x1800280f9
movsxd rax, dword [rsi + r13*8 + 4]
mov rcx, qword [rsp + 0x48]
imul rax, rax, 0x38
mov r10d, dword [rax + rcx]
mov dword [rbp + 0x118], r10d
mov r10, qword [rbp + 0x100]
jmp 0x18002a351
movsxd rcx, dword [rsi + r13*8 + 4]
imul rcx, rcx, 0x38
add rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
mov word [rcx + 0x24], r8w
mov dword [rsp + 0x60], eax
mov qword [rcx], rbx
mov r10d, dword [rsp + 0x60]
mov dword [rbp + 0x118], r10d
mov r10, qword [rbp + 0x100]
jmp 0x18002a351
movsxd rax, dword [rsi + r13*8 + 0xc]
mov rcx, qword [rsp + 0x48]
imul rax, rax, 0x38
test byte [rax + rcx + 0x24], 1
je case.0x1800280e9.17
cmp dword [rsi + r13*8 + 4], 0
mov r10, qword [rbp + 0x100]
jne 0x18002d8d4
mov r8, qword [r10 + 0x148]
test r8, r8
je 0x18002d8d4
mov rax, qword [r8 + 0x60]
dec dword [r10 + 0x150]
mov qword [r10 + 0x148], rax
mov eax, dword [r10 + 0xa8]
add dword [rdi + 0x50], eax
mov dword [rdi + 0x4c], eax
mov rax, qword [r8 + 0x10]
mov rdx, qword [r8]
mov rcx, qword [rdx]
mov qword [rdx + 0x20], rax
mov eax, dword [r8 + 0x18]
mov dword [rdx + 0x18], eax
mov rax, qword [r8 + 0x20]
mov qword [rdx + 0x80], rax
mov eax, dword [r8 + 0x28]
mov dword [rdx + 0x7c], eax
mov rax, qword [r8 + 0x30]
mov qword [rdx + 0x58], rax
movzx eax, word [r8 + 0x38]
mov word [rdx + 0x52], ax
mov rax, qword [r8 + 0x50]
mov qword [rcx + 0x40], rax
mov eax, dword [r8 + 0x58]
mov dword [rdx + 0xa8], eax
cmp dword [rsi + r13*8 + 8], 4
movsxd rax, dword [r8 + 8]
mov dword [rbp + 0x118], eax
jne 0x180028250
lea rcx, [rax + rax*2]
mov rax, qword [r10 + 0x20]
mov esi, dword [rax + rcx*8 + 8]
dec esi
mov dword [rbp + 0x118], esi
mov rsi, qword [r10 + 0x20]
mov rax, qword [r10 + 0x80]
mov qword [rbp + 0x70], rsi
mov qword [rsp + 0x48], rax
jmp 0x18002a34b
movsxd rax, dword [rsi + r13*8 + 4]
mov r10, qword [rbp + 0x100]
mov qword [r15], rax
jmp 0x18002a351
mov rax, qword [rsi + r13*8 + 0x10]
mov r10, qword [rbp + 0x100]
mov rcx, qword [rax]
mov qword [r15], rcx
jmp 0x18002a351
mov r10, qword [rbp + 0x100]
mov eax, 8
mov word [r15 + 0x24], ax
mov rax, qword [rsi + r13*8 + 0x10]
mov rcx, qword [rax]
mov qword [r15 + 8], rcx
jmp 0x18002a351
mov byte [rsi + r13*8], 9
mov rsi, qword [rsi + r13*8 + 0x10]
mov rax, rsi
test rsi, rsi
jne 0x1800282cd
mov eax, r12d
jmp 0x1800282e1
cmp byte [rsi], 0
je 0x1800282da
inc rax
cmp byte [rax], 0
jne 0x1800282d2
sub eax, esi
and eax, 0x3fffffff
cmp byte [rbp + 0x108], 1
mov rbx, qword [rbp + 0x70]
mov dword [rbx + r13*8 + 4], eax
je 0x180028448
test rsi, rsi
jne 0x180028337
test byte [r15 + 0x24], 0x40
je 0x18002830b
mov rcx, qword [r15]
call fcn.180022560
test byte [r15 + 0x24], 0x20
je 0x18002831a
mov rcx, qword [r15]
call fcn.18000eb70
mov eax, 0xbf01
mov byte [r15 + 0x26], 5
mov r14d, r12d
and word [r15 + 0x24], ax
or word [r15 + 0x24], 1
jmp 0x1800283c2
mov rax, qword [r15 + 0x10]
test rax, rax
je 0x180028346
mov r12d, dword [rax + 0x60]
jmp 0x18002834c
mov r12d, 0x3b9aca00
xor r14d, r14d
movsxd rcx, r12d
mov ebx, r14d
mov eax, r14d
test r12d, r12d
js 0x180028370
nop dword [rax]
cmp byte [rsi + rax], r14b
je 0x180028370
inc rax
inc ebx
cmp rax, rcx
jle 0x180028360
lea rax, [fcn.180007400]
mov edi, 0x202
mov rcx, r15
test rax, rax
jne 0x18002838f
call fcn.18001fea0
mov qword [r15 + 0x30], rsi
jmp 0x180028399
call fcn.18001fea0
mov edi, 0xa02
mov word [r15 + 0x24], di
mov rdi, qword [rsp + 0x50]
mov qword [r15 + 0x28], r14
mov qword [r15 + 0x18], rsi
mov dword [r15 + 0x20], ebx
mov word [r15 + 0x26], 0x103
cmp ebx, r12d
jg 0x18002dc87
xor r12d, r12d
test byte [r15 + 0x24], 2
movzx ecx, byte [rbp + 0x108]
mov dword [rsp + 0x40], r12d
je 0x1800283f1
movzx eax, byte [r15 + 0x27]
cmp eax, ecx
je 0x1800283f1
movzx edx, cl
mov rcx, r15
call fcn.180009380
test eax, eax
jne 0x180028919
movzx eax, word [r15 + 0x24]
mov rsi, qword [rbp + 0x70]
mov ecx, 0xfbff
and ax, cx
mov ecx, 0x800
mov qword [r15 + 0x30], r12
or ax, cx
mov word [r15 + 0x24], ax
cmp byte [rsi + r13*8 + 1], 0xff
jne 0x180028428
mov rdx, qword [rsi + r13*8 + 0x10]
mov rcx, rdi
call fcn.180007400
mov byte [rsi + r13*8 + 1], 0xff
mov rax, qword [r15 + 0x18]
mov r8d, 4
mov qword [rsi + r13*8 + 0x10], rax
mov eax, dword [r15 + 0x20]
mov dword [rsi + r13*8 + 4], eax
jmp 0x18002844b
mov rsi, rbx
mov eax, dword [rdi + 0x60]
cmp dword [rsi + r13*8 + 4], eax
jg 0x18002dc87
mov r10, qword [rbp + 0x100]
mov eax, 0xa02
mov word [r15 + 0x24], ax
mov rax, qword [rsi + r13*8 + 0x10]
mov qword [r15 + 0x18], rax
mov eax, dword [rsi + r13*8 + 4]
mov dword [r15 + 0x20], eax
movzx eax, byte [rbp + 0x108]
mov byte [r15 + 0x27], al
jmp 0x18002a351
mov r10, qword [rbp + 0x100]
mov eax, 1
mov word [r15 + 0x24], ax
jmp 0x18002a351
mov rsi, qword [rsi + r13*8 + 0x10]
mov rbx, qword [rbp + 0x70]
mov ebx, dword [rbx + r13*8 + 4]
test rsi, rsi
jne 0x1800284fc
test byte [r15 + 0x24], 0x40
je 0x1800284c4
mov rcx, qword [r15]
call fcn.180022560
test byte [r15 + 0x24], 0x20
je 0x1800284d3
mov rcx, qword [r15]
call fcn.18000eb70
mov rsi, qword [rbp + 0x70]
mov eax, 0xbf01
mov byte [r15 + 0x26], 5
and word [r15 + 0x24], ax
movzx eax, byte [rbp + 0x108]
or word [r15 + 0x24], 1
mov byte [r15 + 0x27], al
jmp 0x18002a344
mov rax, qword [r15 + 0x10]
test rax, rax
je 0x18002850a
mov ecx, dword [rax + 0x60]
jmp 0x18002850f
mov ecx, 0x3b9aca00
mov edi, 0x10
test ebx, ebx
jns 0x18002854d
movsxd r8, ecx
mov ebx, r12d
test ecx, ecx
js 0x180028548
mov rdx, rsi
mov rcx, rsi
neg rdx
nop dword [rax + rax]
movzx eax, byte [rcx + 1]
or al, byte [rcx]
je 0x180028548
add rcx, 2
add ebx, 2
lea rax, [rdx + rcx]
cmp rax, r8
jle 0x180028530
mov edi, 0x210
lea rax, [fcn.180007400]
mov rcx, r15
test rax, rax
jne 0x180028567
call fcn.18001fea0
mov qword [r15 + 0x30], rsi
jmp 0x180028574
call fcn.18001fea0
mov eax, 0x800
or di, ax
movzx eax, byte [rbp + 0x108]
mov qword [r15 + 0x18], rsi
mov rsi, qword [rbp + 0x70]
mov word [r15 + 0x24], di
mov rdi, qword [rsp + 0x50]
mov word [r15 + 0x26], 0x104
mov byte [r15 + 0x27], al
mov qword [r15 + 0x28], r12
mov dword [r15 + 0x20], ebx
jmp 0x18002a344
mov ecx, dword [rsi + r13*8 + 4]
dec ecx
mov dword [rsp + 0x60], ecx
mov eax, dword [rsi + r13*8 + 8]
mov dword [rsp + 0x64], eax
mov eax, dword [rsi + r13*8 + 0xc]
test eax, eax
jle 0x18002866b
mov ebx, 1
nop dword [rax + rax]
mov r10, qword [rbp + 0x100]
dec eax
mov dword [rsp + 0x68], eax
movsxd rax, ecx
inc ecx
mov dword [rsp + 0x60], ecx
imul rax, rax, 0x38
add rax, qword [r10 + 0x68]
mov qword [rsp + 0x70], rax
movzx ecx, word [rax + 0x24]
test cl, 0x12
je 0x180028622
mov edx, dword [rax + 0x20]
mov r8d, 0x4000
test r8w, cx
je 0x18002860d
add edx, dword [rax]
mov rax, qword [rax + 0x10]
mov ecx, r12d
cmp edx, dword [rax + 0x60]
setg cl
test ecx, ecx
jne 0x18002dc8e
movsxd r15, dword [rsp + 0x64]
inc dword [rsp + 0x64]
imul r15, r15, 0x38
add r15, qword [rsp + 0x48]
mov rcx, r15
call fcn.18001fe10
mov word [r15 + 0x24], bx
mov rdx, qword [rsp + 0x70]
mov r8d, 0x800
mov rcx, r15
call fcn.180020450
mov eax, dword [rsp + 0x68]
test eax, eax
jle 0x180028665
mov ecx, dword [rsp + 0x60]
jmp 0x1800285d0
mov r8d, 4
mov r10, qword [rbp + 0x100]
dec eax
mov dword [rsp + 0x68], eax
jmp 0x18002a351
mov edx, dword [rsi + r13*8 + 0xc]
mov r11, qword [rsp + 0x48]
mov dword [rsp + 0x68], edx
movsxd rax, dword [rsi + r13*8 + 4]
mov dword [rsp + 0x6c], eax
movsxd rcx, dword [rsi + r13*8 + 8]
mov rbx, rax
imul rbx, rbx, 0x38
mov r15, rcx
add rbx, r11
mov dword [rsp + 0x70], ecx
imul r15, r15, 0x38
add r15, r11
test edx, edx
je 0x1800286fb
nop word [rax + rax]
dec edx
mov rcx, r15
mov dword [rsp + 0x68], edx
mov rax, qword [r15 + 0x30]
mov rdx, rbx
mov qword [rsp + 0x60], rax
mov qword [r15 + 0x30], r12
call fcn.180020580
mov r11, qword [rsp + 0x60]
add rbx, 0x38
add r15, 0x38
mov qword [rbx - 8], r11
mov edx, dword [rsp + 0x68]
test edx, edx
jne 0x1800286c0
lea r8d, [rdx + 4]
mov r10, qword [rbp + 0x100]
dec edx
mov dword [rsp + 0x68], edx
jmp 0x18002a351
mov rbx, qword [rsp + 0x48]
movsxd r15, dword [rsi + r13*8 + 8]
movsxd rdx, dword [rsi + r13*8 + 4]
imul rdx, rdx, 0x38
imul r15, r15, 0x38
add r15, rbx
add rdx, rbx
mov ebx, 0x1000
mov r8d, ebx
mov rcx, r15
call fcn.180020450
test word [r15 + 0x24], bx
je 0x18002a344
mov rcx, r15
call fcn.18001fad0
mov r10, qword [rbp + 0x100]
test eax, eax
jne 0x180028920
jmp 0x18002a34b
movsxd r15, dword [rsi + r13*8 + 8]
movsxd rdx, dword [rsi + r13*8 + 4]
mov rbx, qword [rsp + 0x48]
imul r15, r15, 0x38
imul rdx, rdx, 0x38
add r15, rbx
add rdx, rbx
mov r8d, 0x1000
mov rcx, r15
call fcn.180020450
jmp 0x18002a344
mov r10, qword [rbp + 0x100]
cmp qword [r10 + 0x130], 0
jle 0x1800287d8
mov rdx, qword [r10]
lea rcx, [r10 + 0x98]
lea r8, str.foreign_key_constraint_failed
mov dword [r10 + 0x90], 0x13
mov byte [r10 + 0x60], 2
call fcn.180007950
mov r14d, 1
mov dword [rsp + 0x40], r14d
jmp 0x18002a344
mov rsi, qword [r10]
mov r14d, r12d
mov dword [rsp + 0x40], r12d
cmp dword [rsi + 0x304], 0
je 0x180028869
mov eax, dword [r10 + 0x140]
test eax, eax
je 0x180028869
xor ebx, ebx
lea r12d, [rax - 1]
mov edi, ebx
cmp dword [rsi + 8], ebx
jle 0x180028854
lea r13d, [rbx + 1]
nop dword [rax + rax]
mov rax, qword [rsi + 0x10]
mov rcx, qword [rbx + rax + 8]
test rcx, rcx
je 0x180028830
mov r8d, r12d
mov edx, r13d
call fcn.180017710
test r14d, r14d
cmove r14d, eax
inc edi
add rbx, 0x20
cmp edi, dword [rsi + 8]
jl 0x180028810
mov r13, qword [rbp + 0x90]
mov r10, qword [rbp + 0x100]
mov dword [rsp + 0x40], r14d
mov r8d, 4
dec dword [rsi + 0x304]
mov rdi, qword [rsp + 0x50]
xor r12d, r12d
mov dword [r10 + 0x140], r12d
test r14d, r14d
je 0x18002d950
mov rsi, qword [rbp + 0x70]
jmp 0x18002a351
mov rax, qword [rsp + 0x48]
movsxd rdi, dword [rsi + r13*8 + 4]
movsxd rbx, dword [rsi + r13*8 + 8]
imul rdi, rdi, 0x38
imul rbx, rbx, 0x38
movsxd r15, dword [rsi + r13*8 + 0xc]
add rdi, rax
add rbx, rax
movzx ecx, word [rdi + 0x24]
imul r15, r15, 0x38
add r15, rax
movzx eax, cl
or al, byte [rbx + 0x24]
test al, 1
je 0x1800288c4
mov rcx, r15
call fcn.1800201b0
mov rdi, qword [rsp + 0x50]
jmp 0x18002a344
mov r13d, 0x4000
test r13w, cx
je 0x1800288dc
mov rcx, rdi
call fcn.18001fb50
test eax, eax
jne 0x180028914
test word [rbx + 0x24], r13w
je 0x1800288ef
mov rcx, rbx
call fcn.18001fb50
test eax, eax
jne 0x180028914
test byte [rdi + 0x24], 0x12
jne 0x1800289ac
movzx r13d, byte [rbp + 0x108]
mov rcx, rdi
mov edx, r13d
call fcn.18001fc30
test eax, eax
je 0x1800289b4
mov rdi, qword [rsp + 0x50]
mov r10, qword [rbp + 0x100]
lea rcx, [r10 + 0x98]
lea r8, str.out_of_memory
mov rdx, rdi
mov byte [rdi + 0x2a], 1
call fcn.180007950
mov r14d, 7
mov rax, qword [rbp + 0x100]
mov rcx, rax
mov dword [rax + 0x90], r14d
call fcn.1800239d0
cmp r14d, 0xc0a
jne 0x180028963
mov byte [rdi + 0x2a], 1
cmp byte [rbp + 0x110], 0
mov ebx, 1
je 0x18002897b
xor edx, edx
mov rcx, rdi
call fcn.18003d0b0
mov r10, qword [rbp + 0x100]
lea rcx, [r10 + 0xb8]
call fcn.1800138b0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x1a0]
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movzx r13d, byte [rbp + 0x108]
test byte [rbx + 0x24], 0x12
jne 0x1800289ce
movzx edx, r13b
mov rcx, rbx
call fcn.18001fc30
test eax, eax
jne 0x180028914
mov eax, dword [rdi + 0x20]
mov rdx, qword [rsp + 0x50]
add eax, dword [rbx + 0x20]
movsxd rcx, eax
mov qword [rsp + 0x60], rcx
movsxd rax, dword [rdx + 0x60]
cmp rcx, rax
jg 0x18002dc84
mov eax, 0xbf02
mov r8d, r12d
mov rcx, r15
and word [r15 + 0x24], ax
or word [r15 + 0x24], 2
mov edx, dword [rsp + 0x60]
cmp r15, rbx
sete r8b
add edx, 2
call fcn.18001f970
test eax, eax
jne 0x180028914
cmp r15, rbx
je 0x180028a35
movsxd r8, dword [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
mov rcx, qword [r15 + 0x18]
call fcn.180087310
movsxd rcx, dword [rbx + 0x20]
movsxd r8, dword [rdi + 0x20]
mov rdx, qword [rdi + 0x18]
add rcx, qword [r15 + 0x18]
call fcn.180087310
mov rax, qword [rsp + 0x60]
mov r11, qword [r15 + 0x18]
mov rdi, qword [rsp + 0x50]
mov byte [rax + r11], 0
mov rax, qword [rsp + 0x60]
mov rcx, qword [r15 + 0x18]
mov byte [rcx + rax + 1], 0
mov eax, 0x200
or word [r15 + 0x24], ax
mov eax, dword [rsp + 0x60]
mov byte [r15 + 0x27], r13b
mov dword [r15 + 0x20], eax
jmp 0x18002a344
movsxd rbx, dword [rsi + r13*8 + 4]
mov r15, qword [rsp + 0x48]
imul rbx, rbx, 0x38
add rbx, r15
mov rcx, rbx
call fcn.180027da0
movsxd rdi, dword [rsi + r13*8 + 8]
imul rdi, rdi, 0x38
add rdi, r15
mov rcx, rdi
call fcn.180027da0
movsxd r15, dword [rsi + r13*8 + 0xc]
movzx ecx, word [rdi + 0x24]
imul r15, r15, 0x38
movzx eax, word [rbx + 0x24]
add r15, qword [rsp + 0x48]
or ecx, eax
mov dword [rsp + 0x60], ecx
test cl, 1
jne 0x1800288b2
movzx eax, byte [rdi + 0x24]
and al, byte [rbx + 0x24]
test al, 4
je 0x180028ba2
mov rcx, qword [rbx]
mov qword [rsp + 0x68], rcx
mov rdx, qword [rdi]
mov qword [rsp + 0x70], rdx
movzx r8d, byte [rsi + r13*8]
sub r8d, 0x56
je 0x180028b7d
dec r8d
je 0x180028b78
dec r8d
je 0x180028b72
dec r8d
je 0x180028b36
test rcx, rcx
je 0x1800288b2
cmp rcx, 0xffffffffffffffff
mov eax, 1
cmove rcx, rax
mov rax, rdx
cqo
mov qword [rsp + 0x68], rcx
idiv rcx
jmp 0x180028b80
test rcx, rcx
je 0x1800288b2
cmp rcx, 0xffffffffffffffff
jne 0x180028b60
movabs rax, 0x8000000000000000
cmp rdx, rax
mov eax, 1
cmove rcx, rax
mov qword [rsp + 0x68], rcx
mov rax, rdx
cqo
idiv rcx
mov rdx, rax
mov qword [rsp + 0x70], rax
jmp 0x180028b85
imul rdx, rcx
jmp 0x180028b80
sub rdx, rcx
jmp 0x180028b80
add rdx, rcx
mov qword [rsp + 0x70], rdx
mov rdi, qword [rsp + 0x50]
mov eax, 0xbf04
mov qword [r15], rdx
and word [r15 + 0x24], ax
or word [r15 + 0x24], 4
jmp 0x18002a344
mov rcx, rbx
call fcn.18001ffc0
mov rcx, rdi
movsd qword [rsp + 0x78], xmm0
call fcn.18001ffc0
movsd qword [rbp - 0x80], xmm0
movzx ecx, byte [rsi + r13*8]
sub ecx, 0x56
je 0x180028c3a
dec ecx
je 0x180028c32
dec ecx
je 0x180028c2a
dec ecx
je 0x180028c14
cvttsd2si rcx, qword [rsp + 0x78]
cvttsd2si rax, xmm0
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x1800288b2
cmp rcx, 0xffffffffffffffff
mov edx, 1
pxor xmm0, xmm0
cmove rcx, rdx
cqo
mov qword [rsp + 0x68], rcx
idiv rcx
cvtsi2sd xmm0, rdx
jmp 0x180028c40
movsd xmm1, qword [rsp + 0x78]
ucomisd xmm1, xmm6
je 0x1800288b2
divsd xmm0, xmm1
jmp 0x180028c40
mulsd xmm0, qword [rsp + 0x78]
jmp 0x180028c40
subsd xmm0, qword [rsp + 0x78]
jmp 0x180028c40
addsd xmm0, qword [rsp + 0x78]
movsd qword [rbp - 0x80], xmm0
call fcn.180009b60
test eax, eax
jne 0x1800288b2
movsd xmm0, qword [rbp - 0x80]
mov eax, 0xbf08
and word [r15 + 0x24], ax
or word [r15 + 0x24], 8
movsd qword [r15 + 8], xmm0
test byte [rsp + 0x60], 8
jne 0x1800288ba
mov rcx, r15
call fcn.180020070
mov rdi, qword [rsp + 0x50]
jmp 0x18002a344
movzx eax, byte [rsi + r13*8 + 3]
mov rbx, qword [rbp + 0x100]
mov r9, qword [rsp + 0x48]
mov r8, qword [rbx + 0x38]
mov dword [rbp - 0x28], eax
mov ecx, r12d
mov qword [rbp - 0x30], r8
movsxd rdx, dword [rsi + r13*8 + 8]
mov dword [rsp + 0x60], ecx
imul rdx, rdx, 0x38
add rdx, r9
mov qword [rsp + 0x68], rdx
test eax, eax
jle 0x180028cf7
movsxd rax, ecx
mov qword [r8 + rax*8], rdx
mov rcx, qword [rsp + 0x68]
call fcn.180027c20
mov ecx, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
inc ecx
add rdx, 0x38
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x68], rdx
cmp ecx, dword [rbp - 0x28]
jge 0x180028cf7
mov r8, qword [rbp - 0x30]
jmp 0x180028cc3
cmp byte [rsi + r13*8 + 1], 0xfb
mov rax, qword [rsi + r13*8 + 0x10]
jne 0x180028d0b
mov qword [rsp + 0x78], r12
jmp 0x180028d13
mov qword [rsp + 0x78], rax
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
movsxd r15, dword [rsi + r13*8 + 0xc]
mov eax, 1
lea rcx, [rbp - 0x80]
mov word [rbp - 0x5c], ax
mov qword [rbp - 0x70], rdi
imul r15, r15, 0x38
add r15, r9
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
mov rdx, r15
call fcn.180020580
movzx r11d, word [rbp - 0x5c]
mov r9, qword [rsp + 0x70]
mov eax, 0xbf01
mov dword [rbp - 0x40], r12d
and r11w, ax
or r11w, 1
mov word [rbp - 0x5c], r11w
test byte [r9 + 3], 8
je 0x180028d76
mov rax, qword [rsi + r13*8 - 8]
mov qword [rbp - 0x38], rax
mov r8, qword [rbp - 0x30]
mov edx, dword [rbp - 0x28]
lea rcx, [rsp + 0x70]
call qword [r9 + 0x18]
cmp byte [rdi + 0x2a], 0
jne 0x18002d9f7
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180028db4
mov edx, dword [rsi + r13*8 + 4]
call fcn.180024010
mov r11, qword [rsp + 0x78]
mov byte [rsi + r13*8 + 1], 0xf9
mov qword [rsi + r13*8 + 0x10], r11
cmp dword [rbp - 0x40], 0
je 0x180028e4d
test byte [rbp - 0x5c], 1
je 0x180028dc9
mov r9, r12
jmp 0x180028e2e
movzx ecx, word [rbp - 0x5c]
movzx eax, cx
shr ax, 3
and ax, 2
or cx, ax
mov eax, 0x4000
mov word [rbp - 0x5c], cx
test ax, cx
je 0x180028df2
lea rcx, [rbp - 0x80]
call fcn.18001fb50
test byte [rbp - 0x5c], 2
je 0x180028e14
cmp byte [rbp - 0x59], 1
je 0x180028e09
lea rcx, [rbp - 0x80]
mov dl, 1
call fcn.180009380
lea rcx, [rbp - 0x80]
call fcn.18001fbc0
jmp 0x180028e22
lea rcx, [rbp - 0x80]
mov edx, 1
call fcn.18001fc30
cmp byte [rbp - 0x59], 1
mov r9, r12
cmove r9, qword [rbp - 0x68]
lea rcx, [rbx + 0x98]
lea r8, [0x18009b86c]
mov rdx, rdi
call fcn.180007950
mov r14d, dword [rbp - 0x40]
mov dword [rsp + 0x40], r14d
test byte [rbp - 0x5c], 2
movzx ecx, byte [rbp + 0x108]
je 0x180028e6e
movzx eax, byte [rbp - 0x59]
cmp eax, ecx
je 0x180028e6e
movzx edx, cl
lea rcx, [rbp - 0x80]
call fcn.180009380
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.180020580
movzx r11d, word [r15 + 0x24]
test r11b, 0x12
je 0x18002a344
mov edx, dword [r15 + 0x20]
mov eax, 0x4000
test ax, r11w
je 0x180028e9b
add edx, dword [r15]
mov rax, qword [r15 + 0x10]
mov r10, qword [rbp + 0x100]
mov ecx, r12d
cmp edx, dword [rax + 0x60]
setg cl
test ecx, ecx
jne 0x18002dc8e
jmp 0x18002a34b
mov rax, qword [rsp + 0x48]
movsxd rcx, dword [rsi + r13*8 + 8]
movsxd rbx, dword [rsi + r13*8 + 4]
imul rcx, rcx, 0x38
imul rbx, rbx, 0x38
movsxd r15, dword [rsi + r13*8 + 0xc]
add rcx, rax
add rbx, rax
imul r15, r15, 0x38
add r15, rax
movzx eax, byte [rcx + 0x24]
or al, byte [rbx + 0x24]
test al, 1
je 0x180028efd
mov rcx, r15
call fcn.1800201b0
jmp 0x18002a344
call fcn.18001ff10
mov rcx, rbx
mov qword [rsp + 0x60], rax
call fcn.18001ff10
mov qword [rsp + 0x68], rax
movzx ecx, byte [rsi + r13*8]
mov r11, rax
sub ecx, 0x52
je 0x180028f45
dec ecx
je 0x180028f3b
dec ecx
mov rcx, rax
mov rax, qword [rsp + 0x60]
je 0x180028f36
sar rax, cl
jmp 0x180028f4d
shl rax, cl
jmp 0x180028f4d
mov rax, qword [rsp + 0x60]
or rax, r11
jmp 0x180028f4d
mov rax, qword [rsp + 0x60]
and rax, r11
mov qword [rsp + 0x60], rax
mov qword [r15], rax
mov eax, 0xbf04
and word [r15 + 0x24], ax
or word [r15 + 0x24], 4
jmp 0x18002a344
movsxd rbx, dword [rsi + r13*8 + 4]
imul rbx, rbx, 0x38
add rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.18001ff10
mov ecx, 0xbf04
and word [rbx + 0x24], cx
or word [rbx + 0x24], 4
mov qword [rbx], rax
movsxd rcx, dword [rsi + r13*8 + 8]
add rcx, rax
mov qword [rbx], rcx
jmp 0x18002a344
movsxd rbx, dword [rsi + r13*8 + 4]
imul rbx, rbx, 0x38
add rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.180027da0
test byte [rbx + 0x24], 8
je 0x180028fc5
mov rcx, rbx
call fcn.180020070
movzx eax, word [rbx + 0x24]
test al, 4
jne 0x180028fea
mov eax, dword [rsi + r13*8 + 8]
test eax, eax
je 0x18002daf6
lea r10d, [rax - 1]
mov dword [rbp + 0x118], r10d
jmp 0x18002a344
mov ecx, 0xbf04
and ax, cx
or ax, 4
mov word [rbx + 0x24], ax
jmp 0x18002a344
movsxd rbx, dword [rsi + r13*8 + 4]
imul rbx, rbx, 0x38
add rbx, qword [rsp + 0x48]
test byte [rbx + 0x24], 4
je case.0x1800280e9.17
mov rcx, rbx
call fcn.18001ffc0
mov eax, 0xbf08
movsd qword [rbx + 8], xmm0
and word [rbx + 0x24], ax
or word [rbx + 0x24], 8
jmp 0x18002a344
movsxd rbx, dword [rsi + r13*8 + 4]
imul rbx, rbx, 0x38
add rbx, qword [rsp + 0x48]
movzx ecx, word [rbx + 0x24]
test cl, 1
jne case.0x1800280e9.17
movzx eax, cx
shr ax, 3
and ax, 2
or ax, cx
mov word [rbx + 0x24], ax
test al, 2
jne 0x18002907b
test al, 0xc
je 0x18002907b
movzx edx, byte [rbp + 0x108]
mov rcx, rbx
call fcn.18001fc30
mov eax, 0xfff3
and word [rbx + 0x24], ax
mov eax, 0x4000
test word [rbx + 0x24], ax
je 0x1800290ac
mov rcx, rbx
call fcn.18001fb50
mov r14d, eax
mov dword [rsp + 0x40], eax
mov eax, 0xbfe3
and word [rbx + 0x24], ax
jmp 0x18002a344
mov eax, 0xbfe3
mov r14d, r12d
mov dword [rsp + 0x40], r12d
and word [rbx + 0x24], ax
jmp 0x18002a344
movsxd rbx, dword [rsi + r13*8 + 4]
imul rbx, rbx, 0x38
add rbx, qword [rsp + 0x48]
movzx eax, word [rbx + 0x24]
test al, 1
jne case.0x1800280e9.17
test al, 0x10
jne 0x180029117
test al, 2
jne 0x1800290fd
test al, 0xc
je 0x1800290fd
movzx edx, byte [rbp + 0x108]
mov rcx, rbx
call fcn.18001fc30
mov r8d, 4
mov r10, qword [rbp + 0x100]
mov eax, 0xbf10
and word [rbx + 0x24], ax
or word [rbx + 0x24], 0x10
jmp 0x18002a351
mov r10, qword [rbp + 0x100]
mov ecx, 0xff10
and ax, cx
mov word [rbx + 0x24], ax
jmp 0x18002a351
movsxd rcx, dword [rsi + r13*8 + 4]
imul rcx, rcx, 0x38
add rcx, qword [rsp + 0x48]
test byte [rcx + 0x24], 0xd
jne case.0x1800280e9.17
call fcn.180020110
jmp 0x18002a344
movsxd rbx, dword [rsi + r13*8 + 4]
imul rbx, rbx, 0x38
add rbx, qword [rsp + 0x48]
test byte [rbx + 0x24], 1
jne case.0x1800280e9.17
mov rcx, rbx
call fcn.18001ff10
mov qword [rbx], rax
mov eax, 0xbf04
and word [rbx + 0x24], ax
or word [rbx + 0x24], 4
jmp 0x18002a344
movsxd rbx, dword [rsi + r13*8 + 4]
imul rbx, rbx, 0x38
add rbx, qword [rsp + 0x48]
test byte [rbx + 0x24], 1
jne case.0x1800280e9.17
jmp 0x180029017
mov r11, qword [rsp + 0x48]
movsxd rbx, dword [rsi + r13*8 + 0xc]
movsxd rdi, dword [rsi + r13*8 + 4]
imul rbx, rbx, 0x38
imul rdi, rdi, 0x38
add rbx, r11
add rdi, r11
movzx ecx, word [rbx + 0x24]
movzx edx, word [rdi + 0x24]
movzx eax, cl
or al, dl
test al, 1
je 0x180029235
movzx eax, byte [rsi + r13*8 + 3]
test al, al
jns 0x1800291f2
mov r8d, r12d
and cl, dl
test cl, 1
sete r8b
mov dword [rsp + 0x60], r8d
jmp 0x1800292ba
test al, 0x10
je 0x180029223
movsxd r15, dword [rsi + r13*8 + 8]
mov eax, 0xbf01
imul r15, r15, 0x38
add r15, r11
and word [r15 + 0x24], ax
or word [r15 + 0x24], 1
mov rdi, qword [rsp + 0x50]
mov r10, qword [rbp + 0x100]
jmp 0x18002a351
mov rdi, qword [rsp + 0x50]
test al, 8
je case.0x1800280e9.17
jmp 0x1800280f9
movzx edx, byte [rsi + r13*8 + 3]
and dl, 0x67
mov byte [rsp + 0x64], dl
je 0x180029278
movzx r8d, byte [rbp + 0x108]
mov rcx, rdi
call fcn.180027e40
movzx r8d, byte [rbp + 0x108]
movzx edx, byte [rsp + 0x64]
mov rcx, rbx
call fcn.180027e40
mov rdx, qword [rsp + 0x50]
cmp byte [rdx + 0x2a], 0
jne 0x18002dcf3
mov eax, 0x4000
test word [rdi + 0x24], ax
je 0x180029290
mov rcx, rdi
call fcn.18001fb50
mov eax, 0x4000
test word [rbx + 0x24], ax
je 0x18002929e
mov rcx, rbx
call fcn.18001fb50
mov r8, qword [rsi + r13*8 + 0x10]
mov rdx, rdi
mov rcx, rbx
call fcn.180020830
mov r11, qword [rsp + 0x48]
mov r8d, eax
mov dword [rsp + 0x60], eax
movzx edx, byte [rsi + r13*8]
mov eax, r12d
sub edx, 0x4b
je 0x1800292ff
dec edx
je 0x1800292f7
dec edx
je 0x1800292ef
dec edx
je 0x1800292e7
dec edx
je 0x1800292df
test r8d, r8d
setns al
jmp 0x180029305
test r8d, r8d
sets al
jmp 0x180029305
test r8d, r8d
setle al
jmp 0x180029305
test r8d, r8d
setg al
jmp 0x180029305
test r8d, r8d
sete al
jmp 0x180029305
test r8d, r8d
setne al
mov rdi, qword [rsp + 0x50]
mov dword [rsp + 0x60], eax
test byte [rsi + r13*8 + 3], 0x10
je 0x18002933f
movsxd r15, dword [rsi + r13*8 + 8]
mov eax, 0xbf04
imul r15, r15, 0x38
add r15, r11
and word [r15 + 0x24], ax
or word [r15 + 0x24], 4
movsxd rax, dword [rsp + 0x60]
mov qword [r15], rax
jmp 0x18002a344
mov r8d, 4
test eax, eax
je case.0x1800280e9.17
jmp 0x1800280f9
mov rax, qword [rsi + r13*8 + 0x10]
mov r10, qword [rbp + 0x100]
mov qword [rbp + 0x80], rax
jmp 0x18002a351
mov eax, dword [rsi + r13*8 + 0xc]
mov dword [rsp + 0x60], eax
mov rdx, qword [rsi + r13*8 + 0x10]
mov qword [rsp + 0x70], rdx
mov r10d, dword [rsi + r13*8 + 4]
mov dword [rsp + 0x68], r10d
mov r11d, dword [rsi + r13*8 + 8]
mov dword [rsp + 0x64], r12d
mov dword [rsp + 0x6c], r11d
test eax, eax
jle 0x18002943a
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x1800293ba
movsxd rax, dword [rsp + 0x64]
mov r9d, dword [rcx + rax*4]
jmp 0x1800293bf
mov r9d, dword [rsp + 0x64]
movsxd rcx, dword [rsp + 0x64]
mov dword [rsp + 0x78], r9d
mov r8, qword [rdx + rcx*8 + 0x18]
mov qword [rbp - 0x80], r8
mov rax, qword [rdx + 0x10]
movzx ecx, byte [rax + rcx]
lea eax, [r9 + r11]
mov dword [rbp - 0x78], ecx
movsxd rdx, eax
lea eax, [r9 + r10]
movsxd rcx, eax
imul rdx, rdx, 0x38
add rdx, rbx
imul rcx, rcx, 0x38
add rcx, rbx
call fcn.180020830
mov dword [rbp + 0x78], eax
test eax, eax
jne 0x180029429
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
cmp eax, dword [rsp + 0x60]
jge 0x180029434
mov rdx, qword [rsp + 0x70]
mov r11d, dword [rsp + 0x6c]
mov r10d, dword [rsp + 0x68]
jmp 0x1800293a3
cmp dword [rbp - 0x78], 0
je 0x180029434
neg eax
mov dword [rbp + 0x78], eax
mov r8d, 4
mov r10, qword [rbp + 0x100]
mov qword [rbp + 0x80], r12
jmp 0x18002a351
mov ebx, dword [rbp + 0x78]
test ebx, ebx
jns 0x18002946f
mov r10d, dword [rsi + r13*8 + 4]
dec r10d
mov dword [rbp + 0x118], r10d
mov r10, qword [rbp + 0x100]
jmp 0x18002a351
je 0x1800280f9
mov r10d, dword [rsi + r13*8 + 0xc]
dec r10d
mov dword [rbp + 0x118], r10d
mov r10, qword [rbp + 0x100]
jmp 0x18002a351
movsxd rcx, dword [rsi + r13*8 + 4]
mov rbx, qword [rsp + 0x48]
imul rcx, rcx, 0x38
add rcx, rbx
test byte [rcx + 0x24], 1
je 0x1800294ae
mov edx, 2
jmp 0x1800294bc
call fcn.18001ff10
mov edx, r12d
test rax, rax
setne dl
mov dword [rsp + 0x60], edx
movsxd rcx, dword [rsi + r13*8 + 8]
imul rcx, rcx, 0x38
add rcx, rbx
test byte [rcx + 0x24], 1
je 0x1800294da
mov r8d, 2
jmp 0x1800294ed
call fcn.18001ff10
mov edx, dword [rsp + 0x60]
mov r8d, r12d
test rax, rax
setne r8b
movsxd rax, edx
mov dword [rsp + 0x64], r8d
lea rcx, [rax + rax*2]
movsxd rax, r8d
add rcx, rax
cmp byte [rsi + r13*8], 0x45
lea rax, [0x180000000]
jne 0x180029517
movzx eax, byte [rcx + rax + 0x98490]
jmp 0x18002951f
movzx eax, byte [rcx + rax + 0x984a0]
mov r10, qword [rbp + 0x100]
mov ecx, dword [rbp + 0x118]
mov dword [rsp + 0x60], eax
movsxd r15, dword [rsi + r13*8 + 0xc]
mov r8d, 4
imul r15, r15, 0x38
add r15, rbx
cmp eax, 2
jne 0x18002955c
mov eax, 0xbf01
and word [r15 + 0x24], ax
or word [r15 + 0x24], 1
jmp 0x18002a357
cdqe
mov qword [r15], rax
mov eax, 0xbf04
and word [r15 + 0x24], ax
or word [r15 + 0x24], 4
jmp 0x18002a357
mov rbx, qword [rsp + 0x48]
movsxd rcx, dword [rsi + r13*8 + 4]
movsxd r15, dword [rsi + r13*8 + 8]
imul rcx, rcx, 0x38
imul r15, r15, 0x38
add rcx, rbx
add r15, rbx
test byte [rcx + 0x24], 1
je 0x1800295a6
mov rcx, r15
call fcn.1800201b0
jmp 0x18002a344
call fcn.18001ff10
mov rdx, r12
mov rcx, r15
test rax, rax
sete dl
call fcn.180020280
jmp 0x18002a344
mov rbx, qword [rsp + 0x48]
movsxd rcx, dword [rsi + r13*8 + 4]
movsxd r15, dword [rsi + r13*8 + 8]
imul rcx, rcx, 0x38
imul r15, r15, 0x38
add rcx, rbx
add r15, rbx
test byte [rcx + 0x24], 1
je 0x1800295f1
mov rcx, r15
call fcn.1800201b0
jmp 0x18002a344
call fcn.18001ff10
mov rcx, r15
not rax
mov rdx, rax
call fcn.180020280
jmp 0x18002a344
movsxd rcx, dword [rsi + r13*8 + 4]
imul rcx, rcx, 0x38
add rcx, qword [rsp + 0x48]
test byte [rcx + 0x24], 1
je 0x180029628
mov ecx, dword [rsi + r13*8 + 0xc]
mov dword [rsp + 0x60], ecx
jmp 0x18002965a
call fcn.18001ffc0
mov ecx, 1
ucomisd xmm0, xmm6
jne 0x18002963b
mov ecx, r12d
mov dword [rsp + 0x60], ecx
cmp byte [rsi + r13*8], 0x1b
mov r8d, 4
jne 0x18002965a
mov eax, r12d
test ecx, ecx
sete al
mov ecx, eax
mov dword [rsp + 0x60], eax
test ecx, ecx
je case.0x1800280e9.17
jmp 0x1800280f9
movsxd rax, dword [rsi + r13*8 + 4]
mov rcx, qword [rsp + 0x48]
imul rax, rax, 0x38
test byte [rax + rcx + 0x24], 1
je case.0x1800280e9.17
jmp 0x1800280f9
movsxd rax, dword [rsi + r13*8 + 4]
mov rcx, qword [rsp + 0x48]
imul rax, rax, 0x38
test byte [rax + rcx + 0x24], 1
jne case.0x1800280e9.17
jmp 0x1800280f9
mov eax, dword [rsi + r13*8 + 4]
mov rbx, qword [rsp + 0x48]
mov r10, qword [rbp + 0x100]
mov dword [rsp + 0x70], eax
mov eax, dword [rsi + r13*8 + 8]
mov qword [rsp + 0x78], r12
mov dword [rsp + 0x74], eax
xor eax, eax
mov edx, 0xbf01
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
movsxd rcx, dword [rsi + r13*8 + 0xc]
imul rcx, rcx, 0x38
add rcx, rbx
mov qword [rbp - 0x48], rcx
movzx eax, word [rcx + 0x24]
and ax, dx
or ax, 1
mov word [rcx + 0x24], ax
mov rax, qword [r10 + 0x58]
movsxd rcx, dword [rsp + 0x70]
mov qword [rbp - 0x80], r12
mov rdx, qword [rax + rcx*8]
mov qword [rsp + 0x78], rdx
mov rax, qword [rdx]
mov qword [rbp - 0x78], rax
test rax, rax
je 0x180029866
mov rcx, rdx
call fcn.180024260
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002dc3c
mov rdx, qword [rsp + 0x78]
mov r10, qword [rbp + 0x100]
cmp byte [rdx + 0x1c], al
je 0x180029760
mov dword [rsp + 0x60], r12d
jmp 0x18002a34b
mov eax, dword [r10 + 0x88]
cmp dword [rdx + 0x64], eax
jne 0x180029789
mov ecx, dword [rdx + 0x68]
mov r8d, 4
mov dword [rsp + 0x60], ecx
mov rax, qword [rdx + 0x80]
mov qword [rbp - 0x80], rax
jmp 0x1800298ad
cmp byte [rdx + 0x1f], 0
je 0x1800297e8
mov rcx, qword [rbp - 0x78]
cmp byte [rcx + 0x5b], 1
je 0x1800297b8
mov ecx, r12d
mov qword [rsp + 0x68], r12
mov r14d, r12d
mov dword [rsp + 0x40], r12d
mov r8d, 4
mov dword [rsp + 0x60], ecx
jmp 0x1800298ad
lea rdx, [rsp + 0x68]
call fcn.180017b60
mov ecx, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
mov r10, qword [rbp + 0x100]
mov dword [rsp + 0x60], ecx
mov r14d, eax
mov dword [rsp + 0x40], eax
mov r8d, 4
jmp 0x1800298ad
mov rbx, qword [rbp - 0x78]
cmp word [rbx + 0x56], 0
jne 0x18002984f
movsx rax, word [rbx + 0x80]
lea r8, [rbx + 0x38]
mov rcx, qword [rbx + rax*8 + 0x88]
movzx r9d, word [rbx + rax*2 + 0x128]
movzx eax, word [rcx + 0xc]
mov r11, qword [rcx + 0x70]
lea rdx, [r11 + rax]
movzx eax, byte [rdx + r9*2]
movzx edx, byte [rdx + r9*2 + 1]
shl eax, 8
movsxd r10, eax
movzx eax, word [rcx + 0x12]
or rdx, r10
and rdx, rax
add rdx, r11
call fcn.180014300
mov r10, qword [rbp + 0x100]
mov byte [rbx + 0x5a], 1
mov rdx, qword [rsp + 0x78]
mov ecx, dword [rbx + 0x48]
mov r14d, r12d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x60], ecx
mov r8d, 4
jmp 0x1800298ad
movsxd rax, dword [rdx + 0x30]
test eax, eax
jle 0x180029e57
mov rcx, rax
imul rcx, rcx, 0x38
add rcx, rbx
mov qword [rbp + 0x20], rcx
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x60], eax
mov rax, qword [rcx + 0x18]
mov qword [rbp - 0x80], rax
test byte [rsi + r13*8 + 3], 0x20
mov eax, r12d
jne 0x1800298a1
mov eax, dword [r10 + 0x88]
mov dword [rdx + 0x64], eax
mov rdx, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x60]
test ecx, ecx
je 0x18002a351
cmp ecx, dword [rdi + 0x60]
ja 0x18002dc8e
movsxd r8, dword [rdx + 0x40]
mov eax, dword [r10 + 0x88]
mov dword [rbp - 0x60], r8d
mov rcx, qword [rdx + 0x70]
mov qword [rbp - 0x70], rcx
cmp dword [rdx + 0x64], eax
jne 0x1800298ee
mov rax, qword [rdx + 0x78]
lea r14, [0x180000000]
mov qword [rbp - 0x68], rax
jmp 0x180029d2a
lea rcx, [rcx + r8*4]
mov dword [rbp + 0x1c], r12d
mov qword [rbp - 0x68], rcx
mov qword [rdx + 0x78], rcx
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x68], ecx
mov rax, qword [rsp + 0x78]
mov ecx, dword [r10 + 0x88]
mov dword [rax + 0x64], ecx
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x18002992b
mov qword [rbp - 0x50], rax
jmp 0x180029a71
mov r8, qword [rsp + 0x78]
mov rdi, qword [rbp - 0x78]
mov rcx, r12
cmp byte [r8 + 0x1f], 0
je 0x1800299b1
cmp byte [rdi + 0x5b], 1
jne 0x180029a47
cmp word [rdi + 0x56], 0
jne 0x1800299a0
movsx rax, word [rdi + 0x80]
lea r8, [rdi + 0x38]
mov rbx, qword [rdi + rax*8 + 0x88]
movzx ecx, word [rdi + rax*2 + 0x128]
movzx eax, word [rbx + 0xc]
mov r11, qword [rbx + 0x70]
lea rdx, [r11 + rax]
movzx eax, byte [rdx + rcx*2]
movzx edx, byte [rdx + rcx*2 + 1]
mov rcx, rbx
shl eax, 8
movsxd r10, eax
movzx eax, word [rbx + 0x12]
or rdx, r10
and rdx, rax
add rdx, r11
call fcn.180014300
mov r8, qword [rsp + 0x78]
movzx ecx, word [rdi + 0x50]
movzx eax, word [rdi + 0x52]
add rcx, qword [rdi + 0x38]
jmp 0x180029a44
cmp byte [rdi + 0x5b], 1
jne 0x180029a47
cmp word [rdi + 0x56], 0
movsx rax, word [rdi + 0x80]
mov rsi, qword [rdi + rax*8 + 0x88]
jne 0x180029a23
movsx rax, word [rdi + 0x80]
lea r8, [rdi + 0x38]
mov rbx, qword [rdi + rax*8 + 0x88]
movzx ecx, word [rdi + rax*2 + 0x128]
movzx eax, word [rbx + 0xc]
mov r11, qword [rbx + 0x70]
lea rdx, [r11 + rax]
movzx eax, byte [rdx + rcx*2]
movzx edx, byte [rdx + rcx*2 + 1]
mov rcx, rbx
shl eax, 8
movsxd r10, eax
movzx eax, word [rbx + 0x12]
or rdx, r10
and rdx, rax
add rdx, r11
call fcn.180014300
mov r8, qword [rsp + 0x78]
movzx edx, word [rdi + 0x50]
mov ecx, r12d
add rdx, qword [rdi + 0x38]
cmp byte [rsi + 2], 0
jne 0x180029a37
mov ecx, dword [rdi + 0x40]
movzx eax, word [rdi + 0x52]
mov rsi, qword [rbp + 0x70]
sub eax, ecx
add rcx, rdx
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp + 0x1c]
mov rdi, qword [rsp + 0x50]
mov qword [rbp - 0x50], rcx
cmp dword [rsp + 0x60], eax
ja 0x180029a66
mov qword [rbp - 0x80], rcx
mov qword [r8 + 0x80], rcx
jmp 0x180029a6d
mov qword [r8 + 0x80], r12
mov rax, qword [rbp - 0x50]
movzx ecx, byte [rax]
cmp cl, 0x80
jae 0x180029a88
movzx edx, cl
mov ebx, 1
mov dword [rbp + 8], edx
mov ecx, ebx
jmp 0x180029aa3
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.18000a850
mov edx, dword [rbp + 8]
mov ebx, 1
movzx ecx, al
mov rax, qword [rbp - 0x50]
movzx r9d, cl
mov dword [rbp + 0x18], r9d
cmp edx, 0x18003
jbe 0x180029ac3
mov r14d, 0xb
mov dword [rsp + 0x40], r14d
jmp 0x18002a344
mov r8d, dword [rbp - 0x60]
lea ecx, [r8 + r8*4 + 3]
cmp ecx, edx
cmovg ecx, edx
cmp qword [rbp - 0x80], 0
mov dword [rbp - 0x5c], ecx
jne 0x180029b2f
cmp dword [rbp + 0x1c], ecx
jge 0x180029b2f
mov rax, qword [rsp + 0x78]
mov word [rbp - 0x1c], r12w
mov qword [rbp - 0x30], r12
movzx r9d, byte [rax + 0x1f]
mov r8d, ecx
mov rcx, qword [rbp - 0x78]
lea rax, [rbp - 0x40]
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.180020bd0
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002a344
mov rax, qword [rbp - 0x28]
mov r9d, dword [rbp + 0x18]
mov edx, dword [rbp + 8]
mov ecx, dword [rbp - 0x5c]
mov r8d, dword [rbp - 0x60]
mov qword [rbp - 0x50], rax
movsxd rcx, ecx
movsxd r9, r9d
lea r14, [0x180000000]
add rcx, rax
add r9, rax
mov eax, edx
mov edx, r12d
mov qword [rbp], rcx
mov qword [rbp - 8], r9
mov qword [rbp + 0x10], rax
mov dword [rbp - 0x58], edx
test r8d, r8d
jle 0x180029c03
nop
cmp r9, rcx
jae 0x180029bde
mov rcx, qword [rbp - 0x68]
mov eax, dword [rbp + 0x10]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov rcx, qword [rbp - 8]
movzx eax, byte [rcx]
cmp al, 0x80
jae 0x180029b8f
movsxd rcx, dword [rbp - 0x58]
movzx edx, al
mov rax, qword [rbp - 0x70]
mov dword [rax + rcx*4], edx
mov eax, ebx
jmp 0x180029ba3
movsxd rdx, dword [rbp - 0x58]
mov rax, qword [rbp - 0x70]
lea rdx, [rax + rdx*4]
call fcn.18000a850
movzx eax, al
mov r9, qword [rbp - 8]
movsxd rdx, dword [rbp - 0x58]
movzx eax, al
add r9, rax
mov rax, qword [rbp - 0x70]
mov qword [rbp - 8], r9
mov r8d, dword [rax + rdx*4]
cmp r8d, 0xc
jb 0x180029bcf
lea eax, [r8 - 0xc]
shr eax, 1
add qword [rbp + 0x10], rax
jmp 0x180029bf0
movzx eax, byte [r8 + r14 + 0x98448]
add qword [rbp + 0x10], rax
jmp 0x180029bf0
mov rax, qword [rbp - 0x68]
movsxd rcx, edx
mov dword [rax + rcx*4], r12d
mov r9, qword [rbp - 8]
mov edx, dword [rbp - 0x58]
inc edx
mov dword [rbp - 0x58], edx
cmp edx, dword [rbp - 0x60]
jge 0x180029c03
mov rcx, qword [rbp]
jmp 0x180029b60
movzx eax, word [rbp - 0x1c]
mov ecx, 0x2460
test cx, ax
je 0x180029c9d
mov ecx, 0x2000
test cx, ax
je 0x180029c37
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.18001fd00
lea rcx, [rbp - 0x40]
call fcn.18001fea0
jmp 0x180029c9d
mov ecx, 0x400
test cx, ax
je 0x180029c56
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x180029c56
mov rcx, qword [rbp - 0x28]
call rax
mov qword [rbp - 0x18], r12
jmp 0x180029c9d
movzx eax, byte [rbp - 0x1c]
test al, 0x20
je 0x180029c69
mov rcx, qword [rbp - 0x40]
call fcn.18000eb70
jmp 0x180029c9d
test al, 0x40
je 0x180029c9d
mov rcx, qword [rbp - 0x40]
call fcn.180022560
test byte [rbp - 0x1c], 0x20
je 0x180029c85
mov rcx, qword [rbp - 0x40]
call fcn.18000eb70
movzx eax, word [rbp - 0x1c]
mov ecx, 0xbf01
mov byte [rbp - 0x1a], 5
and ax, cx
or ax, 1
mov word [rbp - 0x1c], ax
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x10]
test rcx, rcx
je 0x180029cda
test rdx, rdx
je 0x180029cda
cmp rdx, qword [rcx + 0x158]
jb 0x180029cda
cmp rdx, qword [rcx + 0x160]
jae 0x180029cda
mov rax, qword [rcx + 0x150]
mov qword [rdx], rax
dec dword [rcx + 0x144]
mov qword [rcx + 0x150], rdx
jmp 0x180029ce2
mov rcx, rdx
call sym.sqlite3.dll_sqlite3_free
mov rax, qword [rbp - 8]
mov rcx, qword [rbp]
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 0x18], r12
mov word [rbp - 0x1c], bx
cmp rax, rcx
ja 0x180029ab3
mov edx, dword [rsp + 0x60]
mov r8, qword [rbp + 0x10]
cmp r8, rdx
ja 0x180029ab3
cmp rax, rcx
jne 0x180029d22
cmp r8, rdx
jne 0x180029ab3
mov rax, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
movsxd rdx, dword [rsp + 0x74]
cmp dword [rax + rdx*4], 0
je 0x180029df4
cmp qword [rbp - 0x80], 0
je 0x180029d64
mov rcx, qword [rbp - 0x48]
call fcn.18001fe10
movsxd r11, dword [rsp + 0x74]
mov rax, qword [rbp - 0x68]
mov ecx, dword [rax + r11*4]
mov rax, qword [rbp - 0x70]
mov edx, dword [rax + r11*4]
add rcx, qword [rbp - 0x80]
jmp 0x180029ddb
mov eax, dword [rcx + rdx*4]
cmp eax, 0xc
jb 0x180029d73
add eax, 0xfffffff4
shr eax, 1
jmp 0x180029d7c
movzx eax, byte [rax + r14 + 0x98448]
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x5c], eax
call fcn.180020580
movsxd rcx, dword [rsp + 0x74]
mov r11, qword [rsp + 0x78]
movzx r9d, byte [r11 + 0x1f]
mov r8d, dword [rbp - 0x5c]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x68]
mov edx, dword [rax + rcx*4]
mov rcx, qword [rbp - 0x78]
call fcn.180020bd0
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002a344
mov rcx, qword [rbp - 0x28]
movsxd rdx, dword [rsp + 0x74]
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x50], rcx
mov edx, dword [rax + rdx*4]
mov r8, qword [rbp - 0x48]
call fcn.180024510
mov rax, qword [rbp - 0x48]
movzx ecx, byte [rbp + 0x108]
mov byte [rax + 0x27], cl
jmp 0x180029e10
cmp byte [rsi + r13*8 + 1], 0xf8
jne 0x180029e10
mov rdx, qword [rsi + r13*8 + 0x10]
mov rcx, qword [rbp - 0x48]
mov r8d, 0x800
call fcn.180020450
cmp qword [rbp - 0x10], 0
je 0x180029e49
mov rax, qword [rbp - 0x48]
mov ecx, 0xe7ff
and word [rax + 0x24], cx
mov rax, qword [rbp - 0x48]
mov ecx, 0x200
or word [rax + 0x24], cx
mov rcx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x28]
mov qword [rcx + 0x18], rax
mov rcx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x10]
mov qword [rcx + 0x30], rax
mov rcx, qword [rbp - 0x48]
call fcn.18001fad0
jmp 0x18002a33d
mov dword [rsp + 0x60], r12d
jmp 0x18002a351
mov rax, qword [rsi + r13*8 + 0x10]
mov qword [rsp + 0x60], rax
movsxd rbx, dword [rsi + r13*8 + 4]
movzx ecx, byte [rax]
imul rbx, rbx, 0x38
add rbx, qword [rsp + 0x48]
mov byte [rsp + 0x68], cl
test cl, cl
je 0x180029eda
movzx r13d, byte [rbp + 0x108]
mov edi, 0x4000
inc rax
mov qword [rsp + 0x60], rax
test word [rbx + 0x24], di
je 0x180029eac
mov rcx, rbx
call fcn.18001fb50
movzx ecx, byte [rsp + 0x68]
movzx edx, cl
movzx r8d, r13b
mov rcx, rbx
call fcn.180027e40
mov rax, qword [rsp + 0x60]
add rbx, 0x38
movzx ecx, byte [rax]
mov byte [rsp + 0x68], cl
test cl, cl
jne 0x180029e91
mov rdi, qword [rsp + 0x50]
mov r8d, 4
mov r10, qword [rbp + 0x100]
inc rax
mov qword [rsp + 0x60], rax
jmp 0x18002a351
mov r8, qword [rsp + 0x48]
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], r12d
mov qword [rbp - 0x80], r12
mov dword [rbp - 0x78], r12d
movsxd rax, dword [rsi + r13*8 + 4]
mov dword [rbp - 0x58], eax
mov rbx, qword [rsi + r13*8 + 0x10]
mov rdi, rax
imul rdi, rdi, 0x38
add rdi, r8
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x68], rdi
mov eax, dword [rsi + r13*8 + 8]
mov r11d, r12d
mov dword [rbp - 0x58], eax
dec eax
mov r10d, r12d
movsxd rcx, eax
mov rax, qword [rbp + 0x100]
mov r9, rdi
movzx eax, byte [rax + 0xa3]
mov qword [rsp + 0x68], rdi
imul rcx, rcx, 0x38
add rcx, rdi
mov dword [rbp - 0x48], eax
mov qword [rbp - 0x60], rcx
cmp rdi, rcx
ja 0x18002a086
movzx esi, byte [rbp + 0x108]
mov r15d, 0x4000
lea r13, [0x180000000]
movabs r14, 0x4924924924924925
test rbx, rbx
je 0x180029fc7
mov rdx, r9
mov rax, r14
movzx r8d, sil
sub rdx, rdi
mov rcx, r9
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movzx edx, byte [rdx + rbx]
call fcn.180027e40
mov rbx, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x68]
mov r10d, dword [rbp - 0x78]
mov r11d, dword [rsp + 0x78]
mov r9, qword [rsp + 0x68]
test word [r9 + 0x24], r15w
je 0x180029ff3
cmp dword [r9 + 0x20], 0
jle 0x180029ff3
mov rcx, r9
call fcn.18001fb50
mov rbx, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x68]
mov r10d, dword [rbp - 0x78]
mov r11d, dword [rsp + 0x78]
mov r9, qword [rsp + 0x68]
mov edx, dword [rbp - 0x48]
mov rcx, r9
call fcn.180024370
mov r8d, eax
mov dword [rbp - 0x70], r8d
cmp eax, 0xc
jb 0x18002a012
lea edx, [r8 - 0xc]
shr edx, 1
jmp 0x18002a01b
movzx edx, byte [r8 + r13 + 0x98448]
movsxd rax, edx
mov dword [rbp - 0x40], edx
mov rcx, r8
add qword [rsp + 0x70], rax
mov eax, r12d
nop dword [rax]
shr rcx, 7
inc eax
test rcx, rcx
je 0x18002a040
cmp eax, 9
jl 0x18002a030
add r11d, eax
mov dword [rsp + 0x78], r11d
test word [r9 + 0x24], r15w
je 0x18002a054
add r10d, dword [r9]
jmp 0x18002a05a
test edx, edx
cmovne r10d, r12d
add r9, 0x38
mov dword [rbp - 0x78], r10d
mov qword [rsp + 0x68], r9
cmp r9, qword [rbp - 0x60]
jbe 0x180029f82
mov r13, qword [rbp + 0x90]
mov r14d, dword [rsp + 0x40]
mov rsi, qword [rbp + 0x70]
mov r8, qword [rsp + 0x48]
movsxd rax, r11d
mov edx, r12d
nop dword [rax]
shr rax, 7
inc edx
test rax, rax
je 0x18002a0a0
cmp edx, 9
jl 0x18002a090
add r11d, edx
mov dword [rbp - 0x74], edx
mov eax, r12d
mov dword [rsp + 0x78], r11d
movsxd rcx, r11d
shr rcx, 7
inc eax
test rcx, rcx
je 0x18002a0c1
cmp eax, 9
jl 0x18002a0b1
cmp edx, eax
jge 0x18002a0cd
inc r11d
mov dword [rsp + 0x78], r11d
mov rdi, qword [rsp + 0x50]
movsxd rax, r10d
movsxd rcx, r11d
sub rcx, rax
add rcx, qword [rsp + 0x70]
mov qword [rbp - 0x80], rcx
movsxd rax, dword [rdi + 0x60]
cmp rcx, rax
jg 0x18002dc87
movsxd r15, dword [rsi + r13*8 + 0xc]
mov edx, ecx
imul r15, r15, 0x38
add r15, r8
xor r8d, r8d
mov rcx, r15
call fcn.18001f970
test eax, eax
jne 0x180028919
mov ecx, dword [rsp + 0x78]
mov r8, qword [r15 + 0x18]
mov qword [rsp + 0x60], r8
cmp ecx, 0x80
jae 0x18002a138
movzx eax, byte [rsp + 0x78]
mov ebx, 1
mov byte [r8], al
mov eax, ebx
jmp 0x18002a168
test ecx, 0xffffc000
jne 0x18002a158
mov eax, ecx
shr eax, 7
or al, 0x80
and cl, 0x7f
mov byte [r8], al
mov byte [r8 + 1], cl
mov eax, 2
jmp 0x18002a163
mov rdx, rcx
mov rcx, r8
call fcn.18000a5c0
mov ebx, 1
mov rcx, qword [rbp - 0x60]
movzx r8d, al
mov rax, qword [rbp - 0x68]
mov dword [rbp - 0x44], r8d
mov qword [rsp + 0x68], rax
cmp rax, rcx
ja 0x18002a21b
nop word [rax + rax]
mov edx, dword [rbp - 0x48]
mov rcx, rax
call fcn.180024370
mov r9d, eax
mov dword [rbp - 0x70], r9d
cmp eax, 0x80
jae 0x18002a1bc
mov rcx, qword [rsp + 0x60]
movzx eax, r9b
movsxd rdx, r8d
mov byte [rdx + rcx], al
mov eax, ebx
jmp 0x18002a1ee
movsxd rcx, r8d
add rcx, qword [rsp + 0x60]
test r9d, 0xffffc000
jne 0x18002a1e6
mov eax, r9d
shr eax, 7
or al, 0x80
and r9b, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], r9b
mov eax, 2
jmp 0x18002a1ee
mov rdx, r9
call fcn.18000a5c0
mov r8d, dword [rbp - 0x44]
mov rcx, qword [rbp - 0x60]
movzx eax, al
add r8d, eax
mov rax, qword [rsp + 0x68]
add rax, 0x38
mov dword [rbp - 0x44], r8d
mov qword [rsp + 0x68], rax
cmp rax, rcx
jbe 0x18002a190
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x68], rax
cmp rax, rcx
ja 0x18002a269
nop word [rax + rax]
mov edx, dword [rbp - 0x80]
mov r9d, dword [rbp - 0x48]
movsxd rcx, r8d
add rcx, qword [rsp + 0x60]
sub edx, r8d
mov r8, rax
call fcn.180024420
mov r8d, dword [rbp - 0x44]
add r8d, eax
mov rax, qword [rsp + 0x68]
add rax, 0x38
mov dword [rbp - 0x44], r8d
mov qword [rsp + 0x68], rax
cmp rax, qword [rbp - 0x60]
jbe 0x18002a230
mov eax, dword [rbp - 0x80]
mov qword [r15 + 0x28], r12
mov dword [r15 + 0x20], eax
mov eax, 0x410
mov word [r15 + 0x24], ax
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x18002a292
mov dword [r15], eax
mov eax, 0x4410
mov word [r15 + 0x24], ax
mov byte [r15 + 0x27], 1
jmp 0x18002a344
movsxd rcx, dword [rsi + r13*8 + 4]
mov r10, qword [rbp + 0x100]
mov rax, qword [r10 + 0x58]
mov rcx, qword [rax + rcx*8]
mov rcx, qword [rcx]
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x18002a2e5
lea rdx, [rsp + 0x60]
call fcn.18001cff0
mov r10, qword [rbp + 0x100]
mov r8d, 4
mov r14d, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x60]
mov qword [r15], rax
jmp 0x18002a351
mov rax, r12
mov qword [rsp + 0x60], rax
mov qword [r15], rax
jmp 0x18002a351
mov edi, dword [rsi + r13*8 + 4]
mov dword [rsp + 0x60], edi
mov r11, qword [rsi + r13*8 + 0x10]
mov qword [rsp + 0x68], r11
test edi, edi
jne 0x18002a418
mov rdi, qword [rsp + 0x50]
cmp dword [rdi + 0xb4], 0
jle 0x18002a374
lea r8, str.cannot_open_savepoint___SQL_statements_in_progress
mov rcx, qword [rbp + 0x100]
mov rdx, rdi
add rcx, 0x98
call fcn.180007950
mov eax, 5
mov r14d, eax
mov dword [rsp + 0x40], eax
mov r10, qword [rbp + 0x100]
mov r8d, 4
mov ecx, dword [rbp + 0x118]
inc ecx
mov dword [rbp + 0x118], ecx
test r14d, r14d
jne 0x180028940
mov rax, qword [rbp + 0x98]
jmp 0x180028050
test r11, r11
jne 0x18002a37e
mov r11d, r12d
jmp 0x18002a399
cmp byte [r11], 0
je 0x18002a38d
inc r11
cmp byte [r11], 0
jne 0x18002a384
sub r11d, dword [rsp + 0x68]
and r11d, 0x3fffffff
lea edx, [r11 + 0x19]
mov rcx, rdi
mov dword [rsp + 0x70], r11d
call fcn.180007670
mov qword [rsp + 0x78], rax
test rax, rax
je 0x18002a344
lea rcx, [rax + 0x18]
mov qword [rax], rcx
mov eax, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
inc eax
movsxd r8, eax
call fcn.180087310
cmp byte [rdi + 0x28], 0
je 0x18002a3e1
mov byte [rdi + 0x28], 0
mov byte [rdi + 0x308], 1
jmp 0x18002a3e7
inc dword [rdi + 0x300]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rdi + 0x2f8]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x78]
mov rcx, qword [rdi + 0x310]
mov qword [rdi + 0x2f8], rax
mov rax, qword [rsp + 0x78]
mov qword [rax + 8], rcx
jmp 0x18002a344
mov r13, qword [rsp + 0x50]
mov ebx, r12d
mov dword [rbp - 0x70], ebx
mov r10, qword [r13 + 0x2f8]
mov qword [rbp - 0x80], r10
test r10, r10
je 0x18002a454
mov rcx, qword [r10]
mov rdx, r11
call fcn.180009df0
test eax, eax
je 0x18002a487
inc ebx
mov dword [rbp - 0x70], ebx
mov r10, qword [r10 + 0x10]
mov qword [rbp - 0x80], r10
test r10, r10
jne 0x18002a433
mov rcx, qword [rbp + 0x100]
lea r8, str.no_such_savepoint:__s
mov r9, r11
mov rdx, r13
add rcx, 0x98
mov rdi, r13
call fcn.180007950
mov r14d, 1
mov dword [rsp + 0x40], r14d
jmp 0x18002a344
cmp dword [r13 + 0xb4], 0
jg 0x18002a658
cmp edi, 2
jne 0x18002a4a8
cmp dword [r13 + 0xb0], 1
jg 0x18002a658
cmp qword [r10 + 0x10], 0
jne 0x18002a508
cmp byte [r13 + 0x308], 0
je 0x18002a508
mov esi, 1
cmp edi, esi
jne 0x18002a50b
mov rbx, qword [rbp + 0x100]
mov rdx, qword [rbx]
cmp qword [rdx + 0x310], 0
jg 0x18002db2d
mov rcx, rbx
mov byte [r13 + 0x28], sil
call fcn.1800239d0
cmp eax, 5
je 0x18002db01
mov byte [r13 + 0x308], 0
mov r14d, dword [rbx + 0x90]
mov dword [rsp + 0x40], r14d
jmp 0x18002a5aa
mov esi, r12d
mov r8d, dword [r13 + 0x300]
mov eax, r12d
sub r8d, ebx
mov dword [rbp - 0x6c], eax
dec r8d
mov dword [rbp - 0x70], r8d
cmp dword [r13 + 8], 0
jle 0x18002a571
nop dword [rax]
mov rcx, qword [r13 + 0x10]
cdqe
mov edx, edi
shl rax, 5
mov rcx, qword [rax + rcx + 8]
call fcn.180017710
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002dc39
mov eax, dword [rbp - 0x6c]
mov edi, dword [rsp + 0x60]
inc eax
mov dword [rbp - 0x6c], eax
cmp eax, dword [r13 + 8]
jge 0x18002a56d
mov r8d, dword [rbp - 0x70]
jmp 0x18002a530
mov r10, qword [rbp - 0x80]
cmp edi, 2
jne 0x18002a5b2
mov eax, 0x200
test dword [r13 + 0x18], eax
je 0x18002a5b2
mov rax, qword [r13 + 0xa8]
test rax, rax
je 0x18002a5a0
nop dword [rax]
mov byte [rax + 0xa2], 1
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x18002a590
xor edx, edx
mov rcx, r13
call fcn.18003d0b0
mov edi, dword [rsp + 0x60]
mov r10, qword [rbp - 0x80]
cmp qword [r13 + 0x2f8], r10
je 0x18002a5fa
nop dword [rax + rax]
mov rax, qword [r13 + 0x2f8]
mov rcx, r13
mov qword [rbp - 0x78], rax
mov rax, qword [rax + 0x10]
mov qword [r13 + 0x2f8], rax
mov rdx, qword [rbp - 0x78]
call fcn.180007400
dec dword [r13 + 0x300]
mov r10, qword [rbp - 0x80]
cmp qword [r13 + 0x2f8], r10
jne 0x18002a5c0
mov edi, dword [rsp + 0x60]
cmp edi, 1
mov rdi, r13
jne 0x18002a644
mov rax, qword [r10 + 0x10]
mov rcx, r13
mov qword [r13 + 0x2f8], rax
mov rdx, qword [rbp - 0x80]
call fcn.180007400
mov r10, qword [rbp + 0x100]
mov ecx, dword [rbp + 0x118]
test esi, esi
mov rsi, qword [rbp + 0x70]
mov r8d, 4
jne 0x18002a357
dec dword [r13 + 0x300]
jmp 0x18002a357
mov rax, qword [r10 + 8]
mov rsi, qword [rbp + 0x70]
mov qword [rdi + 0x310], rax
jmp 0x18002a344
mov rcx, qword [rbp + 0x100]
cmp edi, 2
lea rax, str.rollback
lea r9, str.release
lea r8, str.cannot__s_savepoint___SQL_statements_in_progress
mov rdx, r13
cmove r9, rax
add rcx, 0x98
mov rdi, r13
call fcn.180007950
jmp 0x18002a338
mov edx, dword [rsi + r13*8 + 4]
mov dword [rsp + 0x60], edx
mov ecx, dword [rsi + r13*8 + 8]
mov dword [rsp + 0x64], ecx
test edx, edx
je 0x18002a6e4
cmp byte [rdi + 0x28], 0
jne 0x18002a6e4
mov ebx, 1
mov dword [rsp + 0x68], ebx
test ecx, ecx
je 0x18002a6cf
cmp dword [rdi + 0xb0], ebx
jle 0x18002a6ee
lea r8, str.cannot_rollback_transaction___SQL_statements_in_progress
jmp 0x18002a322
cmp dword [rdi + 0xb4], 0
jle 0x18002a6ee
lea r8, str.cannot_commit_transaction___SQL_statements_in_progress
jmp 0x18002a322
mov dword [rsp + 0x68], r12d
mov ebx, 1
movzx eax, byte [rdi + 0x28]
cmp edx, eax
jne 0x18002db55
test edx, edx
jne 0x18002a707
lea r8, str.cannot_start_a_transaction_within_a_transaction
jmp 0x18002a71b
lea r8, str.cannot_commit___no_transaction_is_active
lea rax, str.cannot_rollback___no_transaction_is_active
test ecx, ecx
cmovne r8, rax
mov rcx, qword [rbp + 0x100]
mov rdx, rdi
add rcx, 0x98
call fcn.180007950
mov r14d, ebx
mov dword [rsp + 0x40], ebx
jmp 0x18002a344
movsxd rcx, dword [rsi + r13*8 + 4]
mov rax, qword [rdi + 0x10]
shl rcx, 5
mov rcx, qword [rcx + rax + 8]
mov qword [rsp + 0x60], rcx
test rcx, rcx
je case.0x1800280e9.17
mov edx, dword [rsi + r13*8 + 8]
call fcn.1800161d0
mov r14d, eax
mov dword [rsp + 0x40], eax
cmp eax, 5
je 0x18002dc0a
test eax, eax
jne 0x18002dc3c
mov r10, qword [rbp + 0x100]
cmp dword [rsi + r13*8 + 8], eax
je 0x18002a34b
cmp byte [r10 + 0xa5], al
je 0x18002a34b
cmp byte [rdi + 0x28], al
je 0x18002a7b0
cmp dword [rdi + 0xb0], 1
jle 0x18002a34b
cmp dword [r10 + 0x140], 0
jne 0x18002a7d3
inc dword [rdi + 0x304]
mov ecx, dword [rdi + 0x304]
add ecx, dword [rdi + 0x300]
mov dword [r10 + 0x140], ecx
mov rbx, qword [rsp + 0x60]
mov esi, dword [r10 + 0x140]
mov rdi, qword [rbx + 8]
mov rcx, rbx
call fcn.180013580
cmp byte [rbx + 0x10], 2
jne 0x18002a80a
cmp byte [rdi + 0x20], 0
jne 0x18002a80a
mov rcx, qword [rdi]
mov edx, esi
call fcn.180013060
mov r14d, eax
mov dword [rsp + 0x40], eax
jmp 0x18002a815
mov r14d, 2
mov dword [rsp + 0x40], r14d
cmp byte [rbx + 0x11], 0
je 0x18002a837
dec dword [rbx + 0x14]
jne 0x18002a837
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x18002a833
call qword [0x1800ac478]
mov byte [rbx + 0x12], 0
mov rdi, qword [rsp + 0x50]
mov r10, qword [rbp + 0x100]
mov rsi, qword [rbp + 0x70]
mov rax, qword [rdi + 0x310]
mov qword [r10 + 0x138], rax
jmp 0x18002a34b
movsxd rax, dword [rsi + r13*8 + 4]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov edx, dword [rsi + r13*8 + 0xc]
shl rax, 5
mov dword [rsp + 0x68], edx
mov rcx, qword [rdi + 0x10]
mov rcx, qword [rax + rcx + 8]
call fcn.18001ce90
movsxd r11, dword [rsp + 0x60]
mov qword [r15], r11
jmp 0x18002a344
movsxd rax, dword [rsi + r13*8 + 4]
shl rax, 5
add rax, qword [rdi + 0x10]
mov qword [rsp + 0x60], rax
movsxd rbx, dword [rsi + r13*8 + 0xc]
imul rbx, rbx, 0x38
add rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.18001ff10
mov qword [rbx], rax
mov r8d, dword [rbx]
mov eax, 0xbf04
and word [rbx + 0x24], ax
or word [rbx + 0x24], 4
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov edx, dword [rsi + r13*8 + 8]
call fcn.18001cf30
mov r14d, eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsi + r13*8 + 8]
cmp eax, 1
jne 0x18002a907
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x18]
mov eax, dword [rbx]
mov dword [rcx], eax
mov eax, 0x200
or dword [rdi + 0x18], eax
jmp 0x18002a91b
cmp eax, 2
jne 0x18002a91b
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x18]
movzx eax, byte [rbx]
mov byte [rcx + 0x70], al
cmp dword [rsi + r13*8 + 4], 1
jne 0x18002a344
mov rax, qword [rdi + 0xa8]
test rax, rax
je 0x18002a950
nop word [rax + rax]
mov byte [rax + 0xa2], 1
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x18002a940
mov r10, qword [rbp + 0x100]
mov byte [r10 + 0xa2], 0
jmp 0x18002a34b
movsxd rcx, dword [rsi + r13*8 + 4]
mov rax, qword [rdi + 0x10]
shl rcx, 5
mov rcx, qword [rcx + rax + 8]
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x18002a99c
lea r8, [rsp + 0x60]
mov edx, 1
call fcn.18001ce90
mov r11d, dword [rsp + 0x60]
mov r8d, 4
jmp 0x18002a9a4
mov r11d, r12d
mov dword [rsp + 0x60], r12d
cmp r11d, dword [rsi + r13*8 + 8]
je case.0x1800280e9.17
mov rax, qword [rbp + 0x100]
mov rcx, rdi
mov rdx, qword [rax + 0x98]
call fcn.180007400
lea rdx, str.database_schema_has_changed
mov rcx, rdi
call fcn.180007880
mov r10, qword [rbp + 0x100]
mov qword [r10 + 0x98], rax
mov rax, qword [rdi + 0x10]
movsxd rdx, dword [rsi + r13*8 + 4]
mov rcx, rdx
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
mov eax, dword [rsp + 0x60]
cmp dword [rcx], eax
je 0x18002aa0e
mov rcx, rdi
call fcn.18003d0b0
mov r10, qword [rbp + 0x100]
mov rax, qword [rdi + 0xa8]
test rax, rax
je 0x18002aa30
nop word [rax + rax]
mov byte [rax + 0xa2], 1
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x18002aa20
mov r14d, 0x11
mov dword [rsp + 0x40], r14d
jmp 0x18002a34b
mov r10, qword [rbp + 0x100]
cmp byte [r10 + 0xa2], 0
je 0x18002aa5e
mov r14d, r8d
mov dword [rsp + 0x40], r8d
jmp 0x18002a351
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x68], r12
movsxd rdx, dword [rsi + r13*8 + 8]
mov dword [rsp + 0x70], edx
movsxd r9, dword [rsi + r13*8 + 0xc]
mov r8d, r12d
mov dword [rsp + 0x74], r9d
mov rcx, r9
shl rcx, 5
add rcx, qword [rdi + 0x10]
mov qword [rbp - 0x70], rcx
mov rax, qword [rcx + 8]
mov qword [rbp - 0x80], rax
cmp byte [rsi + r13*8], 0x27
jne 0x18002aabe
mov dword [rsp + 0x78], 1
mov rax, qword [rcx + 0x18]
movzx ecx, byte [rax + 0x70]
cmp cl, byte [r10 + 0xa3]
jae 0x18002aac3
mov byte [r10 + 0xa3], cl
jmp 0x18002aac3
mov dword [rsp + 0x78], r12d
cmp byte [rsi + r13*8 + 3], 0
je 0x18002ab10
mov rbx, rdx
imul rbx, rbx, 0x38
add rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.18001ff10
mov qword [rbx], rax
mov eax, 0xbf04
and word [rbx + 0x24], ax
mov eax, dword [rbx]
or word [rbx + 0x24], 4
mov dword [rsp + 0x70], eax
cmp eax, 2
jl 0x18002dc31
mov r9d, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x60]
mov r10, qword [rbp + 0x100]
movzx eax, byte [rsi + r13*8 + 1]
cmp al, 0xfa
jne 0x18002ab4a
mov rax, qword [r10]
mov rdx, qword [rsi + r13*8 + 0x10]
mov qword [rsp + 0x68], rdx
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx + 0x18]
movzx ecx, byte [rax + 0x71]
mov byte [rdx + 8], cl
mov rax, qword [rsp + 0x68]
mov r9d, dword [rsp + 0x74]
movzx r8d, word [rax + 0xa]
inc r8d
jmp 0x18002ab53
cmp al, 0xf2
jne 0x18002ab58
mov r8d, dword [rsi + r13*8 + 0x10]
mov dword [rsp + 0x60], r8d
mov edx, dword [rsi + r13*8 + 4]
mov rcx, r10
mov dword [rsp + 0x20], 1
call fcn.180027c50
mov qword [rbp - 0x78], rax
test rax, rax
je 0x180028919
mov byte [rax + 0x1c], 1
mov rax, qword [rbp - 0x78]
mov r9, qword [rsp + 0x68]
mov rcx, qword [rax]
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp - 0x80]
call fcn.180017870
mov rcx, qword [rsp + 0x68]
mov r14d, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rbp - 0x78]
mov qword [rax + 0x38], rcx
cmp r14d, 0x10
jne 0x18002abca
mov rax, qword [rbp - 0x78]
mov r14d, r12d
mov dword [rsp + 0x40], r12d
mov qword [rax], r12
cmp byte [rsi + r13*8 + 1], 0xfa
mov rax, qword [rbp - 0x78]
setne cl
mov byte [rax + 0x1e], cl
mov rax, qword [rbp - 0x78]
test cl, cl
sete cl
mov byte [rax + 0x1f], cl
jmp 0x18002a344
mov r8d, dword [rsi + r13*8 + 8]
mov edx, dword [rsi + r13*8 + 4]
mov rcx, qword [rbp + 0x100]
mov ebx, 1
or r9d, 0xffffffff
mov dword [rsp + 0x20], ebx
call fcn.180027c50
mov qword [rsp + 0x60], rax
test rax, rax
je 0x180028919
mov rdx, qword [rsp + 0x50]
mov byte [rax + 0x1c], bl
mov rdi, qword [rsp + 0x60]
test dword [rdx + 0x18], 0x20000
mov r9d, ebx
mov eax, 3
cmovne r9d, eax
cmp byte [rdx + 0x29], 2
lea rcx, str.:memory:
lea r8, [rdi + 0x28]
cmovne rcx, r12
mov dword [rsp + 0x20], 0x41e
call fcn.180015160
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002acb7
mov rbx, qword [rdi + 0x28]
mov rcx, rbx
mov rsi, qword [rbx + 8]
call fcn.180013580
cmp byte [rbx + 0x11], r14b
je 0x18002ac99
dec dword [rbx + 0x14]
jne 0x18002ac99
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x18002ac95
call qword [0x1800ac478]
mov byte [rbx + 0x12], 0
cmp qword [rsi + 0x38], 0
jne 0x18002acae
mov rcx, qword [rdi + 0x28]
mov edx, 0x1f4
call fcn.180015a40
mov rsi, qword [rbp + 0x70]
mov ebx, 1
test r14d, r14d
jne 0x18002adc9
mov rcx, qword [rsp + 0x60]
mov edx, ebx
mov rcx, qword [rcx + 0x28]
call fcn.1800161d0
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002adc9
cmp qword [rsi + r13*8 + 0x10], 0
je 0x18002ad9b
mov rax, qword [rsp + 0x60]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call fcn.180013580
lea r8d, [r14 + 2]
lea rdx, [rbp + 0x88]
mov rcx, rbx
call fcn.18001c5a0
cmp byte [rbx + 0x11], 0
mov r14d, eax
mov dword [rsp + 0x40], eax
je 0x18002ad38
dec dword [rbx + 0x14]
jne 0x18002ad38
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x18002ad34
call qword [0x1800ac478]
mov byte [rbx + 0x12], 0
test r14d, r14d
jne 0x18002ad90
mov rcx, qword [rsp + 0x60]
mov r9, qword [rsi + r13*8 + 0x10]
mov edx, dword [rbp + 0x88]
mov rax, qword [rcx]
mov rcx, qword [rcx + 0x28]
lea r8d, [r14 + 1]
mov qword [rsp + 0x20], rax
call fcn.180017870
mov rdx, qword [rsi + r13*8 + 0x10]
mov r14d, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x38], rdx
mov rax, qword [rbp + 0x100]
mov rax, qword [rax]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx + 0x18]
movzx eax, byte [rax + 0x71]
mov byte [rdx + 8], al
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x1e], 0
jmp 0x18002adc9
mov rcx, qword [rsp + 0x60]
xor r9d, r9d
mov r8d, ebx
mov rax, qword [rcx]
mov rcx, qword [rcx + 0x28]
mov edx, ebx
mov qword [rsp + 0x20], rax
call fcn.180017870
mov r14d, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x1e], 1
mov rcx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x50]
cmp byte [rcx + 0x1e], 0
sete al
mov byte [rcx + 0x1f], al
jmp 0x18002a344
mov r8d, dword [rsi + r13*8 + 0xc]
mov edx, dword [rsi + r13*8 + 4]
mov rcx, qword [rbp + 0x100]
or r9d, 0xffffffff
mov dword [rsp + 0x20], r12d
call fcn.180027c50
mov r10, qword [rbp + 0x100]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x180028920
mov byte [rax + 0x1c], 1
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsi + r13*8 + 8]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x1e], 1
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x1f], 0
jmp 0x18002a34b
mov rcx, qword [rbp + 0x100]
movsxd rax, dword [rsi + r13*8 + 4]
mov rdx, qword [rcx + 0x58]
mov rdx, qword [rdx + rax*8]
call fcn.180022e60
mov r10, qword [rbp + 0x100]
movsxd r11, dword [rsi + r13*8 + 4]
mov rax, qword [r10 + 0x58]
mov qword [rax + r11*8], r12
jmp 0x18002a34b
movsxd rcx, dword [rsi + r13*8 + 4]
mov r10, qword [rbp + 0x100]
mov rax, qword [r10 + 0x58]
mov rdx, qword [rax + rcx*8]
mov qword [rsp + 0x68], rdx
cmp qword [rdx], 0
je 0x18002b3b2
movzx eax, byte [rsi + r13*8]
mov dword [rsp + 0x64], eax
mov byte [rdx + 0x1c], 0
mov r10, qword [rsp + 0x68]
cmp byte [r10 + 0x1e], 0
je 0x18002b0d2
movsxd rbx, dword [rsi + r13*8 + 0xc]
imul rbx, rbx, 0x38
add rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.180027da0
mov rcx, rbx
call fcn.18001ff10
mov qword [rbp - 0x68], rax
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x19], 0
movzx eax, word [rbx + 0x24]
test al, 4
jne 0x18002b07e
test al, 8
jne 0x18002aeff
mov r10d, dword [rsi + r13*8 + 8]
dec r10d
mov dword [rbp + 0x118], r10d
jmp 0x18002a344
mov r8, qword [rbp - 0x68]
movabs rax, 0x8000000000000000
cmp r8, rax
jne 0x18002b03e
movsd xmm1, qword [rbx + 8]
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
comisd xmm1, xmm0
jb 0x18002af34
comisd xmm1, xmm6
jbe 0x18002b03e
mov dword [rsp + 0x60], 1
comisd xmm6, xmmword [rbx + 8]
jbe 0x18002af9d
cmp dword [rsp + 0x64], 0x2d
jl 0x18002b02a
mov rax, qword [rsp + 0x68]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.180018390
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002b016
cmp byte [rbx + 0x5b], al
jne 0x18002af87
mov dword [rsp + 0x60], 1
mov r14d, r12d
mov dword [rsp + 0x40], r12d
jmp 0x18002b016
mov rcx, rbx
mov dword [rsp + 0x60], r12d
call fcn.180018570
mov r14d, eax
mov dword [rsp + 0x40], eax
jmp 0x18002b016
cmp dword [rsp + 0x64], 0x2c
jg 0x18002b02a
mov rax, qword [rsp + 0x68]
mov rbx, qword [rax]
cmp byte [rbx + 0x5b], 1
jne 0x18002afd8
cmp byte [rbx + 0x59], 0
je 0x18002afd8
mov r10d, dword [rsi + r13*8 + 8]
mov r14d, r12d
mov dword [rsp + 0x40], r12d
dec r10d
mov dword [rbp + 0x118], r10d
jmp 0x18002a344
mov rcx, rbx
call fcn.180018390
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002b016
cmp byte [rbx + 0x5b], al
jne 0x18002affa
mov dword [rsp + 0x60], 1
jmp 0x18002b016
mov rcx, rbx
mov dword [rsp + 0x60], r12d
call fcn.180018620
test eax, eax
mov r14d, eax
mov dword [rsp + 0x40], eax
sete al
mov byte [rbx + 0x59], al
test r14d, r14d
jne 0x18002dc3c
cmp dword [rsp + 0x60], r14d
je 0x18002a344
mov r10d, dword [rsi + r13*8 + 8]
dec r10d
mov dword [rbp + 0x118], r10d
jmp 0x18002a344
mov eax, dword [rsp + 0x64]
cmp eax, 0x2b
je 0x18002b065
cmp eax, 0x2d
je 0x18002b065
pxor xmm0, xmm0
cvtsi2sd xmm0, r8
comisd xmm0, xmmword [rbx + 8]
jbe 0x18002b082
dec r8
mov qword [rbp - 0x68], r8
jmp 0x18002b082
pxor xmm0, xmm0
cvtsi2sd xmm0, r8
comisd xmm0, xmmword [rbx + 8]
jae 0x18002b082
inc r8
mov qword [rbp - 0x68], r8
jmp 0x18002b082
mov r8, qword [rbp - 0x68]
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
xor r9d, r9d
mov rcx, qword [rcx]
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.1800186e0
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002dc3c
cmp dword [rsp + 0x60], eax
jne 0x18002b15d
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x19], 1
mov rcx, qword [rsp + 0x68]
mov rax, qword [rbp - 0x68]
mov qword [rcx + 0x10], rax
jmp 0x18002b15d
mov eax, dword [rsi + r13*8 + 0x10]
mov dword [rbp - 0x70], eax
mov rax, qword [r10 + 0x38]
mov qword [rsp + 0x70], rax
movzx eax, word [rbp - 0x70]
mov word [rsp + 0x78], ax
movzx eax, word [rsp + 0x64]
dec ax
and ax, 1
shl ax, 3
mov word [rsp + 0x7a], ax
movsxd rcx, dword [rsi + r13*8 + 0xc]
mov eax, 0x4000
imul rcx, rcx, 0x38
add rcx, qword [rsp + 0x48]
mov qword [rbp - 0x78], rcx
test word [rcx + 0x24], ax
je 0x18002b128
call fcn.18001fb50
mov r10, qword [rsp + 0x68]
mov rcx, qword [r10]
lea rax, [rsp + 0x60]
lea rdx, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call fcn.1800186e0
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002dc3c
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x19], r14b
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x1d], 0
mov rax, qword [rsp + 0x68]
mov dword [rax + 0x64], r12d
mov eax, dword [rsp + 0x64]
cmp eax, 0x2d
jl 0x18002b1a5
mov ecx, dword [rsp + 0x60]
test ecx, ecx
js 0x18002b191
jne 0x18002b187
cmp eax, 0x2e
je 0x18002b191
mov dword [rsp + 0x60], r12d
jmp 0x18002a344
mov rcx, qword [rsp + 0x68]
lea rdx, [rsp + 0x60]
mov rcx, qword [rcx]
call fcn.180018bc0
jmp 0x18002b1e0
mov eax, dword [rsp + 0x60]
test eax, eax
jg 0x18002b1ce
jne 0x18002b1b6
cmp dword [rsp + 0x64], 0x2b
je 0x18002b1ce
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
mov eax, r12d
cmp byte [rcx + 0x5b], 1
setne al
mov dword [rsp + 0x60], eax
jmp 0x18002b1f8
mov rcx, qword [rsp + 0x68]
lea rdx, [rsp + 0x60]
mov rcx, qword [rcx]
call fcn.180018d60
mov dword [rsp + 0x40], eax
mov r14d, eax
test eax, eax
jne 0x18002dc3c
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x19], 0
cmp dword [rsp + 0x60], 0
mov r8d, 4
je case.0x1800280e9.17
jmp 0x1800280f9
movsxd rcx, dword [rsi + r13*8 + 4]
mov r10, qword [rbp + 0x100]
mov rax, qword [r10 + 0x58]
mov rdx, qword [rax + rcx*8]
mov qword [rsp + 0x60], rdx
cmp qword [rdx], 0
je 0x18002a351
mov byte [rdx + 0x1c], 0
movsxd rcx, dword [rsi + r13*8 + 8]
imul rcx, rcx, 0x38
add rcx, qword [rsp + 0x48]
call fcn.18001ff10
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x19], 0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x1d], 1
jmp 0x18002a344
mov r10, qword [rbp + 0x100]
mov edx, r12d
mov rax, qword [r10 + 0x58]
mov dword [rsp + 0x60], edx
movsxd rcx, dword [rsi + r13*8 + 4]
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x68], rcx
movsxd rbx, dword [rsi + r13*8 + 0xc]
imul rbx, rbx, 0x38
add rbx, qword [rsp + 0x48]
cmp qword [rcx], 0
je 0x18002b38f
cmp dword [rsi + r13*8 + 0x10], 0
jle 0x18002b2d2
mov rax, qword [rcx + 0x38]
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x80], rax
movzx eax, word [rsi + r13*8 + 0x10]
mov qword [rbp - 0x68], rbx
mov word [rbp - 0x78], ax
mov eax, 0x10
mov qword [rsp + 0x78], rdx
mov word [rbp - 0x76], ax
jmp 0x18002b323
mov eax, 0x4000
test word [rbx + 0x24], ax
je 0x18002b2ea
mov rcx, rbx
call fcn.18001fb50
mov rcx, qword [rsp + 0x68]
mov r8, qword [rbx + 0x18]
mov edx, dword [rbx + 0x20]
mov rcx, qword [rcx + 0x38]
lea r9, [rbp - 0x60]
mov dword [rsp + 0x20], 0xcf
call fcn.180024760
mov qword [rsp + 0x78], rax
test rax, rax
je 0x180028919
or word [rax + 0xa], 0x10
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx]
lea rax, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call fcn.1800186e0
cmp dword [rsi + r13*8 + 0x10], 0
mov r14d, eax
mov dword [rsp + 0x40], eax
jne 0x18002b354
mov rcx, qword [rsp + 0x78]
call fcn.1800249a0
mov r10, qword [rbp + 0x100]
mov r8d, 4
test r14d, r14d
jne 0x18002a351
cmp dword [rsp + 0x70], r14d
mov eax, r12d
sete al
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x1d], r14b
mov rax, qword [rsp + 0x68]
mov dword [rax + 0x64], r12d
mov edx, dword [rsp + 0x60]
cmp byte [rsi + r13*8], 0x31
jne 0x18002b3aa
test edx, edx
je 0x18002a351
mov ecx, dword [rsi + r13*8 + 8]
dec ecx
jmp 0x18002a357
test edx, edx
jne 0x18002a351
mov ecx, dword [rsi + r13*8 + 8]
dec ecx
jmp 0x18002a357
movsxd rax, dword [rsi + r13*8 + 0x10]
movsxd rbx, dword [rsi + r13*8 + 0xc]
mov r11, qword [rsp + 0x48]
imul rax, rax, 0x38
imul rbx, rbx, 0x38
add rax, r11
add rbx, r11
mov qword [rbp - 0x80], rax
movsxd rcx, dword [rsi + r13*8 + 4]
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x58]
mov rdx, qword [rax + rcx*8]
movzx ecx, r12w
mov qword [rsp + 0x68], rdx
mov dword [rdx + 0x60], r12d
mov rax, qword [rsp + 0x68]
mov dword [rax + 0x64], r12d
mov r10, qword [rsp + 0x68]
mov r8, qword [rbp - 0x80]
mov r9, qword [r10]
mov qword [rsp + 0x70], r9
mov rax, qword [r10 + 0x38]
movzx edx, word [rax + 0xa]
mov word [rsp + 0x60], cx
mov word [rsp + 0x78], dx
cmp r12w, dx
jae 0x18002b452
movzx eax, cx
imul rax, rax, 0x38
test byte [rax + r8 + 0x24], 1
jne 0x18002b4dd
inc cx
mov word [rsp + 0x60], cx
cmp cx, dx
jb 0x18002b432
test r9, r9
je 0x18002a344
mov rax, qword [r10 + 0x38]
inc dx
mov rcx, rbx
mov qword [rbp - 0x78], rax
mov eax, 0x20
mov word [rbp - 0x70], dx
mov word [rbp - 0x6e], ax
mov qword [rbp - 0x60], r8
call fcn.18001ff10
mov qword [rbx], rax
mov ecx, 0xbf04
lea rdx, [rbp - 0x78]
and word [rbx + 0x24], cx
or word [rbx + 0x24], 4
mov rcx, qword [rsp + 0x70]
mov qword [rbp - 0x58], rax
mov rax, qword [rsp + 0x68]
xor r9d, r9d
add rax, 0x60
xor r8d, r8d
mov qword [rsp + 0x20], rax
call fcn.1800186e0
test byte [rbp - 0x6e], 0x20
mov r14d, eax
mov dword [rsp + 0x40], eax
jne 0x18002aeeb
mov rax, qword [rbp - 0x68]
cmp rax, qword [rbp - 0x58]
je 0x18002aeeb
mov qword [rbx], rax
jmp 0x18002a344
mov r10d, dword [rsi + r13*8 + 8]
mov qword [rsp + 0x70], r12
dec r10d
mov dword [rbp + 0x118], r10d
jmp 0x18002a344
movsxd rcx, dword [rsi + r13*8 + 4]
movsxd rbx, dword [rsi + r13*8 + 0xc]
mov r10, qword [rbp + 0x100]
imul rbx, rbx, 0x38
mov rax, qword [r10 + 0x58]
add rbx, qword [rsp + 0x48]
mov rdx, qword [rax + rcx*8]
mov qword [rsp + 0x60], rdx
mov rcx, qword [rdx]
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x18002b5af
mov dword [rsp + 0x70], r12d
mov r8, qword [rbx]
lea rax, [rsp + 0x70]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x78], r8
call fcn.1800186e0
mov rcx, qword [rbx]
mov r14d, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x10], rcx
cmp dword [rsp + 0x70], 0
mov rax, qword [rsp + 0x60]
sete cl
mov byte [rax + 0x19], cl
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x1c], 0
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x64], r12d
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x1d], 0
mov ecx, dword [rsp + 0x70]
test ecx, ecx
je 0x18002b5a2
mov eax, dword [rsi + r13*8 + 8]
dec eax
mov dword [rbp + 0x118], eax
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x60], ecx
jmp 0x18002a344
mov ecx, dword [rsi + r13*8 + 8]
mov dword [rdx + 0x60], r12d
dec ecx
jmp 0x18002a357
movsxd rcx, dword [rsi + r13*8 + 4]
mov r10, qword [rbp + 0x100]
mov rax, qword [r10 + 0x58]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx + 0x48]
mov qword [r15], rax
movsxd rcx, dword [rsi + r13*8 + 4]
mov rax, qword [r10 + 0x58]
mov rdx, qword [rax + rcx*8]
inc qword [rdx + 0x48]
jmp 0x18002a351
mov r10, qword [rbp + 0x100]
mov dword [rsp + 0x70], r12d
mov rdx, r12
mov rax, qword [r10 + 0x58]
mov qword [rsp + 0x60], rdx
movsxd rcx, dword [rsi + r13*8 + 4]
mov rbx, qword [rax + rcx*8]
mov qword [rsp + 0x68], rbx
cmp qword [rbx], 0
je 0x18002b94f
mov dword [rsp + 0x74], r12d
cmp byte [rbx + 0x1b], 0
jne 0x18002b80d
mov rax, qword [rbx]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x60], rcx
test rcx, rcx
jne 0x18002b6ce
mov rbx, qword [rbx]
cmp byte [rbx + 0x5b], 1
jne 0x18002b652
cmp byte [rbx + 0x59], cl
jne 0x18002b6a6
mov rcx, rbx
call fcn.180018390
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002b690
cmp byte [rbx + 0x5b], al
jne 0x18002b674
mov dword [rsp + 0x70], 1
jmp 0x18002b690
mov rcx, rbx
mov dword [rsp + 0x70], r12d
call fcn.180018620
test eax, eax
mov r14d, eax
mov dword [rsp + 0x40], eax
sete al
mov byte [rbx + 0x59], al
test r14d, r14d
jne 0x18002dc3c
cmp dword [rsp + 0x70], r14d
je 0x18002b6a6
lea ecx, [r14 + 1]
jmp 0x18002b6c2
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
cmp byte [rcx + 0x5b], 1
je 0x18002b71f
mov rcx, r12
mov r14d, r12d
mov dword [rsp + 0x40], r12d
inc rcx
mov qword [rsp + 0x60], rcx
mov r10, qword [rbp + 0x100]
movsxd rdx, dword [rsi + r13*8 + 0xc]
test edx, edx
je 0x18002b7cc
mov rax, qword [r10 + 0x148]
test rax, rax
je 0x18002b75b
mov qword [rbp - 0x80], rax
mov rcx, qword [rax + 0x60]
test rcx, rcx
je 0x18002b710
nop word [rax + rax]
mov rax, rcx
mov qword [rbp - 0x80], rcx
mov rcx, qword [rcx + 0x60]
test rcx, rcx
jne 0x18002b700
movsxd rbx, dword [rsi + r13*8 + 0xc]
imul rbx, rbx, 0x38
add rbx, qword [rax + 0x20]
jmp 0x18002b767
lea rdx, [rsp + 0x60]
call fcn.180017b60
mov rcx, qword [rsp + 0x60]
mov r14d, eax
mov dword [rsp + 0x40], eax
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
jne 0x18002b6bf
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x1b], 1
mov rcx, qword [rsp + 0x60]
jmp 0x18002b6c7
mov rbx, rdx
imul rbx, rbx, 0x38
add rbx, qword [rsp + 0x48]
mov rcx, rbx
mov qword [rsp + 0x78], rbx
call fcn.18001ff10
mov qword [rbx], rax
mov eax, 0xbf04
and word [rbx + 0x24], ax
or word [rbx + 0x24], 4
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rdx]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
je 0x18002b90e
mov rax, qword [rsp + 0x68]
cmp byte [rax + 0x1b], 0
jne 0x18002b90e
lea rax, [rcx + 1]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
cmovl rcx, rax
mov qword [rsp + 0x60], rcx
mov qword [rdx], rcx
mov rcx, qword [rsp + 0x60]
movabs rax, 0x7fffffffffffffff
lea rdx, [rcx + 1]
cmp rcx, rax
jl 0x18002b7e2
mov rdx, r12
mov rax, qword [rsp + 0x68]
mov r8, qword [rax]
mov rax, qword [r8 + 8]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x18002b80d
mov eax, dword [r8 + 0x28]
cmp dword [rcx + 0x28], eax
jne 0x18002b804
mov qword [rcx + 0x30], rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x18002b7f7
mov rax, qword [rsp + 0x68]
cmp byte [rax + 0x1b], 0
je 0x18002b922
mov r8, qword [rdi + 0x40]
mov eax, r12d
mov qword [rsp + 0x60], r8
mov dword [rsp + 0x74], eax
nop dword [rax]
test eax, eax
jne 0x18002b846
mov rax, r8
and eax, 0xffffff
cmp rax, r8
jne 0x18002b846
inc r8
jmp 0x18002b8b0
cmp dword [0x1800ac3f4], 0
mov ebx, 8
lea rdi, [rsp + 0x60]
jne 0x18002b85e
mov rsi, r12
jmp 0x18002b880
mov ecx, 5
call qword [0x1800ac458]
mov rsi, rax
test rax, rax
je 0x18002b880
mov rcx, rax
call qword [0x1800ac468]
nop word [rax + rax]
call fcn.180009120
inc rdi
dec ebx
mov byte [rdi - 1], al
jne 0x18002b880
test rsi, rsi
je 0x18002b89d
mov rcx, rsi
call qword [0x1800ac478]
cmp dword [rsp + 0x74], 5
mov r8, qword [rsp + 0x60]
jge 0x18002b8b5
and r8d, 0xffffff
mov qword [rsp + 0x60], r8
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov rcx, qword [rcx]
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.1800186e0
mov r14d, eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
cmp eax, 0x64
jge 0x18002b8fd
test r14d, r14d
jne 0x18002b919
cmp dword [rsp + 0x70], r14d
jne 0x18002b919
mov r8, qword [rsp + 0x60]
jmp 0x18002b830
test r14d, r14d
jne 0x18002b919
mov rdi, qword [rsp + 0x50]
cmp dword [rsp + 0x70], r14d
jne 0x18002b91e
mov r14d, 0xd
jmp 0x18002dc3c
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rbp + 0x70]
mov rax, qword [rsp + 0x68]
mov r10, qword [rbp + 0x100]
mov r8d, 4
mov byte [rax + 0x19], 0
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x1d], 0
mov rax, qword [rsp + 0x68]
mov dword [rax + 0x64], r12d
mov rdx, qword [rsp + 0x60]
mov qword [r15], rdx
jmp 0x18002a351
movsxd r9, dword [rsi + r13*8 + 8]
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rbp + 0x100]
imul r9, r9, 0x38
mov rax, qword [rdx + 0x58]
add r9, rbx
mov qword [rsp + 0x60], r9
movsxd rcx, dword [rsi + r13*8 + 4]
mov r10, qword [rax + rcx*8]
mov qword [rsp + 0x78], r10
cmp byte [rsi + r13*8], 0x36
movsxd rax, dword [rsi + r13*8 + 0xc]
jne 0x18002b9a1
imul rax, rax, 0x38
add rax, rbx
mov qword [rsp + 0x68], rax
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
test byte [rsi + r13*8 + 3], 1
je 0x18002b9b4
inc dword [rdx + 0xa8]
test byte [rsi + r13*8 + 3], 2
je 0x18002b9cf
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x40], rax
mov r10, qword [rsp + 0x78]
mov r9, qword [rsp + 0x60]
test byte [r9 + 0x24], 1
je 0x18002b9ed
mov qword [r9 + 0x18], r12
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x20], r12d
mov r10, qword [rsp + 0x78]
mov r9, qword [rsp + 0x60]
test byte [rsi + r13*8 + 3], 0x10
je 0x18002b9ff
mov r8d, dword [r10 + 0x60]
mov dword [rbp - 0x7c], r8d
jmp 0x18002ba06
mov r8d, r12d
mov dword [rbp - 0x7c], r12d
mov eax, 0x4000
test word [r9 + 0x24], ax
je 0x18002ba17
mov edx, dword [r9]
jmp 0x18002ba1a
mov edx, r12d
mov dword [rbp - 0x80], edx
mov r11, qword [r10]
mov rax, qword [r11 + 8]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x18002ba57
nop dword [rax]
mov eax, dword [r11 + 0x28]
cmp dword [rcx + 0x28], eax
jne 0x18002ba3d
mov qword [rcx + 0x30], r12
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x18002ba30
mov r8d, dword [rbp - 0x7c]
mov edx, dword [rbp - 0x80]
mov r10, qword [rsp + 0x78]
mov r9, qword [rsp + 0x60]
movzx eax, byte [rsi + r13*8 + 3]
mov rcx, qword [r10]
mov dword [rsp + 0x38], r8d
mov r8, qword [rsp + 0x70]
and eax, 8
mov dword [rsp + 0x30], eax
mov eax, dword [r9 + 0x20]
mov r9, qword [r9 + 0x18]
mov dword [rsp + 0x28], edx
xor edx, edx
mov dword [rsp + 0x20], eax
call fcn.18001bfd0
mov r14d, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x78]
mov byte [rax + 0x19], 0
mov rax, qword [rsp + 0x78]
mov byte [rax + 0x1d], 0
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x64], r12d
test r14d, r14d
jne 0x18002a344
cmp qword [rdi + 0x100], 0
je 0x18002a344
cmp qword [rsi + r13*8 + 0x10], 0
je 0x18002a344
mov rax, qword [rsp + 0x78]
mov edx, 0x12
movsxd rcx, dword [rax + 8]
mov rax, qword [rdi + 0x10]
shl rcx, 5
mov r8, qword [rcx + rax]
mov eax, 0x17
mov qword [rbp - 0x78], r8
mov r9, qword [rsi + r13*8 + 0x10]
mov qword [rbp - 0x70], r9
test byte [rsi + r13*8 + 3], 4
cmovne edx, eax
mov rax, qword [rsp + 0x70]
mov dword [rbp - 0x68], edx
mov rcx, qword [rdi + 0xf8]
mov qword [rsp + 0x20], rax
call qword [rdi + 0x100]
jmp 0x18002a344
mov rbx, qword [rbp + 0x100]
mov qword [rsp + 0x60], r12
movsxd rcx, dword [rsi + r13*8 + 4]
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x68], rcx
cmp qword [rdi + 0x100], 0
je 0x18002bb5a
cmp qword [rsi + r13*8 + 0x10], 0
je 0x18002bb5a
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x60], rax
call fcn.180024260
mov r14d, eax
test eax, eax
jne 0x18002dc43
mov rdx, qword [rsp + 0x68]
mov r8, qword [rdx]
mov rax, qword [r8 + 8]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x18002bb9b
nop
mov eax, dword [r8 + 0x28]
cmp dword [rcx + 0x28], eax
jne 0x18002bb8d
mov qword [rcx + 0x30], r12
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x18002bb80
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rdx]
call fcn.18001c2a0
mov r14d, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x68]
mov dword [rax + 0x64], r12d
test r14d, r14d
jne 0x18002bbfb
mov r10, qword [rdi + 0x100]
test r10, r10
je 0x18002bbfb
mov r9, qword [rsi + r13*8 + 0x10]
test r9, r9
je 0x18002bbfb
mov rax, qword [rsp + 0x68]
mov r8, qword [rdi + 0x10]
lea edx, [r14 + 9]
movsxd rcx, dword [rax + 8]
mov rax, qword [rsp + 0x60]
shl rcx, 5
mov qword [rsp + 0x20], rax
mov r8, qword [rcx + r8]
mov rcx, qword [rdi + 0xf8]
call r10
test byte [rsi + r13*8 + 8], 1
mov r10, qword [rbp + 0x100]
mov ecx, dword [rbp + 0x118]
mov r8d, 4
je 0x18002a357
inc dword [r10 + 0xa8]
jmp 0x18002a357
mov r10, qword [rbp + 0x100]
mov eax, dword [r10 + 0xa8]
add dword [rdi + 0x50], eax
mov dword [rdi + 0x4c], eax
mov dword [r10 + 0xa8], r12d
jmp 0x18002a351
movsxd rcx, dword [rsi + r13*8 + 4]
movsxd r15, dword [rsi + r13*8 + 8]
mov rbx, qword [rbp + 0x100]
imul r15, r15, 0x38
mov rax, qword [rbx + 0x58]
add r15, qword [rsp + 0x48]
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x60], rcx
mov rax, qword [rcx]
mov qword [rsp + 0x68], rax
call fcn.180024260
mov r14d, eax
test eax, eax
jne 0x18002dc43
mov rax, qword [rsp + 0x60]
cmp byte [rax + 0x1f], r14b
je 0x18002bccb
mov rcx, qword [rsp + 0x68]
cmp byte [rcx + 0x5b], 1
je 0x18002bca5
mov rcx, r12
mov qword [rsp + 0x78], rcx
jmp 0x18002bcb4
lea rdx, [rsp + 0x78]
call fcn.180017b60
mov rcx, qword [rsp + 0x78]
movsxd rax, dword [rdi + 0x60]
cmp rcx, rax
jg 0x18002dc87
mov edx, dword [rsp + 0x78]
mov dword [rsp + 0x70], edx
jmp 0x18002bd37
mov rbx, qword [rsp + 0x68]
cmp word [rbx + 0x56], 0
jne 0x18002bd27
movsx rax, word [rbx + 0x80]
lea r8, [rbx + 0x38]
mov rcx, qword [rbx + rax*8 + 0x88]
movzx r9d, word [rbx + rax*2 + 0x128]
movzx eax, word [rcx + 0xc]
mov r11, qword [rcx + 0x70]
lea rdx, [r11 + rax]
movzx eax, byte [rdx + r9*2]
movzx edx, byte [rdx + r9*2 + 1]
shl eax, 8
movsxd r10, eax
movzx eax, word [rcx + 0x12]
or rdx, r10
and rdx, rax
add rdx, r11
call fcn.180014300
mov byte [rbx + 0x5a], 1
mov edx, dword [rbx + 0x48]
mov dword [rsp + 0x70], edx
cmp edx, dword [rdi + 0x60]
ja 0x18002dc87
xor r8d, r8d
mov rcx, r15
call fcn.18001f970
test eax, eax
jne 0x180028919
mov eax, dword [rsp + 0x70]
mov r9, qword [r15 + 0x18]
xor edx, edx
mov dword [r15 + 0x20], eax
mov eax, 0xbf10
and word [r15 + 0x24], ax
or word [r15 + 0x24], 0x10
mov rax, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + 0x1f], dl
je 0x18002bd90
mov dword [rsp + 0x20], r12d
call fcn.180017df0
mov byte [r15 + 0x27], 1
jmp 0x18002a33d
call fcn.180018190
mov byte [r15 + 0x27], 1
jmp 0x18002a33d
movsxd rcx, dword [rsi + r13*8 + 4]
mov r10, qword [rbp + 0x100]
mov rax, qword [r10 + 0x58]
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x60], rcx
cmp byte [rcx + 0x1c], 0
je 0x18002bdcd
mov eax, 1
mov word [r15 + 0x24], ax
jmp 0x18002a351
cmp byte [rcx + 0x1d], 0
je 0x18002bde4
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x68], rax
mov qword [r15], rax
jmp 0x18002a351
mov rax, qword [rcx + 0x50]
test rax, rax
je 0x18002be55
mov rax, qword [rax]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov r8, qword [rax]
mov qword [rsp + 0x78], r8
mov rcx, qword [rcx + 0x50]
call qword [r8 + 0x60]
mov rcx, rdi
mov r14d, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rbp + 0x100]
mov rdx, qword [rax + 0x98]
call fcn.180007400
mov r11, qword [rsp + 0x70]
mov r10, qword [rbp + 0x100]
mov rax, qword [r11 + 0x10]
mov r8d, 4
mov qword [r10 + 0x98], rax
mov qword [r11 + 0x10], r12
mov rax, qword [rsp + 0x68]
mov qword [r15], rax
jmp 0x18002a351
call fcn.180024260
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002dc3c
mov rax, qword [rsp + 0x60]
cmp byte [rax + 0x19], r14b
je 0x18002be7f
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x68], rax
jmp 0x18002bea8
mov rcx, qword [rax]
cmp byte [rcx + 0x5b], 1
je 0x18002be97
mov qword [rsp + 0x68], r12
mov r14d, r12d
mov dword [rsp + 0x40], r12d
jmp 0x18002bea8
lea rdx, [rsp + 0x68]
call fcn.180017b60
mov r14d, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x68]
mov r10, qword [rbp + 0x100]
mov r8d, 4
mov qword [r15], rax
jmp 0x18002a351
movsxd rcx, dword [rsi + r13*8 + 4]
mov r10, qword [rbp + 0x100]
mov rax, qword [r10 + 0x58]
mov rdx, qword [rax + rcx*8]
mov qword [rsp + 0x60], rdx
mov byte [rdx + 0x1c], 1
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x19], 0
mov rax, qword [rsp + 0x60]
mov rbx, qword [rax]
test rbx, rbx
je 0x18002a351
mov rcx, qword [rbx + 0x60]
call sym.sqlite3.dll_sqlite3_free
mov qword [rbx + 0x60], r12
mov byte [rbx + 0x5b], 0
jmp 0x18002a344
movsxd rcx, dword [rsi + r13*8 + 4]
mov r10, qword [rbp + 0x100]
mov rax, qword [r10 + 0x58]
mov rdx, qword [rax + rcx*8]
mov qword [rsp + 0x60], rdx
mov rbx, qword [rdx]
mov qword [rsp + 0x68], rbx
test rbx, rbx
jne 0x18002bf3f
mov dword [rsp + 0x70], 1
jmp 0x18002bfa5
cmp byte [rbx + 0x5b], 1
jne 0x18002bf55
cmp byte [rbx + 0x59], 0
je 0x18002bf55
mov r14d, r12d
mov dword [rsp + 0x40], r12d
jmp 0x18002bfa5
mov rcx, rbx
call fcn.180018390
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002bf93
cmp byte [rbx + 0x5b], al
jne 0x18002bf77
mov dword [rsp + 0x70], 1
jmp 0x18002bf93
mov rcx, rbx
mov dword [rsp + 0x70], r12d
call fcn.180018620
test eax, eax
mov r14d, eax
mov dword [rsp + 0x40], eax
sete al
mov byte [rbx + 0x59], al
mov rdx, qword [rsp + 0x60]
mov r10, qword [rbp + 0x100]
mov r8d, 4
movzx eax, byte [rsp + 0x70]
mov byte [rdx + 0x1c], al
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x1d], 0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x19], 0
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x64], r12d
mov eax, dword [rsi + r13*8 + 8]
test eax, eax
jle 0x18002a351
cmp dword [rsp + 0x70], 0
je 0x18002a351
lea ecx, [rax - 1]
jmp 0x18002a357
mov r10, qword [rbp + 0x100]
inc dword [r10 + 0x11c]
jmp 0x18002bfff
mov r10, qword [rbp + 0x100]
movsxd rcx, dword [rsi + r13*8 + 4]
mov rax, qword [r10 + 0x58]
mov rdx, qword [rax + rcx*8]
mov qword [rsp + 0x60], rdx
mov rbx, qword [rdx]
mov qword [rsp + 0x68], rbx
test rbx, rbx
je 0x18002c09b
mov rcx, rbx
call fcn.180018390
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002c05c
cmp byte [rbx + 0x5b], al
jne 0x18002c048
mov dword [rsp + 0x70], 1
mov r14d, r12d
mov dword [rsp + 0x40], r12d
jmp 0x18002c05c
mov rcx, rbx
mov dword [rsp + 0x70], r12d
call fcn.180018570
mov r14d, eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x70], 0
mov rax, qword [rsp + 0x60]
mov r10, qword [rbp + 0x100]
sete cl
mov r8d, 4
mov byte [rax + 0x1a], cl
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x1d], 0
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x64], r12d
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x19], 0
mov rdx, qword [rsp + 0x60]
jmp 0x18002c0a3
mov dword [rsp + 0x70], 1
movzx eax, byte [rsp + 0x70]
mov byte [rdx + 0x1c], al
cmp dword [rsp + 0x70], 0
je 0x18002a351
mov ecx, dword [rsi + r13*8 + 8]
dec ecx
jmp 0x18002a357
mov eax, dword [rdi + 0x138]
mov r10, qword [rbp + 0x100]
test eax, eax
jne 0x18002dcb6
movsxd rcx, dword [rsi + r13*8 + 4]
mov rax, qword [r10 + 0x58]
mov rdx, qword [rax + rcx*8]
mov qword [rsp + 0x60], rdx
test rdx, rdx
je 0x18002a351
mov rcx, qword [rdx]
mov qword [rsp + 0x68], rcx
test rcx, rcx
jne 0x18002c108
mov byte [rdx + 0x1c], 1
jmp 0x18002a351
mov dword [rsp + 0x70], 1
cmp byte [rsi + r13*8], 0x42
lea rdx, [rsp + 0x70]
jne 0x18002c123
call fcn.180018bc0
jmp 0x18002c128
call fcn.180018d60
mov rcx, qword [rsp + 0x60]
mov r10, qword [rbp + 0x100]
mov dword [rsp + 0x40], eax
mov r14d, eax
movzx eax, byte [rsp + 0x70]
mov byte [rcx + 0x1c], al
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x64], r12d
cmp dword [rsp + 0x70], 0
jne 0x18002c175
mov eax, dword [rsi + r13*8 + 8]
dec eax
mov dword [rbp + 0x118], eax
movzx eax, byte [rsi + r13*8 + 3]
test al, al
je 0x18002c175
movzx eax, al
inc dword [r10 + rax*4 + 0x114]
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x19], 0
jmp 0x18002a34b
movsxd rcx, dword [rsi + r13*8 + 4]
mov r10, qword [rbp + 0x100]
mov rax, qword [r10 + 0x58]
mov rdx, qword [rax + rcx*8]
mov qword [rsp + 0x60], rdx
movsxd rbx, dword [rsi + r13*8 + 8]
mov rcx, qword [rdx]
imul rbx, rbx, 0x38
add rbx, qword [rsp + 0x48]
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x18002a351
mov eax, 0x4000
test word [rbx + 0x24], ax
je 0x18002c1e7
mov rcx, rbx
call fcn.18001fb50
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002a344
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
movsxd r8, dword [rbx + 0x20]
mov dword [rsp + 0x70], r8d
mov r10, qword [rbx + 0x18]
mov qword [rsp + 0x78], r10
test byte [rsi + r13*8 + 3], 0x10
je 0x18002c206
mov eax, dword [rdx + 0x60]
jmp 0x18002c209
mov eax, r12d
mov dword [rsp + 0x38], eax
mov eax, dword [rsi + r13*8 + 0xc]
lea r9, [0x18009b83c]
mov dword [rsp + 0x30], eax
mov rdx, r10
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call fcn.18001bfd0
mov r14d, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x64], r12d
jmp 0x18002a344
movsxd rcx, dword [rsi + r13*8 + 4]
mov r10, qword [rbp + 0x100]
mov rax, qword [r10 + 0x58]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x60], rax
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x18002a351
mov rax, qword [rax + 0x38]
lea rdx, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x78], rax
movzx eax, word [rsi + r13*8 + 0xc]
mov word [rbp - 0x7e], r12w
mov word [rbp - 0x80], ax
movsxd rax, dword [rsi + r13*8 + 8]
xor r8d, r8d
imul rax, rax, 0x38
add rax, qword [rsp + 0x48]
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.1800186e0
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002c2d4
cmp dword [rsp + 0x70], eax
jne 0x18002c2d4
mov rcx, qword [rsp + 0x68]
call fcn.18001c2a0
mov r14d, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x64], r12d
jmp 0x18002a344
movsxd rcx, dword [rsi + r13*8 + 4]
mov r10, qword [rbp + 0x100]
mov rax, qword [r10 + 0x58]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x68], rax
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov eax, 1
mov word [r15 + 0x24], ax
cmp qword [rsp + 0x60], 0
je 0x18002a351
mov rcx, qword [rsp + 0x68]
call fcn.180024260
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002dc3c
mov rax, qword [rsp + 0x68]
cmp byte [rax + 0x1c], r14b
jne 0x18002a344
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x70]
call fcn.180024df0
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18002dc3c
mov rax, qword [rsp + 0x70]
mov r10, qword [rbp + 0x100]
mov r8d, 4
mov qword [r15], rax
mov word [r15 + 0x24], r8w
jmp 0x18002a351
movsxd rcx, dword [rsi + r13*8 + 4]
mov r10, qword [rbp + 0x100]
mov rax, qword [r10 + 0x58]
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x60], rcx
cmp qword [rcx], 0
je 0x18002a351
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x70], rax
movzx eax, word [rsi + r13*8 + 0x10]
mov word [rsp + 0x78], ax
cmp byte [rsi + r13*8 + 3], 0
je 0x18002c3c9
mov eax, 0xc
mov word [rsp + 0x7a], ax
jmp 0x18002c3cf
mov word [rsp + 0x7a], r8w
movsxd rax, dword [rsi + r13*8 + 0xc]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x70]
imul rax, rax, 0x38
add rax, qword [rsp + 0x48]
mov qword [rbp - 0x78], rax
call fcn.180025160
cmp byte [rsi + r13*8], 0x48
mov r14d, eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x68]
jne 0x18002c406
neg eax
jmp 0x18002c408
inc eax
mov dword [rsp + 0x68], eax
mov r8d, 4
test eax, eax
jle case.0x1800280e9.17
jmp 0x1800280f9
mov ecx, r12d
mov dword [rsp + 0x64], ecx
mov rax, qword [rdi + 0xa8]
mov qword [rsp + 0x68], rax
test rax, rax
je 0x18002c466
cmp dword [rax + 0x78], 0xbdf20da3
jne 0x18002c458
cmp byte [rax + 0xa4], 2
jae 0x18002c458
cmp dword [rax + 0x8c], 0
jl 0x18002c458
inc ecx
mov dword [rsp + 0x64], ecx
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x18002c437
mov eax, 1
mov word [r15 + 0x24], ax
cmp dword [rsp + 0x64], eax
jle 0x18002c492
mov r10, qword [rbp + 0x100]
mov r14d, 6
mov byte [r10 + 0x60], 2
mov dword [rsp + 0x40], r14d
jmp 0x18002a351
movsxd rax, dword [rsi + r13*8 + 0xc]
mov dword [rsp + 0x70], eax
mov ebx, dword [rsi + r13*8 + 4]
mov rcx, rax
mov rax, qword [rdi + 0x10]
shl rcx, 5
mov rdi, qword [rcx + rax + 8]
mov rcx, rdi
call fcn.180013580
lea r8, [rsp + 0x60]
mov edx, ebx
mov rcx, rdi
call fcn.18001cc20
cmp byte [rdi + 0x11], 0
mov r14d, eax
mov dword [rsp + 0x40], eax
je 0x18002c4f0
dec dword [rdi + 0x14]
jne 0x18002c4f0
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x18002c4ec
call qword [0x1800ac478]
mov byte [rdi + 0x12], 0
mov r8d, 4
mov word [r15 + 0x24], r8w
movsxd rax, dword [rsp + 0x60]
mov qword [r15], rax
test r14d, r14d
jne 0x180029212
mov r8d, dword [rsp + 0x60]
mov rdi, qword [rsp + 0x50]
test r8d, r8d
je 0x18002a344
movsxd r10, dword [rsp + 0x70]
mov r9d, dword [rsi + r13*8 + 4]
shl r10, 5
add r10, qword [rdi + 0x10]
mov rax, qword [r10 + 0x18]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x18002c559
nop
mov rcx, qword [rdx + 0x10]
mov eax, dword [rcx + 0x28]
cmp eax, r8d
cmove eax, r9d
mov dword [rcx + 0x28], eax
mov rdx, qword [rdx]
test rdx, rdx
jne 0x18002c540
mov rax, qword [r10 + 0x18]
mov rdx, qword [rax + 0x28]
test rdx, rdx
je 0x18002c589
nop word [rax + rax]
mov rcx, qword [rdx + 0x10]
mov eax, dword [rcx + 0x28]
cmp eax, r8d
cmove eax, r9d
mov dword [rcx + 0x28], eax
mov rdx, qword [rdx]
test rdx, rdx
jne 0x18002c570
mov byte [rbp + 0x110], 1
jmp 0x18002a344
mov dword [rsp + 0x60], r12d
cmp dword [rsi + r13*8 + 0xc], 0
movsxd rax, dword [rsi + r13*8 + 8]
mov rcx, qword [rdi + 0x10]
mov edx, dword [rsi + r13*8 + 4]
lea r8, [rsp + 0x60]
cmove r8, r12
shl rax, 5
mov rcx, qword [rax + rcx + 8]
call fcn.18001cb40
cmp dword [rsi + r13*8 + 0xc], 0
mov r10, qword [rbp + 0x100]
mov r14d, eax
mov dword [rsp + 0x40], eax
je 0x18002a34b
movsxd rax, dword [rsp + 0x60]
mov r8d, 4
add dword [r10 + 0xa8], eax
movsxd rcx, dword [rsi + r13*8 + 0xc]
test ecx, ecx
jle 0x18002a351
mov rbx, qword [rsp + 0x48]
imul rcx, rcx, 0x38
add qword [rcx + rbx], rax
jmp 0x18002a351
mov dword [rsp + 0x60], r12d
movsxd rax, dword [rsi + r13*8 + 4]
mov ecx, 5
shl rax, 5
mov ebx, 2
add rax, qword [rdi + 0x10]
mov qword [rsp + 0x68], rax
cmp byte [rsi + r13*8], 0x61
cmove ebx, ecx
mov dword [rsp + 0x64], ebx
mov rdi, qword [rax + 8]
mov rcx, rdi
call fcn.180013580
lea rdx, [rsp + 0x60]
mov r8d, ebx
mov rcx, rdi
call fcn.18001c5a0
cmp byte [rdi + 0x11], 0
mov r14d, eax
mov dword [rsp + 0x40], eax
je 0x18002c682
dec dword [rdi + 0x14]
jne 0x18002c682
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x18002c67e
call qword [0x1800ac478]
mov byte [rdi + 0x12], 0
movsxd rax, dword [rsp + 0x60]
mov rdi, qword [rsp + 0x50]
mov qword [r15], rax
jmp 0x18002a344
mov eax, dword [rsi + r13*8 + 4]
mov rcx, rdi
mov dword [rsp + 0x60], eax
call fcn.180013680
cmp dword [rsi + r13*8 + 8], 0
movsxd r11, dword [rsp + 0x60]
jne 0x18002c6cc
mov rax, qword [rdi + 0x10]
mov rcx, r11
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
test byte [rcx + 0x72], 1
je 0x18002c790
mov qword [rsp + 0x78], rdi
lea rax, str.sqlite_master
cmp r11d, 1
mov rcx, r11
lea r9, str.sqlite_temp_master
lea rdx, str.SELECT_name__rootpage__sql_FROM__q._s_WHERE__s
cmovne r9, rax
shl rcx, 5
mov qword [rsp + 0x68], r9
mov eax, dword [rsi + r13*8 + 4]
mov dword [rbp - 0x80], eax
mov rax, qword [rbp + 0x100]
add rax, 0x98
mov qword [rbp - 0x78], rax
mov r8, qword [rdi + 0x10]
mov rax, qword [rsi + r13*8 + 0x10]
mov r8, qword [rcx + r8]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.180008e50
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x18002c744
mov r14d, 7
mov dword [rsp + 0x40], r14d
jmp 0x18002c790
mov byte [rdi + 0x94], 1
mov rdx, qword [rsp + 0x70]
lea r9, [rsp + 0x78]
lea r8, [fcn.1800546e0]
mov rcx, rdi
mov dword [rbp - 0x70], r12d
mov qword [rsp + 0x20], r12
call sym.sqlite3.dll_sqlite3_exec
mov rdx, qword [rsp + 0x70]
mov r14d, eax
test eax, eax
mov rcx, rdi
cmove r14d, dword [rbp - 0x70]
mov dword [rsp + 0x40], r14d
call fcn.180007400
mov byte [rdi + 0x94], 0
mov rcx, rdi
call fcn.1800137a0
mov r10, qword [rbp + 0x100]
cmp r14d, 7
je 0x180028920
jmp 0x18002a34b
mov edx, dword [rsi + r13*8 + 4]
mov rcx, rdi
call fcn.18003b2a0
jmp 0x18002a33d
mov rdx, qword [rsi + r13*8 + 0x10]
movsxd rcx, dword [rsi + r13*8 + 4]
shl rcx, 5
mov rax, rdx
add rcx, qword [rdi + 0x10]
test rdx, rdx
jne 0x18002c7df
mov eax, r12d
jmp 0x18002c7f3
cmp byte [rdx], 0
je 0x18002c7ec
inc rax
cmp byte [rax], 0
jne 0x18002c7e4
sub eax, edx
and eax, 0x3fffffff
mov rcx, qword [rcx + 0x18]
xor r9d, r9d
mov r8d, eax
add rcx, 8
call fcn.18000adc0
mov rcx, rax
call fcn.18003d5f0
mov eax, 0x200
or dword [rdi + 0x18], eax
jmp 0x18002a344
mov r8, qword [rsi + r13*8 + 0x10]
mov edx, dword [rsi + r13*8 + 4]
mov rcx, rdi
call fcn.18003d000
jmp 0x18002a344
mov r8, qword [rsi + r13*8 + 0x10]
mov edx, dword [rsi + r13*8 + 4]
mov rcx, rdi
call fcn.180063b00
jmp 0x18002a344
mov edx, dword [rsi + r13*8 + 8]
mov rcx, rdi
mov dword [rsp + 0x60], edx
lea edx, [rdx*4 + 4]
call fcn.180007670
mov r11, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x180028919
movsxd rcx, dword [rsi + r13*8 + 0xc]
mov rax, qword [rsp + 0x48]
imul rcx, rcx, 0x38
add rcx, rax
mov qword [rbp - 0x80], rcx
movsxd rbx, dword [rsi + r13*8 + 4]
imul rbx, rbx, 0x38
add rbx, rax
cmp dword [rsp + 0x60], 0
mov eax, r12d
mov dword [rsp + 0x70], eax
jle 0x18002c8d2
movsxd rcx, eax
imul rcx, rcx, 0x38
add rcx, rbx
call fcn.18001ff10
movsxd rdx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov dword [rcx + rdx*4], eax
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
cmp eax, dword [rsp + 0x60]
jl 0x18002c8a1
mov r11, qword [rsp + 0x68]
cdqe
mov dword [r11 + rax*4], r12d
movzx r10d, byte [rsi + r13*8 + 3]
mov rcx, qword [rdi + 0x10]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x80]
shl r10, 5
mov r9d, dword [rax]
mov rcx, qword [r10 + rcx + 8]
call fcn.18001e050
mov rdx, qword [rsp + 0x68]
mov rcx, rdi
mov qword [rsp + 0x78], rax
call fcn.180007400
mov rax, qword [rbp - 0x80]
movsxd r11, dword [rsp + 0x74]
mov rcx, rbx
sub qword [rax], r11
call fcn.1800201b0
cmp dword [rsp + 0x74], 0
je 0x18002c961
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x180028919
lea rax, [sym.sqlite3.dll_sqlite3_free]
mov r9b, 1
or r8d, 0xffffffff
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.180020640
test byte [rbx + 0x24], 2
movzx ecx, byte [rbp + 0x108]
je 0x18002a344
movzx eax, byte [rbx + 0x27]
cmp eax, ecx
je 0x18002a344
movzx edx, cl
mov rcx, rbx
call fcn.180009380
jmp 0x18002a344
mov rax, qword [rsp + 0x48]
movsxd rbx, dword [rsi + r13*8 + 4]
movsxd rdi, dword [rsi + r13*8 + 8]
imul rbx, rbx, 0x38
imul rdi, rdi, 0x38
add rbx, rax
add rdi, rax
test byte [rbx + 0x24], 0x20
jne 0x18002c9c3
mov rcx, rbx
call fcn.180020310
test byte [rbx + 0x24], 0x20
je 0x180028914
mov rdx, qword [rdi]
mov rcx, qword [rbx]
call fcn.18000ec70
mov rdi, qword [rsp + 0x50]
jmp 0x18002a344
mov eax, dword [rdi + 0x138]
test eax, eax
jne 0x18002dcaf
movsxd rbx, dword [rsi + r13*8 + 4]
imul rbx, rbx, 0x38
add rbx, qword [rsp + 0x48]
test byte [rbx + 0x24], 0x20
je 0x18002ca56
mov rdi, qword [rbx]
mov rcx, rdi
call fcn.18000f050
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x18002ca51
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rdi + 0x10]
mov rdx, qword [rax + 8]
mov qword [rdi + 0x10], rdx
test rdx, rdx
jne 0x18002ca2f
mov rcx, rdi
call fcn.18000eb70
movsxd rcx, dword [rsi + r13*8 + 0xc]
mov rdx, qword [rsp + 0x60]
imul rcx, rcx, 0x38
add rcx, qword [rsp + 0x48]
call fcn.180020280
mov rdi, qword [rsp + 0x50]
jmp 0x18002a344
mov rdi, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1800201b0
mov r10d, dword [rsi + r13*8 + 8]
dec r10d
mov dword [rbp + 0x118], r10d
jmp 0x18002a344
mov rax, qword [rsp + 0x48]
movsxd rbx, dword [rsi + r13*8 + 4]
movsxd rdi, dword [rsi + r13*8 + 0xc]
imul rbx, rbx, 0x38
imul rdi, rdi, 0x38
add rbx, rax
add rdi, rax
mov eax, dword [rsi + r13*8 + 0x10]
mov dword [rsp + 0x60], eax
test byte [rbx + 0x24], 0x20
jne 0x18002cab4
mov rcx, rbx
call fcn.180020310
test byte [rbx + 0x24], 0x20
je 0x180028914
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x18002caf9
js 0x18002cabf
and eax, 0xf
jmp 0x18002cac4
mov eax, 0xff
mov r8, qword [rdi]
mov rcx, qword [rbx]
movzx edx, al
call fcn.18000f130
mov dword [rsp + 0x64], eax
test eax, eax
je 0x18002caf3
mov r10d, dword [rsi + r13*8 + 8]
mov rdi, qword [rsp + 0x50]
dec r10d
mov dword [rbp + 0x118], r10d
jmp 0x18002a344
mov eax, dword [rsp + 0x60]
test eax, eax
js 0x1800288ba
mov rdx, qword [rdi]
mov rcx, qword [rbx]
call fcn.18000ec70
mov rdi, qword [rsp + 0x50]
jmp 0x18002a344
mov r8, qword [rsi + r13*8 + 0x10]
mov r10, qword [rbp + 0x100]
mov qword [rbp - 0x78], r8
movsxd rdx, dword [rsi + r13*8 + 0xc]
imul rdx, rdx, 0x38
add rdx, qword [rsp + 0x48]
mov qword [rsp + 0x68], rdx
cmp byte [rsi + r13*8 + 3], 0
je 0x18002cb77
mov rax, qword [r10 + 0x148]
mov rcx, qword [r8 + 0x18]
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x80], rax
test rax, rax
je 0x18002cb77
nop word [rax + rax]
cmp qword [rax + 0x40], rcx
je 0x18002a34b
mov rax, qword [rax + 0x60]
mov qword [rbp - 0x80], rax
test rax, rax
jne 0x18002cb60
mov eax, dword [rdi + 0x88]
cmp dword [r10 + 0x150], eax
jl 0x18002cbac
lea rcx, [r10 + 0x98]
lea r8, str.too_many_levels_of_trigger_recursion
mov r14d, 1
mov rdx, rdi
mov dword [rsp + 0x40], r14d
call fcn.180007950
jmp 0x18002a344
test byte [rdx + 0x24], 0x40
jne 0x18002ccf8
mov edx, dword [r8 + 0xc]
mov rcx, rdi
add edx, dword [r8 + 0x10]
mov dword [rsp + 0x60], edx
imul edx, edx, 7
add edx, dword [r8 + 0x10]
lea edx, [rdx*8 + 0x68]
mov dword [rsp + 0x64], edx
call fcn.180007630
mov qword [rbp - 0x80], rax
test rax, rax
je 0x180028919
mov rcx, qword [rsp + 0x68]
call fcn.18001fea0
mov rax, qword [rsp + 0x68]
mov r10, qword [rbp + 0x100]
mov ecx, 0x40
mov word [rax + 0x24], cx
mov rcx, qword [rsp + 0x68]
mov rax, qword [rbp - 0x80]
mov qword [rcx], rax
mov rax, qword [rbp - 0x80]
mov qword [rax], r10
mov ecx, dword [rsp + 0x60]
mov rax, qword [rbp - 0x80]
mov dword [rax + 0x48], ecx
mov rax, qword [rbp - 0x78]
mov ecx, dword [rax + 0x10]
mov rax, qword [rbp - 0x80]
mov dword [rax + 0x4c], ecx
mov rax, qword [rbp - 0x80]
mov ecx, dword [rbp + 0x118]
mov dword [rax + 8], ecx
mov rcx, qword [r10 + 0x80]
mov rax, qword [rbp - 0x80]
mov qword [rax + 0x20], rcx
mov rax, qword [rbp - 0x80]
mov ecx, dword [r10 + 0x7c]
mov dword [rax + 0x28], ecx
mov rcx, qword [r10 + 0x58]
mov rax, qword [rbp - 0x80]
mov qword [rax + 0x30], rcx
mov rax, qword [rbp - 0x80]
movzx ecx, word [r10 + 0x52]
mov word [rax + 0x38], cx
mov rcx, qword [r10 + 0x20]
mov rax, qword [rbp - 0x80]
mov qword [rax + 0x10], rcx
mov rax, qword [rbp - 0x80]
mov ecx, dword [r10 + 0x18]
mov dword [rax + 0x18], ecx
mov rax, qword [rbp - 0x78]
mov rcx, qword [rax + 0x18]
mov rax, qword [rbp - 0x80]
mov qword [rax + 0x40], rcx
mov rdx, qword [rbp - 0x80]
movsxd rax, dword [rdx + 0x48]
imul rax, rax, 0x38
lea rcx, [rax + rdx + 0x68]
lea rax, [rdx + 0x68]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], rax
cmp rax, rcx
je 0x18002ccff
mov ebx, 1
nop word [rax + rax]
mov word [rax + 0x24], bx
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x10], rdi
mov rax, qword [rsp + 0x70]
add rax, 0x38
mov qword [rsp + 0x70], rax
cmp rax, qword [rsp + 0x78]
jne 0x18002ccd0
mov rdx, qword [rbp - 0x80]
jmp 0x18002ccff
mov rdx, qword [rdx]
mov qword [rbp - 0x80], rdx
inc dword [r10 + 0x150]
mov rax, qword [r10 + 0x148]
mov qword [rdx + 0x60], rax
mov rcx, qword [rdi + 0x40]
mov rax, qword [rbp - 0x80]
mov qword [rax + 0x50], rcx
mov ecx, dword [r10 + 0xa8]
mov rax, qword [rbp - 0x80]
mov dword [rax + 0x58], ecx
mov rax, qword [rbp - 0x80]
mov dword [r10 + 0xa8], r12d
lea r11, [rax + 0x30]
mov qword [r10 + 0x148], rax
mov qword [r10 + 0x80], r11
mov ecx, dword [rax + 0x48]
mov qword [rsp + 0x48], r11
mov dword [r10 + 0x7c], ecx
movzx eax, word [rax + 0x4c]
mov word [r10 + 0x52], ax
lea eax, [rcx + 1]
cdqe
imul rax, rax, 0x38
add rax, r11
or ecx, 0xffffffff
mov qword [r10 + 0x58], rax
mov rax, qword [rbp - 0x78]
lea r8d, [rcx + 5]
mov rsi, qword [rax]
mov qword [r10 + 0x20], rsi
mov eax, dword [rax + 8]
mov qword [rbp + 0x70], rsi
mov dword [r10 + 0x18], eax
jmp 0x18002a357
mov rax, qword [rbp + 0x100]
mov r8, qword [rax + 0x148]
mov qword [rsp + 0x60], r8
movsxd rax, dword [r8 + 8]
lea rcx, [rax + rax*2]
mov rax, qword [r8 + 0x10]
mov edx, dword [rax + rcx*8 + 4]
mov rcx, r15
add edx, dword [rsi + r13*8 + 4]
movsxd rdx, edx
imul rdx, rdx, 0x38
add rdx, qword [r8 + 0x20]
mov r8d, 0x1000
mov qword [rsp + 0x68], rdx
call fcn.180020450
jmp 0x18002a344
cmp dword [rsi + r13*8 + 4], 0
movsxd rax, dword [rsi + r13*8 + 8]
mov r10, qword [rbp + 0x100]
mov ecx, dword [rbp + 0x118]
je 0x18002ce00
add qword [rdi + 0x310], rax
jmp 0x18002a357
add qword [r10 + 0x130], rax
jmp 0x18002a357
cmp dword [rsi + r13*8 + 4], 0
je 0x18002ce27
cmp qword [rdi + 0x310], 0
jne case.0x1800280e9.17
jmp 0x1800280f9
mov r10, qword [rbp + 0x100]
cmp qword [r10 + 0x130], 0
jne 0x18002a351
mov ecx, dword [rsi + r13*8 + 8]
dec ecx
jmp 0x18002a357
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x148]
test rax, rax
je 0x18002ce90
mov qword [rsp + 0x68], rax
mov rcx, qword [rax + 0x60]
test rcx, rcx
je 0x18002ce81
nop dword [rax]
mov rax, rcx
mov qword [rsp + 0x68], rcx
mov rcx, qword [rcx + 0x60]
test rcx, rcx
jne 0x18002ce70
movsxd rcx, dword [rsi + r13*8 + 4]
imul rcx, rcx, 0x38
add rcx, qword [rax + 0x20]
jmp 0x18002ce9e
movsxd rcx, dword [rsi + r13*8 + 4]
imul rcx, rcx, 0x38
add rcx, qword [rsp + 0x48]
mov qword [rsp + 0x60], rcx
call fcn.1800200e0
movsxd rbx, dword [rsi + r13*8 + 8]
imul rbx, rbx, 0x38
add rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.1800200e0
mov rax, qword [rsp + 0x60]
mov r11, qword [rbx]
mov r10, qword [rbp + 0x100]
mov ecx, dword [rbp + 0x118]
mov r8d, 4
cmp qword [rax], r11
jge 0x18002a357
mov qword [rax], r11
jmp 0x18002a357
movsxd rax, dword [rsi + r13*8 + 4]
mov rcx, qword [rsp + 0x48]
imul rax, rax, 0x38
cmp qword [rax + rcx], 0
jle case.0x1800280e9.17
jmp 0x1800280f9
movsxd rax, dword [rsi + r13*8 + 4]
mov rcx, qword [rsp + 0x48]
imul rax, rax, 0x38
cmp qword [rax + rcx], 0
jge case.0x1800280e9.17
jmp 0x1800280f9
movsxd rcx, dword [rsi + r13*8 + 4]
movsxd rax, dword [rsi + r13*8 + 0xc]
imul rcx, rcx, 0x38
add rcx, qword [rsp + 0x48]
add qword [rcx], rax
jne case.0x1800280e9.17
jmp 0x1800280f9
movzx eax, byte [rsi + r13*8 + 3]
mov rbx, qword [rbp + 0x100]
mov r9, qword [rsp + 0x48]
mov r8, qword [rbx + 0x38]
mov dword [rsp + 0x60], eax
movsxd rdx, dword [rsi + r13*8 + 8]
imul rdx, rdx, 0x38
add rdx, r9
mov ecx, r12d
mov qword [rsp + 0x70], rdx
mov qword [rbp - 0x28], r8
mov dword [rsp + 0x64], ecx
test eax, eax
jle 0x18002cfb6
movsxd rax, ecx
mov qword [r8 + rax*8], rdx
mov rcx, qword [rsp + 0x70]
call fcn.180027c20
mov ecx, dword [rsp + 0x64]
mov rdx, qword [rsp + 0x70]
inc ecx
add rdx, 0x38
mov dword [rsp + 0x64], ecx
mov qword [rsp + 0x70], rdx
cmp ecx, dword [rsp + 0x60]
jge 0x18002cfb6
mov r8, qword [rbp - 0x28]
jmp 0x18002cf81
mov rax, qword [rsi + r13*8 + 0x10]
mov qword [rsp + 0x78], rax
movsxd rax, dword [rsi + r13*8 + 0xc]
imul rax, rax, 0x38
add rax, r9
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x40], rax
inc dword [rax + 0x20]
mov r9, qword [rsp + 0x78]
mov eax, 1
mov word [rbp - 0x54], ax
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x68], rdi
mov dword [rbp - 0x38], r12d
mov qword [rbp - 0x30], r12
test byte [r9 + 3], 8
je 0x18002d00e
mov rax, qword [rsi + r13*8 - 8]
mov qword [rbp - 0x30], rax
mov r8, qword [rbp - 0x28]
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x78]
call qword [r9 + 0x20]
cmp dword [rbp - 0x38], 0
je 0x18002d052
lea rcx, [rbp - 0x78]
mov dl, 1
call fcn.180020db0
lea rcx, [rbx + 0x98]
lea r8, [0x18009b86c]
mov r9, rax
mov rdx, rdi
call fcn.180007950
mov r14d, dword [rbp - 0x38]
mov dword [rsp + 0x40], r14d
lea rcx, [rbp - 0x78]
call fcn.18001fea0
jmp 0x18002a344
movsxd rcx, dword [rsi + r13*8 + 4]
imul rcx, rcx, 0x38
add rcx, qword [rsp + 0x48]
mov qword [rsp + 0x60], rcx
mov rdx, qword [rsi + r13*8 + 0x10]
call fcn.18001fd00
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
je 0x18002d0b4
mov rcx, qword [rsp + 0x60]
mov dl, 1
call fcn.180020db0
mov rcx, qword [rbp + 0x100]
lea r8, [0x18009b86c]
add rcx, 0x98
mov r9, rax
mov rdx, rdi
call fcn.180007950
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rbp + 0x108]
test byte [rcx + 0x24], 2
je 0x18002d0d8
movzx eax, byte [rcx + 0x27]
cmp eax, edx
je 0x18002d0d8
call fcn.180009380
mov rcx, qword [rsp + 0x60]
call fcn.180020420
mov r10, qword [rbp + 0x100]
test eax, eax
jne 0x18002dc8e
jmp 0x18002a34b
mov rcx, qword [rbp + 0x100]
mov rdx, rdi
add rcx, 0x98
call fcn.1800679a0
jmp 0x18002a33d
movsxd rcx, dword [rsi + r13*8 + 4]
mov rax, qword [rdi + 0x10]
shl rcx, 5
mov rcx, qword [rcx + rax + 8]
mov qword [rsp + 0x60], rcx
call fcn.180016d40
mov r8d, 4
mov r14d, eax
mov dword [rsp + 0x40], eax
cmp eax, 0x65
jne case.0x1800280e9.17
mov r14d, r12d
mov dword [rsp + 0x40], r12d
jmp 0x1800280f9
cmp dword [rsi + r13*8 + 4], 0
jne 0x18002d167
mov rcx, rdi
call fcn.180025310
mov r10, qword [rbp + 0x100]
jmp 0x18002a351
mov r10, qword [rbp + 0x100]
mov byte [r10 + 0xa2], 1
jmp 0x18002a351
movzx r8d, byte [rsi + r13*8 + 0xc]
test r8b, r8b
jne 0x18002d193
test dword [rdi + 0x18], 0x80000
jne 0x18002a344
movsxd rax, dword [rsi + r13*8 + 4]
mov rcx, qword [rdi + 0x10]
mov edx, dword [rsi + r13*8 + 8]
shl rax, 5
mov rcx, qword [rax + rcx + 8]
call fcn.18001e860
mov r14d, eax
mov dword [rsp + 0x40], eax
cmp al, 6
jne 0x18002a344
mov rcx, qword [rbp + 0x100]
mov r9, qword [rsi + r13*8 + 0x10]
lea r8, str.database_table_is_locked:__s
add rcx, 0x98
mov rdx, rdi
call fcn.180007950
jmp 0x18002a344
mov rdx, qword [rsi + r13*8 + 0x10]
mov rcx, rdi
mov qword [rsp + 0x60], rdx
call fcn.180069410
cmp qword [rsp + 0x60], 0
mov r14d, eax
mov dword [rsp + 0x40], eax
je 0x18002a344
mov rax, qword [rbp + 0x100]
mov rcx, rdi
mov rdx, qword [rax + 0x98]
call fcn.180007400
mov r11, qword [rsp + 0x60]
mov r10, qword [rbp + 0x100]
mov rax, qword [r11 + 0x10]
mov rcx, qword [rax + 0x10]
mov qword [r10 + 0x98], rcx
mov rax, qword [r11 + 0x10]
mov qword [rax + 0x10], r12
jmp 0x18002a34b
mov r9, qword [rbp + 0x100]
mov r8, qword [rsi + r13*8 + 0x10]
mov edx, dword [rsi + r13*8 + 4]
add r9, 0x98
mov rcx, rdi
call fcn.180068e30
jmp 0x18002a33d
mov rax, qword [rbp + 0x100]
mov rcx, rdi
mov byte [rax + 0xa4], 2
mov r8, qword [rsi + r13*8 + 0x10]
mov edx, dword [rsi + r13*8 + 4]
call fcn.180069150
mov r10, qword [rbp + 0x100]
mov byte [r10 + 0xa4], 0
mov r14d, eax
mov dword [rsp + 0x40], eax
jmp 0x18002a34b
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov rax, qword [rsi + r13*8 + 0x10]
mov rcx, qword [rax + 0x10]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x70], rcx
mov rax, qword [rcx]
mov qword [rsp + 0x78], rax
call qword [rax + 0x30]
mov rcx, rdi
mov r14d, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rbp + 0x100]
mov rdx, qword [rax + 0x98]
call fcn.180007400
mov r11, qword [rsp + 0x70]
mov r10, qword [rbp + 0x100]
mov rax, qword [r11 + 0x10]
mov qword [r10 + 0x98], rax
mov qword [r11 + 0x10], r12
test r14d, r14d
jne 0x18002a34b
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
or r9d, 0xffffffff
mov qword [rax], rcx
mov edx, dword [rsi + r13*8 + 4]
xor r8d, r8d
mov rcx, r10
mov dword [rsp + 0x20], r12d
call fcn.180027c50
mov qword [rsp + 0x60], rax
test rax, rax
je 0x18002d363
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x50], rcx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
mov rax, qword [rsp + 0x60]
mov rdx, qword [rcx]
mov qword [rax + 0x58], rdx
jmp 0x18002a344
mov byte [rdi + 0x2a], 1
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
call qword [rax + 0x38]
jmp 0x18002a344
movsxd r8, dword [rsi + r13*8 + 0xc]
mov rbx, qword [rbp + 0x100]
mov rax, qword [rbx + 0x58]
imul r8, r8, 0x38
add r8, qword [rsp + 0x48]
mov qword [rsp + 0x70], r8
lea r9, [r8 + 0x38]
mov qword [rsp + 0x78], r9
movsxd rcx, dword [rsi + r13*8 + 4]
mov rdx, qword [rax + rcx*8]
mov qword [rbp - 0x70], rdx
mov rcx, qword [rdx + 0x50]
mov edx, r12d
mov qword [rbp - 0x80], rcx
mov rax, qword [rcx]
mov qword [rbp - 0x78], rax
mov r10, qword [rax]
mov qword [rsp + 0x68], r10
mov eax, dword [r9]
mov dword [rsp + 0x60], eax
mov r11d, dword [r8]
mov r8, qword [rbx + 0x38]
mov qword [rbp - 0x60], r8
mov dword [rsp + 0x64], r11d
mov dword [rbp - 0x68], r12d
mov dword [rbp - 0x64], edx
test eax, eax
jle 0x18002d43e
nop dword [rax]
lea eax, [rdx + 1]
movsxd rcx, eax
movsxd rax, edx
imul rcx, rcx, 0x38
add rcx, r9
mov qword [r8 + rax*8], rcx
movsxd rax, dword [rbp - 0x64]
mov rcx, qword [rbp - 0x60]
mov rcx, qword [rcx + rax*8]
call fcn.180027c20
mov edx, dword [rbp - 0x64]
mov eax, dword [rsp + 0x60]
mov r8, qword [rbp - 0x60]
inc edx
mov dword [rbp - 0x64], edx
cmp edx, eax
jge 0x18002d430
mov r9, qword [rsp + 0x78]
jmp 0x18002d3f0
mov rcx, qword [rbp - 0x80]
mov r10, qword [rsp + 0x68]
mov r11d, dword [rsp + 0x64]
mov byte [rbx + 0xa4], 1
mov qword [rsp + 0x20], r8
mov r8, qword [rsi + r13*8 + 0x10]
mov r9d, eax
mov edx, r11d
call qword [r10 + 0x40]
mov rdx, qword [rbx + 0x98]
mov rcx, rdi
mov r14d, eax
mov dword [rsp + 0x40], eax
mov byte [rbx + 0xa4], 0
call fcn.180007400
mov r11, qword [rbp - 0x78]
mov r10, qword [rbp + 0x100]
mov rax, qword [r11 + 0x10]
mov qword [r10 + 0x98], rax
mov qword [r11 + 0x10], r12
test r14d, r14d
jne 0x18002d4ad
mov rax, qword [rsp + 0x68]
mov rcx, qword [rbp - 0x80]
call qword [rax + 0x50]
mov r10, qword [rbp + 0x100]
mov dword [rbp - 0x68], eax
jmp 0x18002d4b0
mov eax, dword [rbp - 0x68]
test eax, eax
je 0x18002d4c1
mov eax, dword [rsi + r13*8 + 8]
dec eax
mov dword [rbp + 0x118], eax
mov rax, qword [rbp - 0x70]
mov byte [rax + 0x1c], 0
jmp 0x18002a34b
movsxd rcx, dword [rsi + r13*8 + 4]
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x58]
mov rbx, qword [rax + rcx*8]
movsxd rcx, dword [rsi + r13*8 + 0xc]
imul rcx, rcx, 0x38
add rcx, qword [rsp + 0x48]
mov qword [rsp + 0x70], rcx
cmp byte [rbx + 0x1c], 0
je 0x18002d505
call fcn.1800201b0
jmp 0x18002a344
mov rax, qword [rbx + 0x50]
xor edx, edx
lea rcx, [rsp + 0x78]
mov rax, qword [rax]
lea r8d, [rdx + 0x60]
mov qword [rsp + 0x60], rax
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
call fcn.18008c4a0
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x78]
call fcn.180020580
movzx r11d, word [rbp - 0x54]
mov eax, 0xbf01
and r11w, ax
mov rax, qword [rsp + 0x68]
lea rdx, [rsp + 0x78]
or r11w, 1
mov word [rbp - 0x54], r11w
mov r8d, dword [rsi + r13*8 + 8]
mov rcx, qword [rbx + 0x50]
call qword [rax + 0x58]
mov rbx, qword [rbp + 0x100]
mov rcx, rdi
mov rdx, qword [rbx + 0x98]
mov r14d, eax
call fcn.180007400
mov r11, qword [rsp + 0x60]
movzx ecx, byte [rbp + 0x108]
mov rax, qword [r11 + 0x10]
mov qword [rbx + 0x98], rax
mov qword [r11 + 0x10], r12
mov eax, dword [rbp - 0x38]
test eax, eax
cmovne r14d, eax
test byte [rbp - 0x54], 2
mov dword [rsp + 0x40], r14d
je 0x18002d5c1
movzx eax, byte [rbp - 0x51]
cmp eax, ecx
je 0x18002d5c1
movzx edx, cl
lea rcx, [rbp - 0x78]
call fcn.180009380
mov rcx, qword [rsp + 0x70]
lea rdx, [rbp - 0x78]
call fcn.180020580
mov rcx, qword [rsp + 0x70]
jmp 0x18002d0d8
mov r10, qword [rbp + 0x100]
mov dword [rsp + 0x70], r12d
movsxd rcx, dword [rsi + r13*8 + 4]
mov rax, qword [r10 + 0x58]
mov rdx, qword [rax + rcx*8]
mov qword [rsp + 0x78], rdx
cmp byte [rdx + 0x1c], 0
jne 0x18002a351
mov rax, qword [rdx + 0x50]
mov rcx, qword [rax]
mov qword [rsp + 0x60], rcx
mov rax, qword [rcx]
mov byte [r10 + 0xa4], 1
mov qword [rsp + 0x68], rax
mov rcx, qword [rdx + 0x50]
call qword [rax + 0x48]
mov rcx, rdi
mov r14d, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rbp + 0x100]
mov rdx, qword [rax + 0x98]
mov byte [rax + 0xa4], 0
call fcn.180007400
mov r11, qword [rsp + 0x60]
mov r10, qword [rbp + 0x100]
mov rax, qword [r11 + 0x10]
mov qword [r10 + 0x98], rax
mov qword [r11 + 0x10], r12
test r14d, r14d
jne 0x18002d686
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x50]
call qword [rax + 0x50]
mov r10, qword [rbp + 0x100]
mov dword [rsp + 0x70], eax
jmp 0x18002d68a
mov eax, dword [rsp + 0x70]
test eax, eax
jne 0x18002a34b
mov ecx, dword [rsi + r13*8 + 8]
lea r8d, [rax + 4]
dec ecx
jmp 0x18002a357
mov rax, qword [rsi + r13*8 + 0x10]
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x60], rcx
movsxd rdx, dword [rsi + r13*8 + 4]
imul rdx, rdx, 0x38
add rdx, qword [rsp + 0x48]
mov qword [rsp + 0x68], rdx
mov rax, qword [rcx]
mov rdx, qword [rdx + 0x18]
call qword [rax + 0x98]
mov rcx, rdi
mov r14d, eax
mov dword [rsp + 0x40], eax
mov rax, qword [rbp + 0x100]
mov rdx, qword [rax + 0x98]
call fcn.180007400
mov r11, qword [rsp + 0x60]
mov r10, qword [rbp + 0x100]
mov rax, qword [r11 + 0x10]
mov qword [r10 + 0x98], rax
mov qword [r11 + 0x10], r12
jmp 0x18002a34b
mov rax, qword [rsi + r13*8 + 0x10]
mov r10, qword [rax + 0x10]
mov qword [rsp + 0x60], r10
mov rax, qword [r10]
mov qword [rsp + 0x68], rax
mov edx, dword [rsi + r13*8 + 8]
mov dword [rsp + 0x70], edx
cmp qword [rax + 0x68], 0
je case.0x1800280e9.17
mov rbx, qword [rbp + 0x100]
mov r8, qword [rbx + 0x38]
mov qword [rbp - 0x80], r8
movsxd rcx, dword [rsi + r13*8 + 0xc]
mov dword [rsp + 0x74], r12d
imul rcx, rcx, 0x38
add rcx, qword [rsp + 0x48]
mov qword [rbp - 0x78], rcx
test edx, edx
jle 0x18002d7a3
call fcn.180027c20
movsxd rdx, dword [rsp + 0x74]
mov rax, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
mov qword [rcx + rdx*8], rax
mov eax, dword [rsp + 0x74]
mov rcx, qword [rbp - 0x78]
mov edx, dword [rsp + 0x70]
inc eax
add rcx, 0x38
mov qword [rbp - 0x78], rcx
mov dword [rsp + 0x74], eax
cmp eax, edx
jl 0x18002d761
mov r8, qword [rbp - 0x80]
mov rax, qword [rsp + 0x68]
mov r10, qword [rsp + 0x60]
lea r9, [rsp + 0x78]
mov rcx, r10
call qword [rax + 0x68]
mov rdx, qword [rbx + 0x98]
mov rcx, rdi
mov r14d, eax
mov dword [rsp + 0x40], eax
call fcn.180007400
mov r11, qword [rsp + 0x60]
mov r10, qword [rbp + 0x100]
mov rax, qword [r11 + 0x10]
mov qword [r10 + 0x98], rax
mov qword [r11 + 0x10], r12
test r14d, r14d
jne 0x18002d7f4
cmp dword [rsi + r13*8 + 4], r14d
je 0x18002d7f4
mov rax, qword [rsp + 0x78]
mov qword [rdi + 0x40], rax
inc dword [r10 + 0xa8]
jmp 0x18002a34b
movsxd rax, dword [rsi + r13*8 + 4]
mov dword [rsp + 0x60], eax
mov rcx, rax
mov rax, qword [rdi + 0x10]
shl rcx, 5
mov rcx, qword [rcx + rax + 8]
mov rax, qword [rcx + 8]
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
mov r14d, dword [rcx + 0x28]
mov dword [rsp + 0x40], r14d
test r14d, r14d
jne case.0x1800280e9.17
lea rdx, [rsp + 0x64]
call fcn.1800113b0
mov r8d, 4
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne case.0x1800280e9.17
movsxd rax, dword [rsp + 0x64]
mov r10, qword [rbp + 0x100]
mov qword [r15], rax
jmp 0x18002a351
mov rdx, qword [rsi + r13*8 + 0x10]
mov r10, qword [rbp + 0x100]
test rdx, rdx
jne 0x18002d882
mov rdx, qword [r10 + 0x120]
mov qword [rsp + 0x60], rdx
test rdx, rdx
je 0x18002a351
cmp qword [rdi + 0xb8], 0
je 0x18002a351
mov rcx, r10
call fcn.180027750
mov rcx, qword [rdi + 0xc0]
mov rdx, rax
mov rbx, rax
call qword [rdi + 0xb8]
mov rdx, rbx
mov rcx, rdi
call fcn.180007400
jmp 0x18002a344
mov r14d, 9
jmp 0x180028940
mov eax, dword [rsi + r13*8 + 4]
mov dword [r10 + 0x90], eax
movzx eax, byte [rsi + r13*8 + 8]
mov byte [r10 + 0x60], al
mov eax, dword [rbp + 0x118]
mov dword [r10 + 0x8c], eax
mov r9, qword [rsi + r13*8 + 0x10]
test r9, r9
je 0x18002d91e
lea rcx, [r10 + 0x98]
lea r8, [0x18009b86c]
mov rdx, rdi
call fcn.180007950
mov r10, qword [rbp + 0x100]
mov rcx, r10
call fcn.1800239d0
mov r10, qword [rbp + 0x100]
cmp eax, 5
je 0x18002db1a
cmp dword [r10 + 0x90], 0
mov ebx, 0x65
mov eax, 1
cmovne ebx, eax
jmp 0x180028982
mov eax, dword [r10 + 0x88]
mov rbx, qword [rbp + 0x70]
add eax, 2
or eax, 1
mov dword [r10 + 0x88], eax
movsxd rdx, dword [rbx + r13*8 + 4]
mov dword [rsp + 0x68], r12d
imul rdx, rdx, 0x38
add rdx, qword [rsp + 0x48]
mov qword [r10 + 0x48], rdx
mov qword [rsp + 0x60], rdx
cmp dword [rbx + r13*8 + 8], 0
jle 0x18002d9d4
nop dword [rax]
movsxd rcx, r12d
imul rcx, rcx, 0x38
add rcx, rdx
call fcn.18001fbc0
movsxd rcx, dword [rsp + 0x68]
imul rcx, rcx, 0x38
add rcx, qword [rsp + 0x60]
call fcn.180027c20
mov r12d, dword [rsp + 0x68]
inc r12d
mov dword [rsp + 0x68], r12d
cmp r12d, dword [rbx + r13*8 + 8]
jge 0x18002d9cd
mov rdx, qword [rsp + 0x60]
jmp 0x18002d990
mov r10, qword [rbp + 0x100]
cmp byte [rdi + 0x2a], 0
jne 0x180028920
mov eax, dword [rbp + 0x118]
mov ebx, 0x64
inc eax
mov dword [r10 + 0x8c], eax
jmp 0x180028982
movzx eax, word [rbp - 0x5c]
mov ecx, 0x2460
test cx, ax
je 0x18002da91
mov ecx, 0x2000
test cx, ax
je 0x18002da2b
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.18001fd00
lea rcx, [rbp - 0x80]
call fcn.18001fea0
jmp 0x18002da91
mov ecx, 0x400
test cx, ax
je 0x18002da4a
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x18002da4a
mov rcx, qword [rbp - 0x68]
call rax
mov qword [rbp - 0x58], r12
jmp 0x18002da91
movzx eax, byte [rbp - 0x5c]
test al, 0x20
je 0x18002da5d
mov rcx, qword [rbp - 0x80]
call fcn.18000eb70
jmp 0x18002da91
test al, 0x40
je 0x18002da91
mov rcx, qword [rbp - 0x80]
call fcn.180022560
test byte [rbp - 0x5c], 0x20
je 0x18002da79
mov rcx, qword [rbp - 0x80]
call fcn.18000eb70
movzx eax, word [rbp - 0x5c]
mov ecx, 0xbf01
mov byte [rbp - 0x5a], 5
and ax, cx
or ax, 1
mov word [rbp - 0x5c], ax
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x50]
test rcx, rcx
je 0x18002dadd
test rdx, rdx
je 0x18002dadd
cmp rdx, qword [rcx + 0x158]
jb 0x18002dadd
cmp rdx, qword [rcx + 0x160]
jae 0x18002dadd
mov rax, qword [rcx + 0x150]
mov qword [rdx], rax
dec dword [rcx + 0x144]
mov qword [rcx + 0x150], rdx
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x58], r12
jmp 0x180028919
mov rcx, rdx
call sym.sqlite3.dll_sqlite3_free
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x58], r12
jmp 0x180028919
mov r14d, 0x14
jmp 0x18002dc3c
mov r10, qword [rbp + 0x100]
mov eax, dword [rbp + 0x118]
mov dword [r10 + 0x8c], eax
mov byte [r13 + 0x28], 0
mov eax, 5
mov ebx, eax
mov dword [r10 + 0x90], eax
jmp 0x180028982
lea rcx, [rbx + 0x98]
lea r8, str.foreign_key_constraint_failed
mov dword [rbx + 0x90], 0x13
mov byte [rbx + 0x60], 2
call fcn.180007950
mov ebx, esi
jmp 0x18002897b
test ecx, ecx
je 0x18002db90
mov rcx, rdi
call fcn.1800747a0
mov byte [rdi + 0x28], 1
mov rcx, rdi
call fcn.180073ea0
mov r10, qword [rbp + 0x100]
mov ebx, 0x65
cmp dword [r10 + 0x90], 0
mov eax, 1
cmove eax, ebx
mov ebx, eax
jmp 0x180028982
mov rcx, qword [rbp + 0x100]
mov rdx, qword [rcx]
cmp qword [rdx + 0x310], 0
jle 0x18002dbca
mov dword [rcx + 0x90], 0x13
mov byte [rcx + 0x60], 2
lea r8, str.foreign_key_constraint_failed
add rcx, 0x98
call fcn.180007950
jmp 0x18002897b
movzx eax, byte [rsp + 0x60]
mov byte [rdi + 0x28], al
call fcn.1800239d0
cmp eax, 5
jne 0x18002db65
mov r10, qword [rbp + 0x100]
mov eax, dword [rbp + 0x118]
sub bl, byte [rsp + 0x60]
mov dword [r10 + 0x8c], eax
mov eax, 5
mov byte [rdi + 0x28], bl
mov ebx, eax
mov dword [r10 + 0x90], eax
jmp 0x180028982
mov r10, qword [rbp + 0x100]
mov eax, dword [rbp + 0x118]
mov dword [r10 + 0x8c], eax
mov eax, 5
mov ebx, eax
mov dword [r10 + 0x90], eax
jmp 0x180028982
mov r14d, 0xb
jmp 0x18002dc3c
mov rdi, r13
mov rbx, qword [rbp + 0x100]
cmp byte [rdi + 0x2a], 0
je 0x18002dc51
mov r14d, 7
jmp 0x18002dc5e
cmp r14d, 0xc0a
je 0x180028940
mov ecx, r14d
call fcn.1800748a0
lea rcx, [rbx + 0x98]
lea r8, [0x18009b86c]
mov r9, rax
mov rdx, rdi
call fcn.180007950
jmp 0x180028940
mov rdi, rdx
mov r10, qword [rbp + 0x100]
lea rcx, [r10 + 0x98]
lea r8, str.string_or_blob_too_big
mov rdx, rdi
call fcn.180007950
mov r14d, 0x12
jmp 0x180028940
mov r10, qword [rbp + 0x100]
mov r14d, 9
lea r9, str.unknown_error
lea rcx, [r10 + 0x98]
mov dword [r10 + 0x90], r14d
mov rax, qword [str.interrupted]
lea r8, [0x18009b86c]
test rax, rax
mov rdx, rdi
cmovne r9, rax
call fcn.180007950
jmp 0x180028940
mov rdi, rdx
jmp 0x180028919