Function at 0x18003751c
Capabilities:
Encrypt data using speck
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x228
mov r14, qword [rcx + 0x88]
mov r11, rcx
xor ecx, ecx
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
mov rdi, r14
mov qword [rsp + 0x38], r14
mov bl, cl
mov r15, qword [r11]
mov r9d, ecx
mov r12, qword [r11 + 0x68]
lea eax, [rcx + 7]
lea r13d, [rcx + 1]
mov dword [rsp + 0x34], ecx
mov edx, ecx
mov qword [rsp + 0x48], r15
mov sil, byte [r15 + 0x5e]
mov byte [rbp + 0x180], sil
mov byte [rbp + 0x178], cl
mov dword [rsp + 0x30], ecx
mov dword [rbp - 0x5c], ecx
mov qword [rsp + 0x40], r12
cmp dword [r11 + 0x38], eax
je 0x18003d020
mov qword [r11 + 0x48], rcx
mov qword [r11 + 0xa0], rcx
mov eax, dword [r15 + 0x160]
mov dword [r15 + 0x228], ecx
test eax, eax
jne 0x180037cc6
movsxd rax, dword [r11 + 0x34]
lea r10d, [r13 + 1]
lea r8d, [r13 + 3]
xorps xmm7, xmm7
lea rcx, [rax + rax*2]
lea eax, [r13 + 4]
lea rdi, [r14 + rcx*8]
lea ecx, [rax + 3]
movzx ebx, byte [rdi]
add edx, r13d
mov qword [rbp - 0x80], rdi
mov dword [rbp - 0x5c], edx
cmp ebx, 0x52
ja 0x180039b27
je 0x180039af7
cmp ebx, 0x29
ja 0x180038b3b
je 0x180038aef
cmp ebx, 0x14
ja 0x180038407
je 0x1800383e0
cmp ebx, 0xa
ja 0x180038156
je 0x180038046
cmp ebx, eax
ja 0x180037d05
je 0x180037656
xor eax, eax
test ebx, ebx
je 0x180037818
sub ebx, 1
je 0x18003cccc
sub ebx, 1
je 0x1800376b4
sub ebx, 1
je 0x18003769b
cmp ebx, 1
jne 0x180037801
movsxd rcx, dword [rdi + 4]
mov rax, qword [r11 + 0x78]
mov edx, dword [rdi + 0xc]
mov rbx, qword [rax + rcx*8]
mov rcx, qword [rbx + 0x38]
call qword [rdi + 0x10]
mov dword [rsp + 0x34], eax
xor r12d, r12d
mov dword [rbx + 0x28], r12d
test eax, eax
jne 0x180037c98
mov r11, qword [rbp + 0x170]
mov byte [rbx + 2], r12b
movzx eax, word [rdi + 2]
add dword [r11 + rax*4 + 0xd4], r13d
jmp 0x180039182
movsxd rcx, dword [rdi + 4]
mov rax, qword [r11 + 0x78]
mov rbx, qword [rax + rcx*8]
mov rcx, r15
mov rdx, rbx
call fcn.18003f480
jmp 0x18003766c
mov edx, dword [rdi + 8]
mov dword [rbp + 0x188], eax
test edx, edx
je 0x1800376d0
mov eax, dword [r15 + 0x30]
bt rax, 0x14
jb 0x18003cc16
movsxd rcx, dword [rdi + 4]
mov rax, qword [r15 + 0x20]
shl rcx, 5
mov rbx, qword [rcx + rax + 8]
test rbx, rbx
je 0x180037812
lea r8, [rbp + 0x188]
mov rcx, rbx
call fcn.180027ca0
xor ecx, ecx
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x18003cc1d
mov r11, qword [rbp + 0x170]
cmp dword [rdi + 8], ecx
je 0x1800377ad
mov edx, 0x80
test byte [r11 + 0xc8], dl
je 0x1800377ad
cmp byte [r15 + 0x5f], cl
je 0x180037738
cmp dword [r15 + 0xcc], r13d
jle 0x1800377ad
mov r8d, dword [r11 + 0x40]
test r8d, r8d
jne 0x18003775a
add dword [r15 + 0x280], r13d
mov r8d, dword [r15 + 0x27c]
add r8d, dword [r15 + 0x280]
mov dword [r11 + 0x40], r8d
dec r8d
xor edx, edx
mov rcx, r15
call fcn.18006f368
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x18003778c
mov r12, qword [rbp + 0x170]
mov rcx, rbx
mov edx, dword [r12 + 0x40]
call fcn.180028bf8
mov r12, qword [rsp + 0x40]
mov dword [rsp + 0x34], eax
mov rax, qword [r15 + 0x288]
mov r11, qword [rbp + 0x170]
mov qword [r11 + 0x58], rax
mov rax, qword [r15 + 0x290]
mov qword [r11 + 0x60], rax
mov eax, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x30]
mov r10d, 2
lea r8d, [r10 + 2]
xor ebx, ebx
cmp word [rdi + 2], bx
je 0x1800377f4
mov eax, dword [rdi + 0xc]
cmp dword [rbp + 0x188], eax
jne 0x18003cc59
mov rax, qword [r15 + 0x20]
movsxd rcx, dword [rdi + 4]
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
mov eax, dword [rdi + 0x10]
cmp dword [rcx + 4], eax
jne 0x18003cc59
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x180037963
mov ecx, 8
mov eax, 5
mov edx, dword [rbp - 0x5c]
add rdi, 0x18
jmp 0x1800375dd
mov eax, dword [rsp + 0x34]
jmp 0x1800377bc
mov r13d, dword [rdi + 4]
mov r14, qword [rdi + 0x10]
test r13d, r13d
jne 0x180037910
cmp dword [r15 + 0xd0], eax
jg 0x18003cdcd
test r14, r14
jne 0x18003783f
mov ebx, eax
jmp 0x180037852
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [r14 + rbx], al
jne 0x180037843
and ebx, 0x3fffffff
mov r8d, dword [r15 + 0x280]
xor edx, edx
add r8d, dword [r15 + 0x27c]
mov rcx, r15
call fcn.18006f368
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
mov edx, ebx
mov rcx, r15
add rdx, 0x21
call fcn.180016cbc
mov rsi, rax
test rax, rax
je 0x1800378e1
lea rcx, [rax + 0x20]
mov rdx, r14
lea r8d, [rbx + 1]
mov qword [rax], rcx
call fcn.1800c58e0
xor ebx, ebx
cmp byte [r15 + 0x5f], bl
je 0x1800378b2
mov byte [r15 + 0x5f], bl
mov byte [r15 + 0x67], 1
jmp 0x1800378b9
inc dword [r15 + 0x27c]
mov rax, qword [r15 + 0x270]
mov qword [rsi + 0x18], rax
mov rax, qword [r15 + 0x288]
mov qword [r15 + 0x270], rsi
mov qword [rsi + 8], rax
mov rax, qword [r15 + 0x290]
mov qword [rsi + 0x10], rax
mov r13d, 1
mov r11, qword [rbp + 0x170]
mov r14, qword [rsp + 0x38]
mov sil, byte [rbp + 0x180]
mov r9d, dword [rsp + 0x30]
mov r8d, 4
mov r10d, 2
jmp 0x1800377fc
mov r10, qword [rsp + 0x48]
mov r15d, eax
mov rsi, qword [r10 + 0x270]
test rsi, rsi
je 0x18003794c
xor ebx, ebx
mov rcx, qword [rsi]
mov rdx, r14
call fcn.1800193a8
test eax, eax
je 0x180037a38
mov rsi, qword [rsi + 0x18]
inc r15d
test rsi, rsi
jne 0x180037926
mov r11, qword [rbp + 0x170]
mov r8, r14
lea rdx, str.no_such_savepoint:__s
mov rcx, r11
call fcn.1800317b8
mov eax, 1
mov r12, qword [rbp + 0x170]
mov bl, byte [rbp + 0x178]
mov ecx, 7
mov r13, qword [rsp + 0x48]
xor r14d, r14d
mov esi, 0xc0a
cmp byte [r13 + 0x61], r14b
cmovne eax, ecx
mov dword [rsp + 0x34], eax
cmp qword [r12 + 0xa8], r14
jne 0x1800379b8
cmp eax, esi
je 0x1800379b8
mov ecx, eax
call fcn.180081a90
mov r8, rax
lea rdx, [0x18010f990]
mov rcx, r12
call fcn.1800317b8
mov eax, dword [rsp + 0x34]
mov edx, eax
mov dword [r12 + 0x38], eax
mov rcx, r13
call fcn.1800191e0
mov rax, qword [r12 + 0xa8]
lea rdx, str.statement_aborts_at__d:___s___s
sub rdi, qword [rsp + 0x38]
movabs r8, 0xaaaaaaaaaaaaaaab
mov r9, qword [r12 + 0xf0]
mov ecx, dword [rsp + 0x34]
sar rdi, 3
imul r8, rdi
mov qword [rsp + 0x20], rax
call fcn.1800188e8
mov rcx, r12
call fcn.180033be0
cmp dword [rsp + 0x34], esi
jne 0x180037a19
mov rcx, r13
call fcn.180016f84
mov edi, 1
test bl, bl
je 0x18003d037
movzx edx, bl
mov rcx, r13
dec edx
call fcn.18004d4b4
jmp 0x18003d037
mov r9, qword [rsp + 0x48]
mov ecx, 1
cmp dword [r9 + 0xd0], ebx
jle 0x180037a54
cmp r13d, ecx
je 0x18003cdd9
lea r14, [rsi + 0x18]
mov qword [rbp - 0x80], r14
cmp qword [r14], rbx
jne 0x180037ac9
cmp byte [r9 + 0x67], bl
je 0x180037ac9
mov dword [rbp + 0x188], ecx
mov ebx, ecx
cmp r13d, ecx
jne 0x180037ad1
mov r12, qword [rbp + 0x170]
mov edx, ecx
mov rcx, r12
call fcn.180033b90
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x18003d033
mov r10, qword [rsp + 0x48]
mov rcx, r12
mov byte [r10 + 0x5f], 1
call fcn.180033be0
mov edx, 5
cmp eax, edx
je 0x18003cdf9
mov r9, qword [rsp + 0x48]
xor eax, eax
mov byte [r9 + 0x67], al
mov ecx, dword [r12 + 0x38]
mov dword [rsp + 0x34], ecx
jmp 0x180037bce
mov dword [rbp + 0x188], ebx
jmp 0x180037ad3
xor ebx, ebx
mov eax, dword [r9 + 0x27c]
mov edx, 2
sub eax, r15d
mov r15d, eax
mov eax, dword [r9 + 0x28]
sub r15d, ecx
mov dword [rbp - 0x78], r15d
cmp r13d, edx
jne 0x180037b4b
mov r12d, dword [r9 + 0x2c]
mov r15d, ebx
and r12d, ecx
test eax, eax
jle 0x180037b45
mov r14d, r12d
xor r14d, ecx
mov rcx, qword [r9 + 0x20]
mov r8d, r14d
mov edx, 0x204
mov rcx, qword [rbx + rcx + 8]
call fcn.180028a38
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
mov r9, qword [rsp + 0x48]
lea ecx, [rax + 1]
add r15d, ecx
add rbx, 0x20
mov eax, dword [r9 + 0x28]
cmp r15d, eax
jl 0x180037b09
xor ebx, ebx
mov r15d, dword [rbp - 0x78]
jmp 0x180037b4e
mov r12d, ebx
mov r14d, ebx
test eax, eax
jle 0x180037b8a
mov rcx, qword [r9 + 0x20]
mov r8d, r15d
mov edx, r13d
mov rcx, qword [rbx + rcx + 8]
call fcn.180028c1c
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
mov r9, qword [rsp + 0x48]
lea ecx, [rax + 1]
add r14d, ecx
add rbx, 0x20
cmp r14d, dword [r9 + 0x28]
jl 0x180037b55
test r12d, r12d
je 0x180037bbd
mov rax, qword [r9 + 8]
jmp 0x180037ba6
and dword [rax + 0xc8], 0xfffffffd
or dword [rax + 0xc8], ecx
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x180037b95
mov rcx, r9
call fcn.18004d530
mov r9, qword [rsp + 0x48]
or dword [r9 + 0x2c], 1
mov r12, qword [rbp + 0x170]
mov r14, qword [rbp - 0x80]
mov ebx, dword [rbp + 0x188]
mov rcx, qword [r9 + 0x270]
jmp 0x180037c00
mov rax, qword [rcx + 0x18]
mov rdx, rcx
mov rcx, r9
mov qword [r9 + 0x270], rax
call fcn.180016a48
mov r9, qword [rsp + 0x48]
mov rcx, qword [r9 + 0x270]
dec dword [r9 + 0x27c]
cmp rcx, rsi
jne 0x180037bd7
cmp r13d, 1
jne 0x180037c32
mov rax, qword [r14]
mov rdx, rsi
mov rcx, r9
mov qword [r9 + 0x270], rax
call fcn.180016a48
test ebx, ebx
jne 0x180037c72
mov r9, qword [rsp + 0x48]
dec dword [r9 + 0x27c]
jmp 0x180037c56
mov rax, qword [rsi + 8]
mov qword [r9 + 0x288], rax
mov rax, qword [rsi + 0x10]
mov qword [r9 + 0x290], rax
test ebx, ebx
je 0x180037c56
mov eax, 2
cmp r13d, eax
jne 0x180037c72
mov r8d, r15d
mov edx, r13d
mov rcx, r9
call fcn.18006f368
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x18003796a
jmp 0x180037c76
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x18003796a
lea r13d, [rax + 1]
mov r11, qword [rbp + 0x170]
mov r15, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
jmp 0x1800378ee
cmp eax, 0x65
jne 0x180037963
mov dword [rsp + 0x34], r12d
mov byte [rbx + 2], r13b
mov r11, qword [rbp + 0x170]
mov eax, dword [r15 + 0x160]
test eax, eax
je 0x18003810d
mov bl, byte [rbp + 0x178]
mov al, byte [r15 + 0x61]
neg al
sbb eax, eax
and eax, 0xfffffffe
add eax, 9
mov ecx, eax
mov dword [rsp + 0x34], eax
mov dword [r11 + 0x38], eax
call fcn.180081a90
mov r12, qword [rbp + 0x170]
lea rdx, [0x18010f990]
mov rcx, r12
mov r8, rax
call fcn.1800317b8
mov eax, dword [rsp + 0x34]
jmp 0x180037970
sub ebx, 6
je 0x180037fcd
sub ebx, 1
je 0x180037e3c
sub ebx, 1
je 0x180037dfa
cmp ebx, 1
jne 0x180037801
movsxd rax, dword [rdi + 0xc]
lea r10, [r12 + 0x38]
movsxd rcx, dword [rdi + 4]
mov rsi, qword [r11 + 0x70]
imul rdx, rax, 0x38
mov rax, qword [r11 + 0x78]
add r10, rdx
mov r13, qword [rax + rcx*8]
xor eax, eax
movsxd r9, dword [r10]
mov r12d, dword [rdx + r12]
mov edx, eax
mov qword [rbp + 0x188], r13
mov rbx, qword [r13 + 0x38]
mov r15, qword [rbx]
mov r14, qword [r15]
test r9d, r9d
jle 0x180037d91
lea r13d, [rax + 1]
mov r8d, r13d
movsxd rax, r8d
add r8d, r13d
imul rcx, rax, 0x38
add rcx, r10
mov qword [rsi + rdx*8], rcx
add rdx, r13
cmp rdx, r9
jl 0x180037d71
mov r13, qword [rbp + 0x188]
mov r8, qword [rdi + 0x10]
mov edx, r12d
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call qword [r14 + 0x40]
mov r12, qword [rbp + 0x170]
mov rdx, r15
mov rcx, r12
mov dword [rsp + 0x34], eax
call fcn.1800354e0
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x18003796a
mov rcx, rbx
call qword [r14 + 0x50]
mov r12, qword [rsp + 0x40]
xor ebx, ebx
mov r14, qword [rsp + 0x38]
mov byte [r13 + 2], bl
lea r13d, [rbx + 1]
test eax, eax
jne 0x18003831d
mov r11, qword [rbp + 0x170]
mov r15, qword [rsp + 0x48]
jmp 0x1800378f3
xor ebx, ebx
cmp dword [rdi + 8], ebx
je 0x180037e0e
movsxd rax, dword [rdi + 8]
imul r9, rax, 0x38
add r9, r12
jmp 0x180037e11
mov r9, rbx
mov r8d, dword [rdi + 4]
lea rcx, [r11 + 0xa8]
mov rdx, r15
call fcn.18006dd4c
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
mov r11, qword [rbp + 0x170]
jmp 0x1800378fa
mov rdx, rdi
mov rcx, r11
call fcn.1800374f0
mov r10, qword [rsp + 0x48]
mov r15, rax
movsxd rcx, dword [rdi + 4]
mov ebx, dword [rdi + 0xc]
shl rcx, 5
mov rax, qword [r10 + 0x20]
mov r12, qword [rcx + rax + 8]
mov rcx, r12
call fcn.18002e888
mov rcx, rax
mov r14, rax
call fcn.180022c88
cmp ebx, 0xffffffff
mov rcx, r14
mov esi, eax
cmove ebx, eax
call fcn.180022c90
test eax, eax
mov edx, r13d
mov rcx, r14
cmove ebx, esi
call fcn.1800229e8
mov edx, 5
cmp ebx, edx
jne 0x180037f30
mov rcx, rax
call fcn.180019174
test eax, eax
je 0x180037ebd
mov rcx, r14
call fcn.180022cb0
xor ecx, ecx
test eax, eax
jne 0x180037f34
mov ebx, esi
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x180037ec9
mov ebx, esi
mov edx, ebx
mov rcx, r14
call fcn.180022b74
mov ecx, 0xa02
mov word [r15 + 8], cx
mov ecx, eax
call fcn.18005d684
mov rcx, rax
mov qword [r15 + 0x10], rax
call fcn.180019174
movzx esi, byte [rbp + 0x180]
mov rcx, r15
mov edx, esi
mov dword [r15 + 0xc], eax
mov byte [r15 + 0xa], r13b
call fcn.180030160
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x180037963
mov r15, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
mov r11, qword [rbp + 0x170]
mov r14, qword [rsp + 0x38]
jmp 0x1800378fa
xor ecx, ecx
jmp 0x180037f39
mov edx, 5
cmp ebx, esi
je 0x180037ebf
cmp esi, edx
je 0x180037f49
cmp ebx, edx
jne 0x180037ebf
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x5f], cl
je 0x18003ce2b
cmp dword [rax + 0xcc], r13d
jg 0x18003ce2b
cmp esi, edx
jne 0x180037f8d
mov rdx, rax
mov rcx, r14
call fcn.180022dd0
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037ec7
mov edx, ebx
mov rcx, r14
call fcn.180022b74
xor ecx, ecx
jmp 0x180037fad
mov eax, 4
cmp esi, eax
jne 0x180037fa3
lea edx, [rax - 2]
mov rcx, r14
call fcn.180022b74
xor ecx, ecx
cmp dword [rsp + 0x34], ecx
jne 0x180037ec7
mov edx, ecx
mov ecx, 5
cmp ebx, ecx
mov rcx, r12
sete dl
add edx, r13d
call fcn.18002f70c
mov dword [rsp + 0x34], eax
jmp 0x180037ec3
mov r8d, dword [rdi + 8]
lea rax, [rbp + 8]
mov edx, dword [rdi + 4]
lea r9, [rbp + 4]
or dword [rbp + 8], 0xffffffff
xor ebx, ebx
or dword [rbp + 4], 0xffffffff
mov rcx, r15
mov dword [rbp], ebx
mov qword [rsp + 0x20], rax
call fcn.18008249c
mov dword [rsp + 0x34], eax
test eax, eax
je 0x180038011
lea ecx, [rbx + 5]
cmp eax, ecx
jne 0x180037963
mov dword [rsp + 0x34], ebx
mov dword [rbp], r13d
movsxd rax, dword [rdi + 0xc]
imul rbx, rax, 0x38
add rbx, r12
xor eax, eax
mov esi, eax
movsxd rdx, dword [rbp + rsi*4]
mov rcx, rbx
call fcn.180030ad0
add rsi, r13
add rbx, 0x38
cmp rsi, 3
jl 0x180038020
mov r11, qword [rbp + 0x170]
jmp 0x1800378f3
xor eax, eax
cmp byte [r15 + 0x61], al
jne 0x18003d014
mov rax, qword [rdi + 0x10]
mov rbx, qword [rax + 0x10]
xor eax, eax
test rbx, rbx
je 0x18003ce80
mov r10, qword [rbx]
test r10, r10
je 0x18003ce80
movsxd r11, dword [rdi + 8]
cmp qword [r10 + 0x68], rax
je 0x18003cbef
movsxd rax, dword [rdi + 0xc]
xor r9d, r9d
mov r12, qword [rbp + 0x170]
mov sil, byte [r15 + 0x66]
imul rcx, rax, 0x38
mov r8, qword [r12 + 0x70]
mov eax, r9d
add rcx, qword [rsp + 0x40]
test r11d, r11d
jle 0x1800380b7
mov qword [r8 + rax*8], rcx
add rcx, 0x38
add rax, r13
cmp rax, r11
jl 0x1800380a7
mov al, byte [rdi + 2]
lea r9, [rbp + 0x40]
mov edx, r11d
mov byte [r15 + 0x66], al
mov rcx, rbx
call qword [r10 + 0x68]
mov rdx, rbx
mov byte [r15 + 0x66], sil
mov rcx, r12
mov dword [rsp + 0x34], eax
call fcn.1800354e0
mov eax, dword [rsp + 0x34]
xor ebx, ebx
test eax, eax
jne 0x180038117
cmp dword [rdi + 4], ebx
je 0x1800380fa
mov rax, qword [rbp + 0x40]
mov qword [r15 + 0x38], rax
mov eax, dword [rsp + 0x34]
mov r11, qword [rbp + 0x170]
add dword [r11 + 0x3c], r13d
test eax, eax
jne 0x180037963
mov r12, qword [rsp + 0x40]
jmp 0x1800378f3
cmp al, 0x13
jne 0x1800380fa
mov rax, qword [rdi + 0x10]
cmp byte [rax + 0x1c], bl
je 0x1800380f6
mov r8d, 4
cmp word [rdi + 2], r8w
jne 0x18003ce63
mov r12, qword [rsp + 0x40]
mov dword [rsp + 0x34], ebx
mov sil, byte [rbp + 0x180]
mov r11, qword [rbp + 0x170]
mov r9d, dword [rsp + 0x30]
jmp 0x180037905
sub ebx, 0xb
je 0x180039182
sub ebx, 1
je 0x1800383b3
sub ebx, 1
je 0x180038389
sub ebx, 1
je 0x180038353
sub ebx, 1
je 0x1800382e2
sub ebx, 1
je 0x1800382bc
sub ebx, 1
je 0x180038245
sub ebx, 1
je 0x180038225
cmp ebx, 1
jne 0x180037801
movsxd rax, dword [rdi + 4]
imul rcx, rax, 0x38
movsxd rax, dword [rdi + 8]
imul rbx, rax, 0x38
add rcx, r12
add rbx, r12
test byte [rcx + 8], r13b
jne 0x180038203
xor edx, edx
call fcn.1800307c4
xor r9d, r9d
test eax, eax
mov ecx, r9d
mov eax, 0x2400
sete cl
test word [rbx + 8], ax
je 0x1800381f0
mov rdx, rcx
mov rcx, rbx
call fcn.180030a98
jmp 0x180037e30
mov r8d, 4
mov qword [rbx], rcx
mov word [rbx + 8], r8w
jmp 0x180038145
mov eax, 0x2400
test word [rbx + 8], ax
je 0x18003821b
mov rcx, rbx
call fcn.180030648
jmp 0x180037e30
mov word [rbx + 8], r13w
jmp 0x1800377fc
movsxd rax, dword [rdi + 4]
mov edx, dword [rdi + 0xc]
imul rcx, rax, 0x38
add rcx, r12
call fcn.1800307c4
test eax, eax
jne 0x18003831d
jmp 0x180037e30
mov rcx, qword [r11 + 0x100]
test rcx, rcx
je 0x18003829e
mov r8, qword [rcx + 0x30]
movabs rdx, 0xaaaaaaaaaaaaaaab
mov rax, rdi
sub rax, qword [r11 + 0x88]
sar rax, 3
imul rax, rdx
mov edx, eax
and eax, 7
shr rdx, 3
movzx ecx, byte [rdx + r8]
bt ecx, eax
jb 0x18003910a
bts ecx, eax
mov byte [rdx + r8], cl
mov r8d, 4
mov rcx, qword [r11 + 0x88]
jmp 0x1800382b1
mov rcx, qword [r11 + 0x88]
mov eax, dword [rdi + 4]
cmp dword [rcx + 4], eax
je 0x18003910a
mov eax, dword [rcx + 4]
mov dword [rdi + 4], eax
jmp 0x1800377fc
test r9d, r9d
jns 0x1800382d6
mov eax, dword [rdi + 4]
sub eax, r13d
cdqe
lea rcx, [rax + rax*2]
lea rdi, [r14 + rcx*8]
jmp 0x1800377fc
jne 0x1800382dd
mov eax, dword [rdi + 8]
jmp 0x1800382c4
mov eax, dword [rdi + 0xc]
jmp 0x1800382c4
movsxd rax, dword [rdi + 4]
imul rbx, rax, 0x38
add rbx, r12
movzx eax, word [rbx + 8]
test r8b, al
jne 0x18003833e
mov r8b, sil
mov dl, 0x43
mov rcx, rbx
call fcn.18003732c
movzx eax, word [rbx + 8]
mov r8d, 4
test r8b, al
jne 0x180038329
xor eax, eax
cmp dword [rdi + 8], eax
je 0x18003ce8a
mov r11, qword [rbp + 0x170]
jmp 0x18003910a
mov r11, qword [rbp + 0x170]
mov ecx, 8
mov r9d, dword [rsp + 0x30]
lea r10d, [rcx - 6]
mov edx, 0x3e40
and ax, dx
or ax, r8w
mov word [rbx + 8], ax
jmp 0x180037801
movsxd rax, dword [rdi + 4]
sub rdi, r14
imul rdx, rax, 0x38
sar rdi, 3
movabs rax, 0xaaaaaaaaaaaaaaab
imul rax, rdi
movsxd rcx, dword [rdx + r12]
cdqe
mov word [rdx + r12 + 8], r8w
mov qword [rdx + r12], rax
lea rcx, [rcx + rcx*2]
jmp 0x1800382cd
movsxd rax, dword [rdi + 4]
imul rcx, rax, 0x38
mov eax, dword [rdi + 0xc]
sub eax, r13d
cdqe
mov qword [rcx + r12], rax
xor eax, eax
mov word [rcx + r12 + 8], r8w
cmp dword [rdi + 8], eax
jne 0x18003831d
jmp 0x1800377fc
movsxd rax, dword [rdi + 4]
movabs rdx, 0xaaaaaaaaaaaaaaab
imul rcx, rax, 0x38
mov rax, rdi
sub rax, r14
sar rax, 3
imul rax, rdx
mov word [rcx + r12 + 8], r8w
cdqe
jmp 0x180038fbf
movsxd rax, dword [rdi + 4]
xor ebx, ebx
cmp dword [rdi + 0xc], ebx
mov edx, ebx
sete dl
imul rcx, rax, 0x38
add rcx, r12
call fcn.1800307c4
test eax, eax
je 0x18003831d
jmp 0x180037e30
cmp ebx, 0x1f
ja 0x18003896b
je 0x1800388c9
cmp ebx, 0x1a
ja 0x180038721
je 0x1800386c3
mov ecx, ebx
sub ecx, 0x15
je 0x180038682
sub ecx, 1
je 0x180038448
sub ecx, 1
je 0x180038448
sub ecx, 1
je 0x180038448
cmp ecx, 1
jne 0x1800377fc
movsxd rcx, dword [rdi + 4]
mov rax, qword [r11 + 0x78]
mov r15, qword [rax + rcx*8]
xor ecx, ecx
mov r13d, ecx
mov word [r15 + 2], cx
mov dword [r15 + 0x28], ecx
cmp byte [r15 + 4], cl
je 0x180038538
movsxd rax, dword [rdi + 0xc]
imul rsi, rax, 0x38
add rsi, r12
movzx r14d, word [rsi + 8]
mov al, r14b
and al, 0x2e
cmp al, r10b
jne 0x180038490
xor edx, edx
mov rcx, rsi
call fcn.180037240
mov rcx, rsi
call fcn.180030740
movzx edx, word [rsi + 8]
mov r12, rax
mov word [rsi + 8], r14w
test dl, 0x24
jne 0x18003850b
mov r9d, 8
test r9b, dl
jne 0x1800384e7
test dl, 1
jne 0x18003bc6f
cmp ebx, 0x18
jae 0x18003bc6f
mov rcx, qword [r15 + 0x38]
lea rdx, [rsp + 0x60]
call fcn.180029704
xor ebx, ebx
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
jmp 0x180038630
movsd xmm1, qword [rsi]
xorps xmm0, xmm0
cvtsi2sd xmm0, r12
comisd xmm1, xmm0
jae 0x180038502
test bl, 1
je 0x18003850b
dec ebx
jmp 0x18003850b
jbe 0x18003850b
test bl, 1
jne 0x18003850b
inc ebx
mov rcx, qword [r15 + 0x38]
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8, r12
xor edx, edx
call fcn.18002976c
mov dword [rsp + 0x34], eax
mov qword [r15 + 0x58], r12
test eax, eax
jne 0x180037963
jmp 0x1800385b1
mov rax, qword [r15 + 0x38]
lea rdx, [rbp - 0x50]
mov sil, byte [rax + 3]
mov rax, qword [r15 + 0x40]
and sil, r10b
mov qword [rbp - 0x50], rax
movzx eax, word [rdi + 0x10]
setne r13b
mov word [rbp - 0x40], ax
mov eax, ebx
and al, 1
neg al
movsxd rax, dword [rdi + 0xc]
sbb cl, cl
xor r9d, r9d
and cl, 0xfe
xor r8d, r8d
inc cl
mov byte [rbp - 0x3e], cl
imul rcx, rax, 0x38
lea rax, [rsp + 0x60]
add rcx, r12
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x48], rcx
xor r12d, r12d
mov byte [rbp - 0x3a], r12b
mov rcx, qword [r15 + 0x38]
call fcn.18002976c
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
test sil, sil
je 0x1800385b1
cmp byte [rbp - 0x3a], r12b
je 0x18003862e
mov eax, dword [rsp + 0x60]
cmp ebx, 0x18
jl 0x1800385fd
test eax, eax
js 0x1800385cd
jne 0x1800385c5
cmp ebx, 0x19
je 0x1800385cd
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x18003863a
xor ebx, ebx
xor edx, edx
mov dword [rsp + 0x60], ebx
mov rcx, qword [r15 + 0x38]
call fcn.180029d98
mov dword [rsp + 0x34], eax
test eax, eax
je 0x180038630
cmp eax, 0x65
jne 0x180037963
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x60], 1
jmp 0x180038630
test eax, eax
jg 0x18003861b
jne 0x180038608
cmp ebx, 0x16
je 0x18003861b
mov rax, qword [r15 + 0x38]
xor ebx, ebx
mov ecx, ebx
cmp byte [rax], bl
setne cl
mov dword [rsp + 0x60], ecx
jmp 0x180038630
xor ebx, ebx
xor edx, edx
mov dword [rsp + 0x60], ebx
mov rcx, qword [r15 + 0x38]
call fcn.180029eec
jmp 0x1800385de
xor ebx, ebx
cmp dword [rsp + 0x60], ebx
jne 0x18003bc6f
mov r11, qword [rbp + 0x170]
mov eax, 5
mov r15, qword [rsp + 0x48]
test r13d, r13d
mov r12, qword [rsp + 0x40]
mov r14, qword [rsp + 0x38]
mov sil, byte [rbp + 0x180]
lea ecx, [rax + 3]
mov r9d, dword [rsp + 0x30]
lea r8d, [rax - 1]
lea r10d, [rax - 3]
lea r13d, [rax - 4]
je 0x180037806
add rdi, 0x18
jmp 0x180037806
mov rax, qword [r11 + 0x78]
movsxd rcx, dword [rdi + 4]
mov rcx, qword [rax + rcx*8]
xor eax, eax
cmp byte [rcx + 2], al
je 0x1800377fc
movsxd rax, dword [rdi + 0xc]
imul rcx, rax, 0x38
mov eax, 0x2400
add rcx, r12
test word [rcx + 8], ax
je 0x1800386b9
call fcn.180030648
jmp 0x18003831d
mov word [rcx + 8], r13w
jmp 0x18003910a
mov rax, qword [r11 + 0x78]
movsxd rcx, dword [rdi + 4]
mov rcx, qword [rax + rcx*8]
mov eax, 8
test byte [rcx + 8], al
jne 0x1800377fc
mov rax, qword [r11 + 0x78]
xor r8d, r8d
movsxd rcx, dword [rdi + 4]
mov r14, qword [rax + rcx*8]
movsxd rax, dword [rdi + 0xc]
imul rbx, rax, 0x38
add rbx, r12
cmp dword [rdi + 0x10], r8d
jle 0x1800387ae
mov rax, qword [r14 + 0x40]
lea rsi, [rbp - 0x50]
mov qword [rbp - 0x50], rax
mov r15d, r8d
movzx eax, word [rdi + 0x10]
mov word [rbp - 0x40], ax
mov qword [rbp - 0x48], rbx
jmp 0x1800387f7
sub ebx, 0x1b
je 0x1800386dd
sub ebx, 1
je 0x1800386dd
sub ebx, 1
je 0x1800386dd
cmp ebx, 1
jne 0x180037801
movsxd rax, dword [rdi + 0xc]
imul rcx, rax, 0x38
add rcx, r12
test byte [rcx + 8], 0x24
jne 0x1800388c9
movups xmm0, xmmword [rcx]
mov r8b, sil
mov dl, 0x43
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp + 0xc8], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rbp + 0xd8], xmm1
movsd xmm1, qword [rcx + 0x30]
lea rcx, [rbp + 0xc8]
movups xmmword [rbp + 0xe8], xmm0
movsd qword [rbp + 0xf8], xmm1
call fcn.18003732c
lea eax, [rbx + 3]
test byte [rbp + 0xd0], al
je 0x18003831d
mov rsi, qword [rbp + 0xc8]
mov r11, qword [rbp + 0x170]
jmp 0x1800388d5
mov eax, 0x4000
test word [rbx + 8], ax
je 0x1800387c9
mov rcx, rbx
call fcn.1800303ac
test eax, eax
jne 0x18003d014
mov rcx, qword [r14 + 0x40]
call fcn.1800345c4
mov rsi, rax
mov r15, rax
test rax, rax
je 0x18003d014
mov r8, qword [rbx + 0x10]
mov r9, rax
mov edx, dword [rbx + 0xc]
mov rcx, qword [r14 + 0x40]
call fcn.18003461c
xor r8d, r8d
mov byte [rsi + 0x12], r8b
mov ebx, r8d
cmp byte [rdi], 0x1b
jne 0x18003882b
movzx edx, word [rsi + 0x10]
mov ecx, r8d
test edx, edx
je 0x18003882b
mov rax, qword [rsi + 8]
add rax, 8
test byte [rax], r13b
jne 0x180038828
add ecx, r13d
add rax, 0x38
cmp ecx, edx
jl 0x180038816
jmp 0x18003882b
mov ebx, r13d
mov rcx, qword [r14 + 0x38]
lea rax, [rbp - 0x10]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
call fcn.18002976c
mov dword [rsp + 0x34], eax
test r15, r15
je 0x180038865
mov rdx, r15
mov r15, qword [rsp + 0x48]
mov rcx, r15
call fcn.180016a48
mov eax, dword [rsp + 0x34]
jmp 0x18003886a
mov r15, qword [rsp + 0x48]
test eax, eax
jne 0x180037963
mov eax, dword [rbp - 0x10]
mov dword [r14 + 0x2c], eax
xor eax, eax
mov ecx, eax
mov eax, dword [rbp - 0x10]
test eax, eax
sete cl
test eax, eax
setne al
mov byte [r14 + 2], al
xor eax, eax
mov byte [r14 + 3], al
mov dword [r14 + 0x28], eax
cmp byte [rdi], 0x1d
jne 0x1800388af
mov r14, qword [rsp + 0x38]
test ecx, ecx
jne 0x18003831d
jmp 0x18003803a
test ebx, ebx
jne 0x18003bc7a
mov r14, qword [rsp + 0x38]
test ecx, ecx
je 0x18003831d
jmp 0x18003803a
movsxd rax, dword [rdi + 0xc]
imul rcx, rax, 0x38
mov rsi, qword [rcx + r12]
movsxd rcx, dword [rdi + 4]
xor r9d, r9d
mov rax, qword [r11 + 0x78]
mov r8, rsi
xor edx, edx
mov rbx, qword [rax + rcx*8]
xor eax, eax
mov rcx, qword [rbx + 0x38]
mov dword [rbp - 0x68], eax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
call fcn.18002976c
mov qword [rbx + 0x58], rsi
mov dword [rsp + 0x34], eax
xor eax, eax
mov word [rbx + 2], ax
mov dword [rbx + 0x28], eax
mov eax, dword [rbp - 0x68]
mov dword [rbx + 0x2c], eax
xor ebx, ebx
cmp dword [rbp - 0x68], ebx
je 0x18003895a
cmp dword [rdi + 8], ebx
jne 0x18003831d
mov r9d, 0x159cf
lea rax, [0x180114a54]
mov ebx, reloc.Cabinet.dll_FCIAddFile
mov ecx, ebx
mov qword [rsp + 0x20], rax
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1800188e8
mov eax, ebx
jmp 0x180037963
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x180037963
jmp 0x18003803a
mov ecx, ebx
sub ecx, 0x20
je 0x18003bc07
sub ecx, 1
je 0x180038a85
sub ecx, 1
je 0x180038a2a
sub ecx, 1
je 0x180038a2a
sub ecx, 1
je 0x180038a31
sub ecx, 1
je 0x1800389b2
sub ecx, 1
je 0x1800389b2
sub ecx, 1
je 0x1800389b2
cmp ecx, 1
jne 0x1800377fc
movsxd rcx, dword [rdi + 4]
lea r9, [rsp + 0x70]
mov rax, qword [r11 + 0x78]
lea r8, [rbp - 0x50]
cmp bl, 0x27
mov rdx, qword [rax + rcx*8]
mov rax, qword [rdx + 0x40]
mov qword [rbp - 0x50], rax
movzx eax, word [rdi + 0x10]
mov word [rbp - 0x40], ax
sbb al, al
mov byte [rbp - 0x3e], al
xor ebx, ebx
movsxd rax, dword [rdi + 0xc]
imul rcx, rax, 0x38
mov dword [rsp + 0x70], ebx
add rcx, r12
mov qword [rbp - 0x48], rcx
mov rcx, r15
call fcn.1800353f8
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x70]
test byte [rdi], r13b
je 0x180038a0d
neg eax
jmp 0x180038a0f
inc eax
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x34], ebx
jne 0x18003cea8
test eax, eax
jg 0x18003831d
jmp 0x180037e30
add dword [r11 + 0xdc], r13d
movsxd rcx, dword [rdi + 4]
lea rdx, [rsp + 0x74]
mov rax, qword [r11 + 0x78]
mov rbx, qword [rax + rcx*8]
mov dword [rsp + 0x74], r13d
cmp byte [rbx], r13b
jne 0x180038a56
mov rcx, rbx
call fcn.18003f418
jmp 0x180038a67
mov rcx, qword [rbx + 0x38]
call fcn.1800296c4
xor ecx, ecx
mov byte [rbx + 3], cl
mov dword [rbx + 0x28], ecx
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
mov al, byte [rsp + 0x74]
mov byte [rbx + 2], al
xor eax, eax
cmp dword [rsp + 0x74], eax
jmp 0x18003823a
movsxd rcx, dword [rdi + 4]
lea rdx, [rsp + 0x78]
mov rax, qword [r11 + 0x78]
mov rcx, qword [rax + rcx*8]
mov rbx, qword [rcx + 0x38]
mov rcx, rbx
call fcn.1800296c4
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
xor eax, eax
cmp dword [rsp + 0x78], eax
jne 0x18003831d
mov rcx, rbx
call fcn.180029c40
test rax, rax
js 0x180038ae6
mov rcx, rax
call fcn.18001a228
movsx ecx, ax
mov eax, dword [rsp + 0x78]
cmp ecx, dword [rdi + 0xc]
cmovl eax, r13d
mov dword [rsp + 0x78], eax
jmp 0x180038238
mov eax, dword [rsp + 0x78]
jmp 0x180038238
movsxd rax, dword [rdi + 4]
imul rbx, rax, 0x38
mov eax, 0x10
add rbx, r12
test byte [rbx + 8], al
je 0x180038b2e
mov rcx, qword [rbx + 0x10]
lea rdx, [rbp + 0x48]
call fcn.18001e7d8
test eax, eax
je 0x180038b2e
movsxd rax, dword [rdi + 0xc]
mov rdx, qword [rbp + 0x48]
imul rcx, rax, 0x38
add rcx, r12
call fcn.180030ad0
jmp 0x180037caa
mov rcx, rbx
call fcn.180030a2c
jmp 0x18003917b
cmp ebx, 0x3e
ja 0x180039476
je 0x1800395f0
cmp ebx, 0x34
ja 0x180038fc8
je 0x1800391db
cmp ebx, 0x2f
ja 0x180038f32
je 0x180038f0d
sub ebx, 0x2a
je 0x180038ea8
sub ebx, 1
je 0x180038e04
sub ebx, 1
je 0x180038e04
sub ebx, 1
je 0x180038bbd
cmp ebx, 1
jne 0x180037801
xor ebx, ebx
cmp dword [rdi + 4], ebx
je 0x180038bb7
cmp qword [r15 + 0x288], rbx
jne 0x180037801
cmp qword [r15 + 0x290], rbx
je 0x18003910a
jmp 0x180037801
cmp qword [r11 + 0x50], rbx
jmp 0x180038b9f
movsxd rax, dword [rdi + 0xc]
xor ebx, ebx
mov r12, qword [rdi + 0x10]
imul rsi, rax, 0x38
add rsi, qword [rsp + 0x40]
cmp word [rdi + 2], bx
je 0x180038bf7
mov rcx, qword [r12 + 0x20]
mov rax, qword [r11 + 0x100]
jmp 0x180038bf2
cmp qword [rax + 0x38], rcx
je 0x18003cc0c
mov rax, qword [rax + 8]
test rax, rax
jne 0x180038be4
mov eax, dword [r11 + 0x110]
cmp eax, dword [r15 + 0xa4]
jge 0x18003ce94
mov ecx, 0x10
test byte [rsi + 8], cl
jne 0x180038d33
mov edx, dword [r12 + 0x10]
mov ecx, dword [r12 + 0xc]
add ecx, edx
test edx, edx
lea r15d, [rcx + 1]
cmovne r15d, ecx
lea eax, [r15 + 2]
imul ecx, eax, 7
mov eax, dword [r12 + 8]
add ecx, edx
mov edx, 7
add eax, edx
jns 0x180038c48
add eax, edx
sar eax, 3
lea r14d, [rax + rcx*8]
mov rcx, qword [rsp + 0x48]
movsxd rdx, r14d
call fcn.180016c4c
mov rbx, rax
test rax, rax
je 0x18003d014
mov rcx, rsi
call fcn.1800306c4
mov r11, qword [rbp + 0x170]
mov eax, 0x410
sub rdi, qword [rsp + 0x38]
mov word [rsi + 8], ax
lea rax, [0x180032924]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x10], rbx
mov dword [rsi + 0xc], r14d
mov dword [rbx + 0x60], r15d
mov qword [rbx], r11
mov eax, dword [r12 + 0x10]
mov dword [rbx + 0x64], eax
movabs rax, 0xaaaaaaaaaaaaaaab
sar rdi, 3
imul rdi, rax
mov dword [rbx + 0x54], edi
mov rax, qword [r11 + 0x68]
mov qword [rbx + 0x20], rax
mov eax, dword [r11 + 0x28]
mov dword [rbx + 0x5c], eax
mov rax, qword [r11 + 0x78]
mov qword [rbx + 0x28], rax
mov eax, dword [r11 + 0x2c]
mov dword [rbx + 0x50], eax
mov rax, qword [r11 + 0x88]
mov qword [rbx + 0x10], rax
mov eax, dword [r11 + 0x90]
mov dword [rbx + 0x58], eax
mov rax, qword [r12 + 0x20]
mov qword [rbx + 0x38], rax
movsxd rax, r15d
mov r15, qword [rsp + 0x48]
add rax, 2
imul rcx, rax, 0x38
lea rax, [rbx + 0x70]
add rcx, rbx
cmp rax, rcx
je 0x180038d2a
mov edx, 0x80
mov word [rax + 8], dx
mov qword [rax + 0x28], r15
add rax, 0x38
cmp rax, rcx
jne 0x180038d19
mov eax, dword [r11 + 0x110]
jmp 0x180038d37
mov rbx, qword [rsi + 0x10]
inc eax
lea rdx, [rbx + 0x70]
mov dword [r11 + 0x110], eax
mov r8d, 7
mov rax, qword [r11 + 0x100]
mov qword [rbx + 8], rax
mov rax, qword [r15 + 0x38]
mov qword [rbx + 0x40], rax
mov eax, dword [r11 + 0x3c]
mov dword [rbx + 0x68], eax
mov rax, qword [r11]
mov qword [rsp + 0x40], rdx
mov ecx, dword [rax + 0x74]
mov dword [rbx + 0x6c], ecx
mov rax, qword [r11 + 0x120]
mov qword [rbx + 0x48], rax
xor eax, eax
mov qword [r11 + 0x120], rax
mov dword [r11 + 0x3c], eax
mov qword [r11 + 0x68], rdx
mov qword [r11 + 0x100], rbx
movsxd rcx, dword [rbx + 0x60]
mov dword [r11 + 0x28], ecx
movzx eax, word [rbx + 0x64]
mov dword [r11 + 0x2c], eax
imul rcx, rcx, 0x38
add rdx, rcx
mov qword [r11 + 0x78], rdx
movsxd rax, dword [r12 + 0x10]
lea rcx, [rdx + rax*8]
mov qword [rbx + 0x30], rcx
mov eax, dword [r12 + 8]
add eax, r8d
cdq
and edx, r8d
add eax, edx
xor edx, edx
sar eax, 3
movsxd r8, eax
call fcn.1800c5480
mov r14, qword [r12]
mov r11, qword [rbp + 0x170]
mov qword [rsp + 0x38], r14
lea rdi, [r14 - 0x18]
mov qword [r11 + 0x88], r14
mov eax, dword [r12 + 8]
mov dword [r11 + 0x90], eax
jmp 0x180037cb1
movsxd rax, dword [rdi + 4]
mov edx, r10d
imul rcx, rax, 0x38
add rcx, r12
call fcn.1800307c4
mov ebx, eax
mov edx, 2
movsxd rax, dword [rdi + 8]
imul rcx, rax, 0x38
add rcx, r12
call fcn.1800307c4
lea eax, [rax + rbx*2]
add eax, ebx
cmp byte [rdi], 0x2c
movsxd rcx, eax
lea rax, [0x180000000]
jne 0x180038e4c
mov r8b, byte [rcx + rax + 0xf5150]
jmp 0x180038e54
mov r8b, byte [rcx + rax + 0xf9388]
movsxd rax, dword [rdi + 0xc]
mov r10d, 2
imul rdx, rax, 0x38
mov eax, 0x3e40
movzx ecx, word [rdx + r12 + 8]
and cx, ax
cmp r8b, r10b
jne 0x180038e7f
or cx, r13w
lea r8d, [r10 + 2]
jmp 0x180038e91
movzx eax, r8b
mov r8d, 4
or cx, r8w
mov qword [rdx + r12], rax
mov r11, qword [rbp + 0x170]
mov r9d, dword [rsp + 0x30]
mov word [rdx + r12 + 8], cx
jmp 0x1800377fc
movsxd rax, dword [rdi + 4]
mov esi, dword [rdi + 0x10]
imul rbx, rax, 0x38
movsxd rax, dword [rdi + 0xc]
imul r14, rax, 0x38
add rbx, r12
mov eax, 0x10
test byte [rbx + 8], al
jne 0x180038ed8
mov rcx, rbx
call fcn.180030b64
test eax, eax
jne 0x18003d014
test esi, esi
je 0x180038efb
mov r8, qword [r14 + r12]
mov edx, esi
mov rcx, qword [rbx + 0x10]
call fcn.18001e848
test eax, eax
jne 0x18003bc7a
test esi, esi
js 0x1800378e7
mov rdx, qword [r14 + r12]
mov rcx, qword [rbx + 0x10]
call fcn.18001e568
jmp 0x1800378e7
movsxd rax, dword [rdi + 4]
imul rcx, rax, 0x38
mov rdx, qword [rcx + r12]
test rdx, rdx
jle 0x1800377fc
movsxd rax, dword [rdi + 0xc]
sub rdx, rax
mov qword [rcx + r12], rdx
jmp 0x18003910a
sub ebx, 0x30
je 0x180038fa1
sub ebx, 1
je 0x180038f7a
sub ebx, 1
je 0x180038f62
cmp ebx, 1
jne 0x180037801
movsxd rax, dword [rdi + 4]
imul rcx, rax, 0x38
test byte [rcx + r12 + 8], r13b
je 0x18003910a
jmp 0x1800377fc
movsxd rax, dword [rdi + 4]
imul rcx, rax, 0x38
test byte [rcx + r12 + 8], r13b
jne 0x18003910a
jmp 0x1800377fc
movsxd rax, dword [rdi + 4]
movabs rdx, 0x8000000000000000
imul rcx, rax, 0x38
mov rax, qword [rcx + r12]
cmp rax, rdx
jle 0x180038f9c
dec rax
mov qword [rcx + r12], rax
test rax, rax
jmp 0x180038f57
movsxd rax, dword [rdi + 4]
imul rcx, rax, 0x38
mov rax, qword [rcx + r12]
test rax, rax
je 0x1800377fc
jle 0x18003910a
dec rax
mov qword [rcx + r12], rax
jmp 0x18003910a
sub ebx, 0x35
je 0x1800391db
sub ebx, 1
je 0x1800391db
sub ebx, 1
je 0x1800391db
sub ebx, 1
je 0x1800391db
sub ebx, 1
je 0x1800391db
sub ebx, 1
je 0x1800391cd
sub ebx, 1
je 0x180039197
sub ebx, 1
je 0x18003911f
cmp ebx, 1
jne 0x180037801
test byte [r15 + 0x68], r13b
je 0x1800390b4
lea eax, [rbx + 0xf]
xor ebx, ebx
test byte [r11 + 0xc8], al
jne 0x1800390b6
mov r9, qword [rdi + 0x10]
test r9, r9
jne 0x18003904e
mov r9, qword [r11 + 0xf0]
test r9, r9
je 0x18003c8c1
cmp dword [r15 + 0xd4], r13d
jle 0x18003c88f
mov r8, r9
lea rdx, str.____s
mov rcx, r15
call fcn.180018778
mov r8, qword [rbp + 0x170]
mov r9, rax
mov rdx, qword [r15 + 0xf0]
mov ecx, r13d
mov rbx, rax
call qword [r15 + 0xe8]
mov rdx, rbx
mov rcx, r15
call fcn.180016a88
mov r11, qword [rbp + 0x170]
mov ecx, 8
mov r12, qword [rsp + 0x40]
mov r9d, dword [rsp + 0x30]
lea r8d, [rcx - 4]
lea r10d, [rcx - 6]
xor ebx, ebx
mov eax, dword [rdi + 4]
cmp eax, dword [0x180158cf0]
jl 0x1800390fe
cmp byte [rdi], 0xa8
je 0x180037801
mov edx, r13d
cmp dword [r11 + 0x90], r13d
jle 0x1800390fc
mov eax, reloc.ODBC32.dll_SQLAllocHandle
mov rcx, qword [r11 + 0x88]
cmp byte [rax + rcx], 0x11
jne 0x1800390ec
mov dword [rax + rcx + 4], ebx
add edx, r13d
add rax, 0x18
cmp edx, dword [r11 + 0x90]
jl 0x1800390db
mov eax, ebx
inc eax
mov dword [rdi + 4], eax
add dword [r11 + 0xec], r13d
mov eax, dword [rdi + 8]
sub eax, r13d
cdqe
lea rcx, [rax + rax*2]
lea rdi, [r14 + rcx*8]
jmp 0x180037df0
mov rax, qword [r11 + 0x78]
movsxd rcx, dword [rdi + 4]
mov rsi, qword [rax + rcx*8]
xor eax, eax
cmp byte [rsi + 2], al
jne 0x18003927a
mov rcx, qword [rsi + 0x38]
mov rbx, qword [rcx]
mov r14, qword [rbx]
call qword [r14 + SQLSetEnvAttr]
mov r12, qword [rbp + 0x170]
mov rdx, rbx
mov rcx, r12
mov dword [rsp + 0x34], eax
call fcn.1800354e0
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x18003796a
mov rcx, qword [rsi + 0x38]
call qword [r14 + 0x50]
mov r14, qword [rsp + 0x38]
test eax, eax
jne 0x180037caa
mov r11, qword [rbp + 0x170]
mov eax, dword [rdi + 8]
sub eax, r13d
cdqe
lea rcx, [rax + rax*2]
lea rdi, [r14 + rcx*8]
jmp 0x180037cb1
movsxd rcx, dword [rdi + 4]
mov rax, qword [r15 + 0x20]
shl rcx, 5
mov rcx, qword [rcx + rax + 8]
call fcn.18002861c
xor ebx, ebx
mov dword [rsp + 0x34], eax
test eax, eax
je 0x180037e30
cmp eax, 0x65
jne 0x180037963
mov dword [rsp + 0x34], ebx
jmp 0x18003831d
test r9d, r9d
jne 0x18003910a
jmp 0x180037801
movsxd rax, dword [rdi + 4]
imul rsi, rax, 0x38
movsxd rax, dword [rdi + 0xc]
imul r15, rax, 0x38
add rsi, r12
add r15, r12
movzx r14d, word [rsi + 8]
movzx ebx, word [r15 + 8]
movzx edx, bx
or dx, r14w
test r13b, dl
je 0x1800392a0
mov eax, 0x80
test byte [rdi + 2], al
je 0x180039245
mov al, bl
and al, r14b
test r13b, al
je 0x180039230
mov eax, 0x100
test ax, bx
jne 0x180039230
xor eax, eax
jmp 0x1800393b4
movzx eax, bx
not ax
and eax, r13d
lea ecx, [rax*2 - 1]
jmp 0x1800393b6
mov eax, Ordinal_36
test byte [rdi + 2], al
je 0x180039286
movsxd rax, dword [rdi + 8]
mov r9d, r13d
mov r15, qword [rsp + 0x48]
imul rcx, rax, 0x38
mov eax, 0x3e40
mov dword [rsp + 0x30], r13d
add rcx, r12
and word [rcx + 8], ax
or word [rcx + 8], r13w
mov r14, qword [rsp + 0x38]
mov sil, byte [rbp + 0x180]
jmp 0x1800377fc
mov r14, qword [rsp + 0x38]
mov eax, 0x10
test byte [rdi + 2], al
jne 0x18003910a
mov r15, qword [rsp + 0x48]
jmp 0x18003927a
mov al, byte [rdi + 2]
and al, 0x47
cmp al, 0x43
jb 0x180039331
movzx ecx, bx
test r10b, dl
je 0x1800392f9
mov al, r14b
and al, 0x2e
cmp al, r10b
jne 0x1800392d8
xor edx, edx
mov rcx, rsi
call fcn.180037240
movzx ebx, word [r15 + 8]
mov r8d, 4
lea r10d, [r8 - 2]
mov al, bl
movzx ecx, bx
and al, 0x2e
cmp al, r10b
jne 0x1800392f9
xor edx, edx
mov rcx, r15
call fcn.180037240
movzx ecx, word [r15 + 8]
mov r8d, 4
and cl, byte [rsi + 8]
test r8b, cl
je 0x180039399
mov rax, qword [rsi]
mov r11, qword [rbp + 0x170]
mov r9d, dword [rsp + 0x30]
cmp qword [r15], rax
jle 0x180039321
mov ecx, r13d
jmp 0x1800393b6
xor ecx, ecx
cmp qword [r15], rax
setge cl
sub ecx, r13d
jmp 0x1800393b6
cmp al, 0x42
jne 0x180039399
test r10b, r14b
jne 0x18003936b
test r14b, 0x2c
je 0x18003936b
mov dl, byte [rbp + 0x180]
mov r8b, r13b
mov rcx, rsi
call fcn.180030408
movzx eax, r14w
mov ecx, 0x3e40
xor ax, word [rsi + 8]
mov r10d, 2
and ax, cx
xor r14w, ax
test r10b, bl
jne 0x180039399
test bl, 0x2c
je 0x180039399
mov dl, byte [rbp + 0x180]
mov r8b, r13b
mov rcx, r15
call fcn.180030408
movzx eax, bx
mov ecx, 0x3e40
xor ax, word [r15 + 8]
and ax, cx
xor bx, ax
mov r8, qword [rdi + 0x10]
mov rdx, rsi
mov rcx, r15
call fcn.180034988
mov r11, qword [rbp + 0x170]
mov r9d, dword [rsp + 0x30]
mov ecx, eax
movzx eax, byte [rdi]
lea rdx, [0x180000000]
test ecx, ecx
jns 0x1800393cd
mov al, byte [rax + rdx + 0xf6090]
jmp 0x1800393df
jne 0x1800393d8
mov al, byte [rax + rdx + 0xf7954]
jmp 0x1800393df
mov al, byte [rax + rdx + 0xf2154]
mov word [rsi + 8], r14w
movzx r8d, al
mov eax, Ordinal_36
mov word [r15 + 8], bx
test byte [rdi + 2], al
je 0x180039457
movsxd rax, dword [rdi + 8]
mov r9d, ecx
imul rdx, rax, 0x38
mov dword [rsp + 0x30], ecx
mov ecx, 8
add rdx, r12
test byte [rdi + 2], cl
je 0x180039420
xor eax, eax
cmp byte [rdi], 0x35
sete al
cmp eax, r8d
je 0x180039435
mov eax, 0x3e40
mov qword [rdx], r8
and word [rdx + 8], ax
mov eax, 4
or word [rdx + 8], ax
mov r8d, 4
mov r15, qword [rsp + 0x48]
mov sil, byte [rbp + 0x180]
mov r14, qword [rsp + 0x38]
mov r10d, 2
jmp 0x180037801
mov r14, qword [rsp + 0x38]
test r8d, r8d
jne 0x18003831d
mov r15, qword [rsp + 0x48]
mov sil, byte [rbp + 0x180]
jmp 0x1800378ff
cmp ebx, 0x48
ja 0x180039762
je 0x18003b2e1
sub ebx, 0x3f
je 0x1800395f0
sub ebx, 1
je 0x18003965b
sub ebx, 1
je 0x18003965b
sub ebx, 1
je 0x1800395e2
sub ebx, 1
je 0x1800395b0
sub ebx, 1
je 0x180039501
sub ebx, 1
je 0x180039514
sub ebx, 1
je 0x1800394e7
cmp ebx, 1
jne 0x180037801
mov rdx, rdi
mov rcx, r11
call fcn.1800374f0
mov rdx, rax
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax]
mov qword [rdx], rcx
jmp 0x180037e30
mov rdx, rdi
mov rcx, r11
call fcn.1800374f0
mov rcx, rax
movsxd rax, dword [rdi + 4]
mov qword [rcx], rax
jmp 0x180037e30
movsxd rax, dword [rdi + 0xc]
imul rcx, rax, 0x38
test byte [rcx + r12 + 8], r13b
je 0x1800377fc
mov edx, dword [rdi + 4]
mov rbx, rdi
sub rbx, r14
movabs rax, 0xaaaaaaaaaaaaaaab
sar rbx, 3
xor r14d, r14d
imul rbx, rax
test edx, edx
jne 0x18003ceb1
mov rcx, qword [r11 + 0x100]
test rcx, rcx
je 0x18003ceb1
mov rax, qword [rcx + 8]
dec dword [r11 + 0x110]
mov qword [r11 + 0x100], rax
mov eax, dword [r11 + 0x3c]
add dword [r15 + 0x78], eax
mov dword [r15 + 0x74], eax
call fcn.1800331e4
mov r11, qword [rbp + 0x170]
lea r8d, [r14 + 4]
mov r14, qword [r11 + 0x88]
mov qword [rsp + 0x38], r14
cmp dword [rdi + 8], r8d
jne 0x180039598
cdqe
lea rcx, [rax + rax*2]
mov eax, dword [r14 + rcx*8 + 8]
sub eax, r13d
mov r12, qword [r11 + 0x68]
cdqe
mov qword [rsp + 0x40], r12
lea rcx, [rax + rax*2]
lea rdi, [r14 + rcx*8]
jmp 0x18003814c
movsxd rax, dword [rdi + 4]
imul rdx, rax, 0x38
mov rax, qword [rdx + r12]
lea rcx, [rax + rax*2]
mov eax, dword [r14 + rcx*8 + 8]
sub eax, r13d
cdqe
lea rcx, [rax + rax*2]
mov eax, 0x80
mov word [rdx + r12 + 8], ax
lea rdi, [r14 + rcx*8]
jmp 0x1800377fc
movsxd rax, dword [rdi + 4]
imul rdx, rax, 0x38
mov rax, qword [rdx + r12]
jmp 0x1800395ca
movzx ebx, word [rdi + 2]
mov rcx, r15
lea rdx, [rbx*8 + 0x30]
call fcn.180016cbc
mov r12, qword [rbp + 0x170]
xor r11d, r11d
mov rcx, rax
test rax, rax
je 0x18003bac9
mov qword [rax], r11
movabs rdx, 0xaaaaaaaaaaaaaaab
mov rax, qword [rdi + 0x10]
mov qword [rcx + 8], rax
mov rax, rdi
sub rax, r14
mov qword [rcx + 0x18], r12
sar rax, 3
imul rax, rdx
mov dword [rcx + 0x24], r11d
mov dword [rcx + 0x20], eax
lea eax, [r11 + 2]
mov byte [rcx + 0x29], bl
add byte [rdi], al
mov byte [rdi + 1], 0xf0
mov qword [rdi + 0x10], rcx
jmp 0x180039662
mov r12, qword [rbp + 0x170]
movsxd rax, dword [rdi + 0xc]
mov rbx, qword [rdi + 0x10]
mov r10, qword [rsp + 0x40]
imul rsi, rax, 0x38
add rsi, r10
cmp qword [rbx], rsi
je 0x1800396be
movzx eax, byte [rbx + 0x29]
mov edx, eax
mov qword [rbx], rsi
sub rdx, 1
lea r9d, [rax - 1]
js 0x1800396be
lea r8, [rdx + 6]
mov r14d, 8
lea r8, [rbx + r8*8]
mov eax, dword [rdi + 8]
add eax, r9d
sub r9d, r13d
cdqe
imul rcx, rax, 0x38
add rcx, r10
mov qword [r8], rcx
sub r8, r14
sub rdx, r13
jns 0x18003969c
mov r14, qword [rsp + 0x38]
mov eax, 0x3e40
lea r8, [rbx + 0x30]
and word [rsi + 8], ax
mov rcx, rbx
or word [rsi + 8], r13w
mov rax, qword [rbx + 8]
movzx edx, byte [rbx + 0x29]
call qword [rax + reloc.ODBC32.dll_SQLAllocHandle]
mov eax, dword [rbx + 0x24]
test eax, eax
je 0x180039731
jle 0x180039708
mov rcx, rsi
call fcn.1800358bc
mov r8, rax
lea rdx, [0x18010f990]
mov rcx, r12
call fcn.1800317b8
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0x34], eax
mov r9d, dword [rdi + 4]
lea rdx, [r12 + 0x120]
mov r8d, dword [rbx + 0x20]
mov rcx, r15
call fcn.180034068
xor eax, eax
mov dword [rbx + 0x24], eax
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x18003796a
test byte [rsi + 8], 0x12
je 0x180039756
movzx edx, byte [rbp + 0x180]
mov rcx, rsi
call fcn.180030160
mov rcx, rsi
call fcn.180030c4c
test eax, eax
jne 0x18003c4af
mov r11, qword [rbp + 0x170]
jmp 0x18003810d
sub ebx, 0x49
je 0x180039a85
sub ebx, 1
je 0x180039a67
sub ebx, 1
je 0x180039a36
sub ebx, 1
je 0x1800399ca
sub ebx, 1
je 0x180039978
sub ebx, 1
je 0x18003991a
sub ebx, 1
je 0x1800398f4
sub ebx, 1
je 0x1800398bd
cmp ebx, 1
jne 0x180037801
xor edx, edx
mov rcx, r11
call fcn.180033b90
mov r12, qword [rbp + 0x170]
xor ebx, ebx
test eax, eax
jne 0x18003796a
mov rax, qword [r12]
cmp dword [rax + 0x280], ebx
je 0x1800397ec
cmp dword [r12 + 0x40], ebx
je 0x1800397ec
mov edx, r13d
mov rcx, r12
call fcn.180033a9c
mov eax, dword [r12 + 0x30]
mov esi, ebx
add eax, 2
or eax, r13d
mov dword [r12 + 0x30], eax
movsxd rax, dword [rdi + 4]
imul r14, rax, 0x38
add r14, qword [rsp + 0x40]
mov qword [r12 + 0xa0], r14
cmp dword [rdi + 8], ebx
jle 0x180039869
lea rbx, [r14 + 8]
mov eax, 0x1000
test word [rbx], ax
je 0x18003983d
movsxd rax, esi
imul rcx, rax, 0x38
add rcx, r14
call fcn.180030354
test eax, eax
jne 0x18003bac9
movzx eax, word [rbx]
mov ecx, 0x202
and ax, cx
mov ecx, 2
cmp ax, cx
jne 0x18003985b
lea rcx, [rbx - 8]
call fcn.1800302f4
add esi, r13d
add rbx, 0x38
cmp esi, dword [rdi + 8]
jl 0x18003981c
xor ebx, ebx
cmp byte [r15 + 0x61], bl
jne 0x18003bac9
mov eax, 4
test byte [r15 + 0x68], al
je 0x180039894
mov rdx, qword [r15 + 0xf0]
xor r9d, r9d
mov r8, r12
mov ecx, eax
call qword [r15 + 0xe8]
sub rdi, qword [rsp + 0x38]
movabs rax, 0xaaaaaaaaaaaaaaab
sar rdi, 3
imul rdi, rax
add edi, r13d
mov dword [r12 + 0x34], edi
mov edi, 0x64
jmp 0x18003d037
movsxd rax, dword [rdi + 8]
imul rcx, rax, 0x38
movsxd rax, dword [rdi + 4]
imul rdx, rax, 0x38
add rcx, r12
mov rax, qword [rdx + r12]
mov edx, 0x2400
test word [rcx + 8], dx
je 0x1800398e7
mov rdx, rax
jmp 0x1800381e6
mov qword [rcx], rax
mov word [rcx + 8], r8w
jmp 0x1800377fc
movsxd rax, dword [rdi + 4]
mov r8d, 0x1000
imul rdx, rax, 0x38
movsxd rax, dword [rdi + 8]
imul rcx, rax, 0x38
add rdx, r12
add rcx, r12
call fcn.180030cb0
jmp 0x180037e30
movsxd rax, dword [rdi + 4]
mov r14d, dword [rdi + 0xc]
imul rsi, rax, 0x38
movsxd rax, dword [rdi + 8]
imul rbx, rax, 0x38
add rsi, r12
add rbx, r12
mov r8d, 0x1000
mov rdx, rsi
mov rcx, rbx
call fcn.180030cb0
mov eax, 0x1000
test word [rbx + 8], ax
je 0x180039960
mov rcx, rbx
call fcn.180030354
test eax, eax
jne 0x18003d014
mov eax, r14d
sub r14d, r13d
test eax, eax
je 0x1800378e7
add rbx, 0x38
add rsi, 0x38
jmp 0x180039934
movsxd rax, dword [rdi + 4]
mov r14d, dword [rdi + 0xc]
imul rsi, rax, 0x38
movsxd rax, dword [rdi + 8]
imul rbx, rax, 0x38
add rsi, r12
add rbx, r12
mov rdx, rsi
mov rcx, rbx
call fcn.180030d74
mov eax, 0x1000
test word [rbx + 8], ax
je 0x1800399b8
mov rcx, rbx
call fcn.180030354
test eax, eax
jne 0x18003d014
add rsi, 0x38
add rbx, 0x38
sub r14d, r13d
jne 0x180039992
jmp 0x1800378e7
movsxd rax, dword [rdi + 4]
imul rsi, rax, 0x38
add rsi, qword [r11 + 0x80]
lea rcx, [rsi - 0x38]
call fcn.180030c4c
test eax, eax
jne 0x18003c4a8
movsxd rax, dword [rdi + 8]
imul rbx, rax, 0x38
mov eax, 0x2400
add rbx, r12
test word [rbx + 8], ax
je 0x180039a08
mov rcx, rbx
call fcn.180030648
movups xmm0, xmmword [rsi - 0x38]
mov ecx, 0xebff
movups xmmword [rbx], xmm0
movsd xmm1, qword [rsi - 0x28]
movsd qword [rbx + 0x10], xmm1
movzx eax, word [rbx + 8]
and ax, cx
mov ecx, 0x840
or ax, cx
mov word [rbx + 8], ax
jmp 0x18003803a
mov rdx, rdi
mov rcx, r11
call fcn.1800374f0
mov r8d, dword [rdi + 4]
mov rbx, rax
mov rdx, qword [rdi + 0x10]
xor eax, eax
mov rcx, rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
call fcn.180030dd4
mov byte [rbx + 0xa], sil
jmp 0x180037e30
movsxd rax, dword [rdi + 4]
imul rcx, rax, 0x38
mov eax, 0xff41
add rcx, r12
and word [rcx + 8], ax
or word [rcx + 8], r13w
jmp 0x1800377fc
mov rdx, rdi
mov rcx, r11
call fcn.1800374f0
mov esi, dword [rdi + 0xc]
mov rcx, rax
mov eax, dword [rdi + 4]
mov edx, dword [rdi + 8]
neg eax
mov eax, 0x100
sbb r14w, r14w
lea rbx, [rcx + 8]
and r14w, ax
sub esi, edx
add r14w, r13w
xor eax, eax
mov word [rbx], r14w
mov dword [rcx + 0xc], eax
test esi, esi
jle 0x1800378e7
mov ecx, 0x2400
lea rbx, [rbx + 0x38]
test word [rbx], cx
je 0x180039ae4
lea rcx, [rbx - 8]
call fcn.180030648
xor eax, eax
mov ecx, 0x2400
sub esi, r13d
mov word [rbx], r14w
mov dword [rbx + 4], eax
test esi, esi
jg 0x180039acb
jmp 0x1800378e7
xor ebx, ebx
cmp dword [rdi + 4], ebx
je 0x180037806
movsxd rax, dword [rdi + 4]
imul rcx, rax, 0x38
mov eax, 0x2400
add rcx, r12
test word [rcx + 8], ax
je 0x180039b1f
xor edx, edx
jmp 0x1800381e6
mov qword [rcx], rbx
jmp 0x1800398ea
cmp ebx, 0x7f
ja 0x18003baf4
je 0x18003ba4a
cmp ebx, 0x69
ja 0x18003ac44
je 0x18003a8e4
cmp ebx, 0x5f
ja 0x18003a895
je 0x18003a7f3
cmp ebx, 0x5a
ja 0x18003a315
je 0x180039d98
sub ebx, 0x53
je 0x180039d79
sub ebx, 1
je 0x180039d5a
sub ebx, 1
je 0x180039d1d
sub ebx, r10d
je 0x180039bd4
cmp ebx, 1
jne 0x180037801
movsxd rax, dword [rdi + 4]
mov edx, dword [rdi + 0xc]
imul rcx, rax, 0x38
add rcx, r12
call fcn.1800307c4
movsxd rdx, dword [rdi + 0x10]
movsxd rcx, eax
movsxd rax, dword [rdi + 8]
xor rdx, rcx
imul rcx, rax, 0x38
mov eax, 0x2400
add rcx, r12
test word [rcx + 8], ax
jne 0x1800381e6
lea r8d, [rbx + 3]
mov qword [rcx], rdx
mov word [rcx + 8], r8w
jmp 0x180038145
test byte [rdi + 2], r13b
jne 0x180039be0
xor ecx, ecx
mov esi, ecx
jmp 0x180039be9
mov rsi, qword [rdi - 8]
add rsi, r8
xor ecx, ecx
mov rax, qword [rdi + 0x10]
mov r15d, ecx
mov edx, dword [rdi + 4]
mov rbx, rcx
movsxd rcx, dword [rdi + 0xc]
mov r8d, dword [rdi + 8]
mov qword [rbp - 0x80], rax
mov dword [rbp + 0x188], edx
mov dword [rbp - 0x78], r8d
mov qword [rbp - 0x18], rcx
test rcx, rcx
jle 0x18003cbfb
lea r12, [rax + 0x20]
test rsi, rsi
je 0x180039c27
mov ecx, dword [rsi + rbx*4]
jmp 0x180039c2a
mov ecx, r15d
mov rax, qword [rax + 0x18]
movzx eax, byte [rbx + rax]
and eax, r13d
mov dword [rsp + 0x68], eax
lea eax, [rcx + r8]
mov r8, qword [r12]
movsxd r13, eax
lea eax, [rcx + rdx]
movsxd r14, eax
imul rcx, r14, 0x38
imul rdx, r13, 0x38
add rcx, qword [rsp + 0x40]
add rdx, qword [rsp + 0x40]
call fcn.180034988
xor r11d, r11d
mov dword [rsp + 0x30], eax
test eax, eax
mov r9d, eax
mov rax, qword [rbp - 0x80]
jne 0x180039ca5
mov edx, dword [rbp + 0x188]
lea r13d, [r11 + 1]
mov r8d, dword [rbp - 0x78]
lea ecx, [r11 + 8]
add r15d, r13d
add rbx, r13
add r12, rcx
cmp rbx, qword [rbp - 0x18]
jl 0x180039c1d
mov r11, qword [rbp + 0x170]
mov r12, qword [rsp + 0x40]
jmp 0x180039435
mov rax, qword [rax + 0x18]
mov r10d, 2
mov r12, qword [rsp + 0x40]
test byte [rbx + rax], r10b
je 0x180039cdc
imul rax, r14, 0x38
lea ecx, [r10 - 1]
test byte [rax + r12 + 8], cl
jne 0x180039cd4
imul rax, r13, 0x38
test byte [rax + r12 + 8], cl
je 0x180039cdc
neg r9d
mov dword [rsp + 0x30], r9d
cmp dword [rsp + 0x68], r11d
mov r13d, 1
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x38]
mov sil, byte [rbp + 0x180]
mov r11, qword [rbp + 0x170]
lea eax, [r13 + 4]
lea ecx, [rax + 3]
lea r8d, [r13 + 3]
je 0x180037806
neg r9d
mov dword [rsp + 0x30], r9d
jmp 0x180037806
movsxd rax, dword [rdi + 4]
imul rbx, rax, 0x38
mov eax, 0x4000
add rbx, r12
test word [rbx + 8], ax
je 0x180039d3d
mov rcx, rbx
call fcn.1800303ac
jmp 0x180039d3f
xor eax, eax
mov dl, byte [rdi + 8]
mov r8b, sil
mov rcx, rbx
mov dword [rsp + 0x34], eax
call fcn.18003093c
mov eax, dword [rsp + 0x34]
jmp 0x180037e28
movsxd rax, dword [rdi + 4]
imul rcx, rax, 0x38
add rcx, r12
test byte [rcx + 8], 0x24
je 0x1800377fc
call fcn.18003082c
jmp 0x180037e30
movsxd rax, dword [rdi + 4]
imul rbx, rax, 0x38
add rbx, r12
mov rcx, rbx
call fcn.180030804
movsxd rax, dword [rdi + 8]
add qword [rbx], rax
jmp 0x180037e30
movsxd rcx, dword [rdi + 4]
lea rdx, [rsp + 0x64]
mov rax, qword [r11 + 0x78]
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x58]
mov eax, dword [rdi + 8]
mov dword [rsp + 0x64], eax
call fcn.1800342f0
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
movsxd rax, dword [rdi + 0xc]
mov r10, qword [rsp + 0x58]
mov r11, qword [rbp + 0x170]
imul r14, rax, 0x38
mov rbx, qword [r10 + 0x60]
mov eax, dword [r11 + 0x30]
add r14, r12
mov qword [rbp - 0x18], r14
mov qword [rbp + 0x188], rbx
cmp dword [r10 + 0x28], eax
je 0x180039f2f
xor eax, eax
cmp byte [r10 + 2], al
je 0x180039e5e
cmp byte [r10], 3
jne 0x180039e3b
movsxd rax, dword [r10 + 0x2c]
imul rdx, rax, 0x38
mov ecx, dword [rdx + r12 + 0xc]
mov dword [r10 + 0x74], ecx
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x70], ecx
mov rcx, qword [rdx + r12 + 0x10]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x68], rcx
mov rcx, qword [rsp + 0x58]
jmp 0x180039eaf
mov eax, 0x2400
test word [r14 + 8], ax
je 0x180039e54
mov rcx, r14
call fcn.180030648
jmp 0x180037f1f
mov word [r14 + 8], r13w
jmp 0x180037f26
mov rbx, qword [r10 + 0x38]
mov rcx, rbx
call fcn.180028e40
mov edx, dword [rbx + 0x40]
mov rcx, rbx
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x70], edx
mov rdx, qword [rsp + 0x58]
add rdx, 0x74
call fcn.180029360
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 0x68], rax
mov rcx, qword [rsp + 0x58]
mov eax, dword [r15 + 0x7c]
cmp dword [rcx + 0x70], eax
ja 0x18003c4a8
mov rbx, qword [rbp + 0x188]
mov r11, qword [rbp + 0x170]
mov eax, dword [r11 + 0x30]
mov dword [rcx + 0x28], eax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x68]
mov eax, 0x80
cmp byte [rcx], al
jae 0x180039ed2
movzx eax, byte [rcx]
mov dword [rbx], eax
mov al, r13b
jmp 0x180039eda
mov rdx, rbx
call fcn.180019f30
movzx ecx, al
xor r11d, r11d
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x48], ecx
mov rax, qword [rsp + 0x58]
mov word [rax + 0x52], r11w
mov r10, qword [rsp + 0x58]
mov eax, dword [rbx]
cmp dword [r10 + 0x74], eax
jae 0x180039f29
mov qword [r10 + 0x68], r11
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x74], r11d
mov eax, dword [rbx]
cmp eax, 0x18003
ja 0x18003a129
mov r10, qword [rsp + 0x58]
cmp eax, dword [r10 + 0x70]
jbe 0x180039f32
jmp 0x18003a129
mov rcx, qword [r10 + 0x68]
jmp 0x180039f9f
xor r11d, r11d
movzx eax, word [r10 + 0x52]
movsxd r8, dword [rsp + 0x64]
cmp eax, r8d
jg 0x18003a194
mov eax, dword [rbx]
cmp dword [r10 + 0x48], eax
jae 0x18003a14c
mov rcx, qword [r10 + 0x68]
mov qword [rbp - 0x70], rcx
test rcx, rcx
jne 0x180039fa3
xorps xmm0, xmm0
lea r9, [rbp + 0x58]
movups xmmword [rbp + 0x58], xmm0
xor eax, eax
xor edx, edx
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x88], rax
movups xmmword [rbp + 0x78], xmm0
mov r8d, dword [rbx]
mov rcx, qword [r10 + 0x38]
call fcn.180031144
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
mov rcx, qword [rbp + 0x68]
mov eax, dword [rbx]
mov r10, qword [rsp + 0x58]
mov qword [rbp - 0x70], rcx
movzx r12d, word [r10 + 0x52]
mov edi, 0x80
mov rdx, qword [rbp + 0x188]
mov esi, r12d
mov r13d, eax
mov r15d, dword [rbx + r12*4]
lea r14d, [rdi - 0x7f]
mov ebx, dword [r10 + 0x48]
add rbx, rcx
add r13, rcx
movzx eax, byte [rbx]
mov dword [rsp + 0x50], eax
mov dword [r10 + rsi*4 + 0x78], eax
cmp dword [rsp + 0x50], edi
jae 0x180039ff7
movzx eax, byte [rsp + 0x50]
lea rcx, [0x180000000]
add rbx, r14
movzx eax, byte [rax + rcx + 0xf56b0]
jmp 0x18003a03c
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180019f30
mov rcx, qword [rsp + 0x58]
movzx eax, al
add rbx, rax
mov eax, dword [rsp + 0x50]
mov dword [rcx + rsi*4 + 0x78], eax
mov eax, dword [rsp + 0x50]
cmp eax, edi
jb 0x18003a026
add eax, 0xfffffff4
shr eax, 1
jmp 0x18003a035
lea rcx, [0x180000000]
movzx eax, byte [rax + rcx + 0xf56b0]
mov rdx, qword [rbp + 0x188]
add r12d, r14d
add r15, rax
movsxd rsi, r12d
mov dword [rdx + rsi*4], r15d
cmp r12d, dword [rsp + 0x64]
jg 0x18003a05f
cmp rbx, r13
jae 0x18003a05f
mov r10, qword [rsp + 0x58]
jmp 0x180039fcc
mov rcx, qword [rsp + 0x58]
mov rdi, qword [rbp - 0x80]
mov r14, qword [rbp - 0x18]
cmp rbx, r13
jb 0x18003a07b
ja 0x18003a083
mov eax, dword [rcx + 0x70]
cmp r15, rax
jne 0x18003a083
mov eax, dword [rcx + 0x70]
cmp r15, rax
jbe 0x18003a08f
xor ebx, ebx
cmp dword [rdx], ebx
jne 0x18003a0f3
mov r12d, ebx
mov rbx, r13
sub ebx, dword [rbp - 0x70]
mov word [rcx + 0x52], r12w
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x48], ebx
xor eax, eax
mov r10, qword [rsp + 0x58]
cmp qword [r10 + 0x68], rax
jne 0x18003a0ca
mov ecx, 0x2400
test word [rbp + 0x60], cx
jne 0x18003a0bc
cmp dword [rbp + 0x78], eax
je 0x18003a0ca
lea rcx, [rbp + 0x58]
call fcn.180030688
mov r10, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x64]
mov r13d, 1
mov edx, dword [rsp + 0x50]
mov rbx, qword [rbp + 0x188]
mov r15, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
mov sil, byte [rbp + 0x180]
jmp 0x18003a153
cmp qword [rcx + 0x68], rbx
jne 0x18003a112
mov eax, 0x2400
test word [rbp + 0x60], ax
jne 0x18003a109
cmp dword [rbp + 0x78], ebx
je 0x18003a112
lea rcx, [rbp + 0x58]
call fcn.180030688
mov sil, byte [rbp + 0x180]
mov r13d, 1
mov r12, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x38]
mov eax, dword [r14 + 0xc]
test eax, eax
jle 0x18003cf93
dec eax
movsxd rcx, eax
lea rax, [rcx + rcx*2]
lea rdi, [r14 + rax*8]
jmp 0x180037e30
mov edx, r11d
mov dword [rsp + 0x50], edx
movzx eax, word [r10 + 0x52]
cmp eax, r8d
jg 0x18003a19d
cmp byte [rdi + 1], 0xf5
jne 0x18003a17a
mov rdx, qword [rdi + 0x10]
mov r8d, 0x800
mov rcx, r14
call fcn.180030cb0
jmp 0x180037f1f
mov eax, 0x2400
test word [r14 + 8], ax
jne 0x180039e47
mov word [r14 + 8], r13w
jmp 0x180037f1f
mov edx, dword [r10 + r8*4 + 0x78]
mov dword [rsp + 0x50], edx
mov eax, 0x2400
test word [r14 + 8], ax
je 0x18003a1bf
mov rcx, r14
call fcn.180030648
mov r10, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x64]
mov edx, dword [rsp + 0x50]
lea eax, [r8 + 1]
movsxd rcx, eax
mov eax, dword [rbx + rcx*4]
cmp dword [r10 + 0x74], eax
jb 0x18003a272
movsxd rax, r8d
mov esi, dword [rbx + rax*4]
add rsi, qword [r10 + 0x68]
cmp edx, 0xc
jae 0x18003a1f2
mov r8, r14
mov rcx, rsi
call fcn.180034398
jmp 0x1800378e7
mov al, byte [rbp + 0x180]
lea ebx, [rdx - 0xc]
shr ebx, 1
mov dword [r14 + 0xc], ebx
mov byte [r14 + 0xa], al
lea edx, [rbx + 2]
cmp dword [r14 + 0x20], edx
jge 0x18003a22c
xor r8d, r8d
mov word [r14 + 8], r13w
mov rcx, r14
call fcn.180030178
test eax, eax
jne 0x18003d014
mov rcx, qword [r14 + 0x10]
jmp 0x18003a234
mov rcx, qword [r14 + 0x18]
mov qword [r14 + 0x10], rcx
mov r8d, ebx
mov rdx, rsi
call fcn.1800c58e0
mov rax, qword [r14 + 0x10]
mov ecx, ebx
xor ebx, ebx
mov byte [rcx + rax], bl
mov rax, qword [r14 + 0x10]
mov byte [rcx + rax + 1], bl
lea rcx, [0x180000000]
mov eax, dword [rsp + 0x50]
and rax, r13
movzx eax, word [rcx + rax*2 + 0xf0734]
mov word [r14 + 8], ax
jmp 0x1800378e7
mov byte [r14 + 0xa], sil
test byte [rdi + 2], 0xc0
mov edx, dword [rsp + 0x50]
je 0x18003a296
cmp edx, 0xc
jb 0x18003a28a
test r13b, dl
je 0x18003a2bd
mov eax, 0x80
test byte [rdi + 2], al
jne 0x18003a2bd
jmp 0x18003a29b
mov eax, 0x80
cmp edx, eax
jb 0x18003a2a8
lea r8d, [rdx - 0xc]
shr r8d, 1
jmp 0x18003a2b8
lea rcx, [0x180000000]
movzx r8d, byte [rdx + rcx + 0xf56b0]
test r8d, r8d
jne 0x18003a2d1
mov r8, r14
lea rcx, [0x18015faf8]
call fcn.180034398
jmp 0x180037f1f
movsxd rax, dword [rsp + 0x64]
mov r9, r14
mov rcx, qword [rsp + 0x58]
mov edx, dword [rbx + rax*4]
mov rcx, qword [rcx + 0x38]
call fcn.180031144
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
mov edx, dword [rsp + 0x50]
mov r8, r14
mov rcx, qword [r14 + 0x10]
call fcn.180034398
mov eax, 0xefff
and word [r14 + 8], ax
jmp 0x180037f1f
sub ebx, 0x5b
je 0x18003a75d
sub ebx, 1
je 0x18003a3b9
sub ebx, 1
je 0x18003a379
cmp ebx, 1
jne 0x180037801
movsxd rax, dword [rdi + 4]
lea r8, [rbp + 0x10]
mov rcx, qword [r15 + 0x20]
mov edx, dword [rdi + 0xc]
shl rax, 5
mov rcx, qword [rax + rcx + 8]
call fcn.18002e690
mov rcx, qword [rbp + 0x170]
mov rdx, rdi
call fcn.1800374f0
movsxd rcx, dword [rbp + 0x10]
mov qword [rax], rcx
mov r11, qword [rbp + 0x170]
mov r12, qword [rsp + 0x40]
jmp 0x1800378fa
movsxd rcx, dword [rdi + 4]
lea rdx, [rbp + 0x30]
mov rax, qword [r11 + 0x78]
xor ebx, ebx
mov rcx, qword [rax + rcx*8]
mov rcx, qword [rcx + 0x38]
mov qword [rbp + 0x30], rbx
call fcn.18002e758
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
mov rcx, qword [rbp + 0x170]
mov rdx, rdi
call fcn.1800374f0
mov rcx, qword [rbp + 0x30]
jmp 0x18003a365
mov r9b, byte [r11 + 0xc3]
xor eax, eax
mov rsi, qword [rdi + 0x10]
mov edx, eax
mov r13d, eax
mov dword [rsp + 0x68], eax
mov r12d, eax
mov qword [rbp - 0x78], rax
movsxd rax, dword [rdi + 4]
xor r11d, r11d
imul r8, rax, 0x38
mov eax, dword [rdi + 8]
lea r10d, [rdx + 1]
add r8, qword [rsp + 0x40]
sub eax, r10d
cdqe
imul r14, rax, 0x38
movsxd rax, dword [rdi + 0xc]
imul rcx, rax, 0x38
add r14, r8
mov qword [rbp - 0x70], r8
add rcx, qword [rsp + 0x40]
mov qword [rbp - 0x18], r14
mov byte [rbp + 0x188], r9b
mov qword [rbp + 0x50], rcx
test rsi, rsi
je 0x18003a488
mov al, byte [rsi]
lea rbx, [r8 + 8]
mov r15b, byte [rbp + 0x180]
lea r14d, [rdx + 0x20]
mov r12d, 0xfffb
lea rcx, [rbx - 8]
mov r8b, r15b
mov dl, al
call fcn.18003732c
cmp byte [rsi], 0x45
jne 0x18003a45a
movzx eax, word [rbx]
test al, 4
je 0x18003a45a
and ax, r12w
or ax, r14w
mov word [rbx], ax
mov r10d, 1
add rbx, 0x38
add rsi, r10
xor r11d, r11d
mov al, byte [rsi]
test al, al
jne 0x18003a435
mov r12d, dword [rsp + 0x68]
mov r9b, byte [rbp + 0x188]
mov rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x70]
mov r14, qword [rbp - 0x18]
lea r15, [r14 + 0x24]
movzx ecx, word [r15 - 0x1c]
test r10b, cl
je 0x18003a4b1
mov eax, 0x4000
and cx, ax
neg cx
sbb eax, eax
and eax, 0xa
mov dword [r15], eax
add r12d, r10d
jmp 0x18003a612
test cl, 0x24
je 0x18003a58a
mov r8, qword [r15 - 0x24]
mov rdx, r8
test r8, r8
jns 0x18003a4c9
not rdx
add r12d, r10d
cmp rdx, 0x7f
ja 0x18003a4fa
mov rax, r8
and rax, r10
cmp rax, r8
jne 0x18003a4ef
mov eax, 4
cmp r9b, al
jb 0x18003a4ef
lea eax, [rdx + 8]
jmp 0x18003a582
add r13, r10
mov eax, r10d
jmp 0x18003a582
cmp rdx, 0x7fff
ja 0x18003a50a
mov eax, 2
jmp 0x18003a52c
cmp rdx, 0x7fffff
ja 0x18003a51e
add r13, 3
mov eax, 3
jmp 0x18003a582
cmp rdx, 0x7fffffff
ja 0x18003a531
mov eax, 4
add r13, rax
jmp 0x18003a582
movabs rax, 0x7fffffffffff
cmp rdx, rax
ja 0x18003a54b
add r13, 6
mov eax, 5
jmp 0x18003a582
mov edx, 8
add r13, rdx
lea eax, [rdx + 0x18]
test al, cl
je 0x18003a57d
mov eax, 0xffdf
xorps xmm0, xmm0
and cx, ax
lea eax, [rdx - 1]
cvtsi2sd xmm0, r8
or cx, dx
mov word [r15 - 0x1c], cx
movsd qword [r15 - 0x24], xmm0
jmp 0x18003a582
mov eax, 6
mov dword [r15], eax
jmp 0x18003a60e
mov eax, 8
test al, cl
je 0x18003a5a3
add r12d, r10d
add r13, rax
mov eax, 7
mov dword [r15], eax
jmp 0x18003a612
mov esi, dword [r15 - 0x18]
mov eax, ecx
shr eax, 1
and eax, r10d
bt cx, 0xe
lea r14d, [rsi + 6]
lea r14d, [rax + r14*2]
jae 0x18003a5ef
lea rbx, [r15 - 0x24]
movsxd rax, dword [rbx]
lea r14d, [r14 + rax*2]
test r13, r13
je 0x18003a5e8
mov rcx, rbx
call fcn.1800303ac
xor r11d, r11d
test eax, eax
jne 0x18003d014
add esi, dword [rbx]
lea r10d, [r11 + 1]
jmp 0x18003a5ef
add rdx, rax
mov qword [rbp - 0x78], rdx
mov eax, esi
mov ecx, r10d
add r13, rax
mov eax, r14d
jmp 0x18003a5ff
add ecx, r10d
shr rax, 7
test rax, rax
jne 0x18003a5fc
add r12d, ecx
mov dword [r15], r14d
mov r8, qword [rbp - 0x70]
lea rax, [r15 - 0x24]
cmp rax, r8
je 0x18003a62f
mov r9b, byte [rbp + 0x188]
sub r15, 0x38
mov rdx, qword [rbp - 0x78]
jmp 0x18003a48c
cmp r12d, 0x7e
jle 0x18003a664
mov edx, r10d
movsxd rax, r12d
jmp 0x18003a640
add edx, r10d
shr rax, 7
test rax, rax
jne 0x18003a63d
add r12d, edx
mov ecx, r10d
movsxd rax, r12d
jmp 0x18003a657
add ecx, r10d
shr rax, 7
test rax, rax
jne 0x18003a654
cmp edx, ecx
jge 0x18003a667
add r12d, r10d
mov r15, qword [rbp - 0x78]
mov r14, qword [rbp + 0x50]
movsxd rsi, r12d
movsxd rax, dword [r14 + 0x20]
lea rbx, [rsi + r13]
lea rcx, [rbx + r15]
cmp rcx, rax
jg 0x18003a68d
mov rax, qword [r14 + 0x18]
mov qword [r14 + 0x10], rax
jmp 0x18003a6b5
mov r10, qword [rsp + 0x48]
movsxd rax, dword [r10 + 0x7c]
cmp rcx, rax
jg 0x18003c4a8
mov edx, ebx
mov rcx, r14
call fcn.1800302d4
test eax, eax
jne 0x18003d014
lea r10d, [rax + 1]
mov dword [r14 + 0xc], ebx
mov eax, 0x10
mov word [r14 + 8], ax
test r15, r15
je 0x18003a6d5
mov eax, 0x4010
mov dword [r14], r15d
mov word [r14 + 8], ax
mov rbx, qword [r14 + 0x10]
mov edi, 0x80
lea r14, [rbx + rsi]
cmp r12d, edi
jae 0x18003a6ef
mov byte [rbx], r12b
mov eax, r10d
jmp 0x18003a700
mov rdx, rsi
mov rcx, rbx
call fcn.180019d3c
mov r10d, 1
mov r15, qword [rbp - 0x70]
mov r13, qword [rbp - 0x18]
movzx eax, al
add rbx, rax
mov esi, dword [r15 + 0x24]
cmp esi, edi
jae 0x18003a71e
mov byte [rbx], sil
mov eax, r10d
jmp 0x18003a729
mov rdx, rsi
mov rcx, rbx
call fcn.180019d3c
movzx eax, al
mov r8d, esi
mov rdx, r15
mov rcx, r14
add rbx, rax
call fcn.180034338
mov eax, eax
add r15, 0x38
add r14, rax
mov r10d, 1
cmp r15, r13
jbe 0x18003a70e
mov rdi, qword [rbp - 0x80]
mov r13d, r10d
jmp 0x180037c82
movsxd rax, dword [rdi + 4]
mov rsi, qword [rdi + 0x10]
imul rbx, rax, 0x38
mov al, byte [rsi]
add rbx, r12
mov r8b, byte [rbp + 0x180]
mov dl, al
mov rcx, rbx
call fcn.18003732c
cmp byte [rsi], 0x45
mov r8d, 4
jne 0x18003a7dd
movzx ecx, word [rbx + 8]
test r8b, cl
je 0x18003a7dd
mov rdx, qword [rbx]
movabs r8, 0xffffffffffff
movabs rax, 0x800000000000
add rax, rdx
cmp rax, r8
mov eax, 0xfffb
mov r8d, 4
ja 0x18003a7c6
and cx, ax
or cx, 0x20
jmp 0x18003a7d9
xorps xmm0, xmm0
and cx, ax
cvtsi2sd xmm0, rdx
or cx, 8
movsd qword [rbx], xmm0
mov word [rbx + 8], cx
add rsi, r13
mov al, byte [rsi]
test al, al
je 0x18003813e
add rbx, 0x38
jmp 0x18003a76e
movsxd rbx, dword [rdi + 4]
mov r8d, dword [rdi + 0xc]
mov edx, dword [rdi + 8]
shl rbx, 5
add rbx, qword [r15 + 0x20]
mov rcx, qword [rbx + 8]
call fcn.18002e6dc
mov r10d, 2
mov dword [rsp + 0x34], eax
cmp dword [rdi + 8], r13d
jne 0x18003a82e
mov rcx, qword [rbx + 0x18]
mov eax, dword [rdi + 0xc]
mov dword [rcx], eax
or dword [r15 + 0x2c], r13d
jmp 0x18003a83e
cmp dword [rdi + 8], r10d
jne 0x18003a83e
mov rcx, qword [rbx + 0x18]
mov al, byte [rdi + 0xc]
mov byte [rcx + 0x70], al
cmp dword [rdi + 4], r13d
jne 0x18003a872
mov rax, qword [r15 + 8]
jmp 0x18003a85c
and dword [rax + 0xc8], 0xfffffffd
or dword [rax + 0xc8], r13d
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x18003a84a
mov r11, qword [rbp + 0x170]
and dword [r11 + 0xc8], 0xfffffffc
jmp 0x18003a879
mov r11, qword [rbp + 0x170]
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x180037963
mov r9d, dword [rsp + 0x30]
mov r8d, 4
jmp 0x1800377fc
mov ecx, ebx
sub ecx, 0x60
je 0x18003aa9d
sub ecx, 1
je 0x18003aaba
sub ecx, 1
je 0x18003aaba
sub ecx, 1
je 0x18003a985
sub ecx, 1
je 0x18003a985
sub ecx, 1
je 0x18003a985
sub ecx, 1
je 0x18003a985
sub ecx, 1
je 0x18003a8e4
cmp ecx, 1
jne 0x1800377fc
movsxd rax, dword [rdi + 4]
imul rsi, rax, 0x38
add rsi, r12
mov rcx, rsi
call fcn.1800374ac
movsxd rcx, dword [rdi + 8]
movzx ebx, ax
imul r14, rcx, 0x38
add r14, r12
mov rcx, r14
call fcn.1800374ac
movsxd rcx, dword [rdi + 0xc]
and al, bl
imul r15, rcx, 0x38
movzx ecx, word [r14 + 8]
mov r8d, 4
or cx, word [rsi + 8]
add r15, r12
test r8b, al
je 0x18003b069
movzx ecx, byte [rdi]
mov rdx, qword [r14]
mov r8, qword [rsi]
mov qword [rbp - 0x58], rdx
sub ecx, 0x67
je 0x18003b001
sub ecx, 1
je 0x18003afef
sub ecx, 1
je 0x18003afe1
cmp ecx, 1
je 0x18003afb5
test r8, r8
je 0x18003b15e
cmp r8, 0xffffffffffffffff
mov rax, rdx
cqo
cmove r8, r13
idiv r8
mov qword [rbp - 0x58], rdx
jmp 0x18003b042
movsxd rax, dword [rdi + 4]
imul rsi, rax, 0x38
movsxd rax, dword [rdi + 8]
imul rcx, rax, 0x38
movsxd rax, dword [rdi + 0xc]
add rsi, r12
imul r14, rax, 0x38
add rcx, r12
add r14, r12
mov al, byte [rcx + 8]
or al, byte [rsi + 8]
test r13b, al
je 0x18003a9d4
mov eax, 0x2400
test word [r14 + 8], ax
je 0x18003a9ca
mov rcx, r14
call fcn.180030648
jmp 0x1800378e7
mov word [r14 + 8], r13w
jmp 0x180039275
call fcn.180030740
mov rcx, rsi
mov rbx, rax
call fcn.180030740
mov r8b, byte [rdi]
mov rdx, rax
cmp r8b, 0x63
jne 0x18003a9f8
and rbx, rax
jmp 0x18003aa7b
cmp r8b, 0x64
jne 0x18003aa03
or rbx, rdx
jmp 0x18003aa7b
xor eax, eax
test rdx, rdx
je 0x18003aa7b
jns 0x18003aa2f
mov rcx, rdx
mov eax, reloc.WLDAP32.dll_Ordinal_203
sub al, r8b
neg rcx
mov r8b, al
mov rax, rdx
cmp rax, 0xffffffffffffffc0
mov edx, 0x40
cmovg rdx, rcx
xor eax, eax
cmp rdx, 0x40
jl 0x18003aa4b
test rbx, rbx
jns 0x18003aa46
cmp r8b, 0x65
je 0x18003aa46
or rbx, 0xffffffffffffffff
jmp 0x18003aa7b
mov rbx, rax
jmp 0x18003aa7b
mov rcx, rdx
cmp r8b, 0x65
jne 0x18003aa5c
shl rbx, cl
mov r8, rbx
jmp 0x18003aa78
mov r8, rbx
shr r8, cl
test rbx, rbx
jns 0x18003aa78
mov ecx, 0x40
sub cl, dl
or rdx, 0xffffffffffffffff
shl rdx, cl
or r8, rdx
mov rbx, r8
mov eax, 0x3e40
mov qword [r14], rbx
and word [r14 + 8], ax
mov r8d, 4
or word [r14 + 8], r8w
mov r14, qword [rsp + 0x38]
jmp 0x18003813e
movsxd rcx, dword [rdi + 4]
mov rax, qword [r11 + 0x78]
mov rsi, qword [rax + rcx*8]
test rsi, rsi
je 0x18003aaba
mov eax, dword [rdi + 8]
cmp dword [rsi + 0x4c], eax
je 0x18003ac26
mov eax, dword [r11 + 0xc8]
and al, 3
cmp al, r13b
je 0x18003cf9e
movsxd r13, dword [rdi + 0xc]
xor r9d, r9d
mov r10, qword [rsp + 0x48]
mov rax, r13
movsxd r15, dword [rdi + 8]
mov esi, r9d
shl rax, 5
mov r12d, r9d
add rax, qword [r10 + 0x20]
mov rcx, qword [rax + 8]
mov qword [rbp + 0x188], rcx
cmp bl, 0x62
jne 0x18003ab22
mov rax, qword [rax + 0x18]
movzx r14d, word [rdi + 2]
and r14d, 8
or r14d, r8d
mov cl, byte [rax + 0x70]
cmp cl, byte [r11 + 0xc3]
jae 0x18003ab25
mov byte [r11 + 0xc3], cl
jmp 0x18003ab25
mov r14d, r9d
mov eax, 0x10
test byte [rdi + 2], al
je 0x18003ab4a
imul rbx, r15, 0x38
add rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.180030804
mov r11, qword [rbp + 0x170]
mov r15d, dword [rbx]
mov al, byte [rdi + 1]
cmp al, 0xf7
jne 0x18003ab5d
mov r12, qword [rdi + 0x10]
movzx esi, word [r12 + 8]
jmp 0x18003ab64
cmp al, 0xfd
jne 0x18003ab64
mov esi, dword [rdi + 0x10]
mov edx, dword [rdi + 4]
xor ebx, ebx
mov r9d, r13d
mov byte [rsp + 0x20], bl
mov r8d, esi
mov rcx, r11
call fcn.18003711c
mov rsi, rax
test rax, rax
je 0x18003d014
lea r13d, [rbx + 1]
mov dword [rsi + 0x4c], r15d
mov byte [rax + 2], r13b
lea eax, [rbx + 4]
or dword [rsi + 8], eax
mov rax, qword [rsi + 0x38]
cmp r15d, r13d
jge 0x18003abd5
lea rax, [0x180114a54]
mov r9d, 0x108ea
lea r14d, [rbx + 0xb]
mov qword [rsp + 0x20], rax
mov ecx, r14d
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1800188e8
mov dword [rsp + 0x34], r14d
jmp 0x18003abf3
mov rcx, qword [rbp + 0x188]
mov r9, r12
mov r8d, r14d
mov qword [rsp + 0x20], rax
mov edx, r15d
call fcn.180028cdc
mov dword [rsp + 0x34], eax
mov r11, qword [rbp + 0x170]
mov r8d, 4
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x38]
mov r9d, dword [rsp + 0x30]
mov qword [rsi + 0x40], r12
lea r10d, [r8 - 2]
cmp byte [rdi + 1], 0xf7
mov r12, qword [rsp + 0x40]
setne al
mov byte [rsi + 4], al
mov rax, qword [rsi + 0x38]
mov cl, byte [rdi + 2]
and cl, 3
mov byte [rax + 3], cl
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x180037963
jmp 0x18003927a
cmp ebx, 0x74
ja 0x18003b516
je 0x18003b4d7
cmp ebx, 0x6f
ja 0x18003b191
je 0x18003b30c
sub ebx, 0x6a
je 0x18003a8e4
sub ebx, 1
je 0x18003a8e4
sub ebx, 1
je 0x18003adb0
sub ebx, 1
je 0x18003acf6
cmp ebx, 1
jne 0x180037801
movsxd rax, dword [rdi + 4]
imul rsi, rax, 0x38
movsxd rax, dword [rdi + 8]
imul rbx, rax, 0x38
add rsi, r12
mov eax, 0x2400
add rbx, r12
test word [rbx + 8], ax
je 0x18003accf
mov rcx, rbx
call fcn.180030648
mov r11, qword [rbp + 0x170]
mov ecx, 8
mov r9d, dword [rsp + 0x30]
lea r8d, [rcx - 4]
lea r10d, [rcx - 6]
jmp 0x18003acd4
mov word [rbx + 8], r13w
test byte [rsi + 8], r13b
jne 0x18003ae0e
mov rcx, rsi
mov word [rbx + 8], r8w
call fcn.180030740
not rax
mov qword [rbx], rax
jmp 0x18003803a
movsxd rcx, dword [rdi + 8]
or r9d, 0xffffffff
mov rax, qword [r11 + 0x78]
mov edx, dword [rdi + 4]
mov rbx, qword [rax + rcx*8]
xor eax, eax
mov rcx, r11
mov byte [rsp + 0x20], al
movsx r8d, word [rbx + 0x50]
call fcn.18003711c
mov rdx, rax
test rax, rax
je 0x18003d014
or dword [rax + 8], r13d
mov r8d, 4
mov byte [rax + 2], r13b
mov r9, qword [rbx + 0x40]
mov qword [rax + 0x40], r9
mov cl, byte [rbx + 4]
mov byte [rax + 4], cl
mov ecx, dword [rbx + 0x4c]
mov dword [rax + 0x4c], ecx
mov eax, dword [rax + 8]
xor eax, dword [rbx + 8]
and eax, r8d
xor dword [rdx + 8], eax
mov rax, qword [rdx + 0x38]
cmp ecx, r13d
jge 0x18003ad97
lea rax, [0x180114a54]
mov r9d, 0x108ea
lea r8, str.database_corruption
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, reloc.Cabinet.dll_FCIAddFile
call fcn.1800188e8
mov ecx, reloc.Cabinet.dll_FCIAddFile
mov dword [rsp + 0x34], ecx
jmp 0x180037e30
mov edx, ecx
mov qword [rsp + 0x20], rax
mov rcx, qword [rbx + 0x10]
call fcn.180028cdc
mov dword [rsp + 0x34], eax
jmp 0x180037e30
movsxd rax, dword [rdi + 4]
imul r13, rax, 0x38
movsxd rax, dword [rdi + 8]
imul rsi, rax, 0x38
movsxd rax, dword [rdi + 0xc]
add r13, r12
imul rbx, rax, 0x38
movzx r15d, word [r13 + 8]
add rsi, r12
mov al, r15b
add rbx, r12
or al, byte [rsi + 8]
test al, 1
je 0x18003ae1a
mov eax, 0x2400
test word [rbx + 8], ax
je 0x18003adfe
mov rcx, rbx
call fcn.180030648
mov r13d, 1
jmp 0x180037de9
mov r15, qword [rsp + 0x48]
mov r13d, 1
mov word [rbx + 8], r13w
mov sil, byte [rbp + 0x180]
jmp 0x180037801
test r15b, 0x12
jne 0x18003ae52
mov r12b, byte [rbp + 0x180]
xor r8d, r8d
mov dl, r12b
mov rcx, r13
call fcn.180030408
test eax, eax
jne 0x18003d014
movzx r15d, word [r13 + 8]
mov eax, 0xfffd
and r15w, ax
mov eax, 0x4000
jmp 0x18003ae87
mov eax, 0x4000
test ax, r15w
je 0x18003ae80
mov rcx, r13
call fcn.1800303ac
test eax, eax
jne 0x18003d014
movzx r15d, word [r13 + 8]
mov eax, 0xfffd
and r15w, ax
mov eax, 0x4000
mov r12b, byte [rbp + 0x180]
movzx r14d, word [rsi + 8]
test r14b, 0x12
jne 0x18003aeba
xor r8d, r8d
mov dl, r12b
mov rcx, rsi
call fcn.180030408
xor edx, edx
test eax, eax
jne 0x18003d014
movzx r14d, word [rsi + 8]
mov eax, 0xfffd
and r14w, ax
jmp 0x18003aecc
test ax, r14w
je 0x18003aeca
mov rcx, rsi
call fcn.1800303ac
jmp 0x18003aea0
xor edx, edx
mov r10, qword [rsp + 0x48]
mov ecx, dword [r13 + 0xc]
add ecx, dword [rsi + 0xc]
movsxd r12, ecx
movsxd rax, dword [r10 + 0x7c]
mov dword [rbp + 0x188], ecx
cmp r12, rax
jg 0x18003c4a8
mov r8d, edx
cmp rbx, rsi
lea edx, [rcx + 3]
mov rcx, rbx
sete r8b
call fcn.180030178
test eax, eax
jne 0x18003d014
mov eax, 0x3e40
and word [rbx + 8], ax
mov eax, 2
or word [rbx + 8], ax
cmp rbx, rsi
je 0x18003af38
movsxd r8, dword [rsi + 0xc]
mov rdx, qword [rsi + 0x10]
mov rcx, qword [rbx + 0x10]
call fcn.1800c58e0
mov word [rsi + 8], r14w
movsxd rcx, dword [rsi + 0xc]
add rcx, qword [rbx + 0x10]
movsxd r8, dword [r13 + 0xc]
mov rdx, qword [r13 + 0x10]
call fcn.1800c58e0
xor r9d, r9d
mov word [r13 + 8], r15w
mov rax, qword [rbx + 0x10]
mov edx, r9d
lea r13d, [r9 + 1]
mov byte [r12 + rax], r9b
lea r10d, [r9 + 2]
mov rax, qword [rbx + 0x10]
lea rcx, [rdx + r12]
add rdx, r13
mov byte [rcx + rax + 1], r9b
cmp rdx, r10
jl 0x18003af68
mov sil, byte [rbp + 0x180]
mov eax, 0x200
or word [rbx + 8], ax
mov eax, dword [rbp + 0x188]
mov r11, qword [rbp + 0x170]
mov r15, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
mov r14, qword [rsp + 0x38]
mov dword [rbx + 0xc], eax
mov byte [rbx + 0xa], sil
jmp 0x18003a885
test r8, r8
je 0x18003b15e
cmp r8, 0xffffffffffffffff
jne 0x18003afd7
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x18003b072
mov rax, rdx
cqo
idiv r8
jmp 0x18003b03e
mov rdx, r8
lea rcx, [rbp - 0x58]
call fcn.18001a11c
jmp 0x18003affb
mov rdx, r8
lea rcx, [rbp - 0x58]
call fcn.18001a0ec
test eax, eax
jne 0x18003b072
jmp 0x18003b042
test r8, r8
js 0x18003b01f
test rdx, rdx
jle 0x18003b03a
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, r8
jge 0x18003b03a
jmp 0x18003b072
test rdx, rdx
jns 0x18003b03a
movabs rcx, 0x8000000000000001
lea rax, [r8 + 1]
sub rcx, rdx
cmp rcx, rax
jg 0x18003b072
lea rax, [rdx + r8]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x58]
mov r8d, 4
mov qword [r15], rax
mov ecx, 0x3e40
movzx eax, word [r15 + 8]
and ax, cx
or ax, r8w
lea ecx, [r8 + 4]
jmp 0x18003b148
test r13b, cl
jne 0x18003b164
mov rcx, rsi
call fcn.180030798
mov rcx, r14
movaps xmm6, xmm0
call fcn.180030798
movzx edx, byte [rdi]
sub edx, 0x67
je 0x18003b0ef
sub edx, 1
je 0x18003b0e9
sub edx, 1
je 0x18003b0e3
cmp edx, 1
je 0x18003b0d3
mov rcx, rsi
call fcn.180030740
mov rcx, r14
mov rbx, rax
call fcn.180030740
mov qword [rbp - 0x58], rax
test rbx, rbx
je 0x18003b15e
cmp rbx, 0xffffffffffffffff
cqo
xorps xmm0, xmm0
cmove rbx, r13
idiv rbx
cvtsi2sd xmm0, rdx
jmp 0x18003b0f3
ucomisd xmm6, xmm7
je 0x18003b15e
divsd xmm0, xmm6
jmp 0x18003b0f3
mulsd xmm0, xmm6
jmp 0x18003b0f3
subsd xmm0, xmm6
jmp 0x18003b0f3
addsd xmm0, xmm6
movabs rcx, 0xfffffffffffff
movsd qword [rbp + 0x188], xmm0
mov rax, qword [rbp + 0x188]
movabs rdx, 0x7ff0000000000000
test rcx, rax
mov r8d, 4
setne cl
and rax, rdx
cmp rax, rdx
sete al
test al, cl
jne 0x18003b164
movzx eax, word [r15 + 8]
mov ecx, 0x3e40
and ax, cx
movsd qword [r15], xmm0
lea ecx, [r8 + 4]
or ax, cx
mov r9d, dword [rsp + 0x30]
mov word [r15 + 8], ax
mov r11, qword [rbp + 0x170]
jmp 0x18003943b
mov r8d, 4
mov eax, 0x2400
test word [r15 + 8], ax
je 0x18003b182
mov rcx, r15
call fcn.180030648
mov r15, qword [rsp + 0x48]
jmp 0x1800378e7
mov word [r15 + 8], r13w
mov r15, qword [rsp + 0x48]
jmp 0x18003aa93
sub ebx, 0x70
je 0x18003b30c
sub ebx, 1
je 0x18003b20f
sub ebx, 1
je 0x18003b1d3
cmp ebx, 1
jne 0x180037801
movsxd rcx, dword [rdi + 4]
mov rax, qword [r11 + 0x78]
mov rdx, qword [rax + rcx*8]
mov rcx, qword [rdx + 0x18]
lea rax, [rcx + 1]
mov qword [rdx + 0x18], rax
test rcx, rcx
je 0x18003831d
jmp 0x1800377fc
mov r8d, dword [rdi + 8]
or r9d, 0xffffffff
mov edx, dword [rdi + 4]
mov rcx, r11
mov byte [rsp + 0x20], r13b
call fcn.18003711c
test rax, rax
je 0x18003d014
mov rcx, qword [rdi + 0x10]
mov r8, rax
mov qword [rax + 0x40], rcx
mov rcx, r15
mov edx, dword [rdi + 0xc]
call fcn.18003e048
jmp 0x180037e24
mov rdx, rdi
mov rcx, r11
call fcn.1800374f0
mov rdx, qword [rdi + 0x10]
xor r8d, r8d
mov rbx, rax
test rdx, rdx
jne 0x18003b22e
mov ecx, r8d
jmp 0x18003b241
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], r8b
jne 0x18003b232
and ecx, 0x3fffffff
mov dword [rdi + 4], ecx
cmp sil, r13b
je 0x18003b2cd
mov qword [rsp + 0x20], r8
mov r9b, r13b
or r8d, 0xffffffff
mov rcx, rbx
call fcn.180030dd4
xor r8d, r8d
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x18003c4a8
lea eax, [r8 + 2]
test byte [rbx + 8], al
je 0x18003b295
cmp byte [rbx + 0xa], sil
je 0x18003b295
mov dl, sil
mov rcx, rbx
call fcn.180018b98
xor r8d, r8d
test eax, eax
jne 0x18003d014
mov eax, 0x800
mov dword [rbx + 0x20], r8d
or word [rbx + 8], ax
cmp byte [rdi + 1], 0xf9
jne 0x18003b2b9
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x18003b2b9
mov rcx, r15
call fcn.180016a48
mov byte [rdi + 1], 0xf9
mov rax, qword [rbx + 0x10]
mov qword [rdi + 0x10], rax
mov eax, dword [rbx + 0xc]
mov ecx, eax
mov dword [rdi + 4], eax
cmp ecx, dword [r15 + 0x7c]
jg 0x18003c4a8
mov r11, qword [rbp + 0x170]
mov byte [rdi], Ordinal_73
mov rdx, rdi
mov rcx, r11
call fcn.1800374f0
mov ecx, 0xa02
mov word [rax + 8], cx
mov rcx, qword [rdi + 0x10]
mov qword [rax + 0x10], rcx
mov ecx, dword [rdi + 4]
mov dword [rax + 0xc], ecx
mov byte [rax + 0xa], sil
jmp 0x180037e30
mov rax, qword [r11 + 0x78]
movsxd rdx, dword [rdi + 4]
mov rbx, qword [rax + rdx*8]
xor eax, eax
test rbx, rbx
je 0x18003b35d
mov rcx, qword [rbx + 0x10]
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x28], eax
test rcx, rcx
je 0x18003b4c2
mov edx, dword [rbx + 0x4c]
xor r8d, r8d
call fcn.18002e40c
mov r11, qword [rbp + 0x170]
mov r8d, 4
mov r9d, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
lea r10d, [r8 - 2]
jmp 0x18003b4c6
mov r8d, dword [rdi + 8]
or r9d, 0xffffffff
mov rcx, r11
mov byte [rsp + 0x20], al
call fcn.18003711c
mov rbx, rax
test rax, rax
je 0x18003d014
or dword [rax + 8], r13d
lea rsi, [rax + 0x10]
movzx ecx, word [rdi + 2]
mov r9, rsi
or ecx, 5
mov dword [rsp + 0x28], 0x41e
mov dword [rsp + 0x20], ecx
mov r8, r15
mov rcx, qword [r15]
xor edx, edx
call fcn.180027294
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x18003b48a
mov rcx, qword [rsi]
xor r8d, r8d
mov edx, r13d
call fcn.180027ca0
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x18003b48a
mov r15, qword [rdi + 0x10]
lea r14, [rbx + 0x4c]
mov rcx, qword [rsi]
mov qword [rbx + 0x40], r15
test r15, r15
je 0x18003b45d
movzx r8d, word [rdi + 2]
mov rdx, r14
or r8d, 2
call fcn.18002dfc4
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x18003b456
mov rax, qword [rbx + 0x38]
cmp dword [r14], r13d
jge 0x18003b439
lea rax, [0x180114a54]
mov r15d, reloc.Cabinet.dll_FCIAddFile
mov ecx, r15d
mov qword [rsp + 0x20], rax
mov r9d, 0x108ea
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1800188e8
mov dword [rsp + 0x34], r15d
jmp 0x18003b456
mov edx, dword [r14]
mov r9, r15
mov rcx, qword [rsi]
mov r8d, 4
mov qword [rsp + 0x20], rax
call fcn.180028cdc
mov dword [rsp + 0x34], eax
xor eax, eax
mov byte [rbx + 4], al
jmp 0x18003b480
mov rax, qword [rbx + 0x38]
xor r9d, r9d
mov edx, r13d
mov dword [r14], r13d
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 4]
call fcn.180028cdc
mov dword [rsp + 0x34], eax
mov byte [rbx + 4], r13b
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x48]
movzx eax, word [rdi + 2]
mov r8d, 4
mov r11, qword [rbp + 0x170]
sub ax, 8
mov sil, byte [rbp + 0x180]
neg ax
mov eax, dword [rbx + 8]
mov r9d, dword [rsp + 0x30]
lea r10d, [r8 - 2]
sbb ecx, ecx
and eax, 0xfffffffb
and ecx, r8d
or ecx, eax
mov dword [rbx + 8], ecx
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x180037963
mov byte [rbx + 2], r13b
jmp 0x1800377fc
mov r8d, dword [rdi + 0xc]
or r9d, 0xffffffff
mov edx, dword [rdi + 4]
mov rcx, r11
mov byte [rsp + 0x20], 3
call fcn.18003711c
test rax, rax
je 0x18003d014
mov byte [rax + 2], r13b
mov ecx, dword [rdi + 8]
mov dword [rax + 0x2c], ecx
lea rcx, [0x18015fb08]
mov qword [rax + 0x38], rcx
mov byte [rax + 4], r13b
jmp 0x180037e30
sub ebx, 0x75
je 0x18003ba1b
sub ebx, r10d
je 0x18003b9f7
sub ebx, 1
je 0x18003b9bd
sub ebx, 1
je 0x18003b7f2
sub ebx, 1
je 0x18003b6dd
sub ebx, 1
je 0x18003b5fc
sub ebx, 1
je 0x18003b5e5
sub ebx, 1
je 0x18003b5a8
cmp ebx, 1
jne 0x180037801
movsxd rax, dword [rdi + 8]
movsxd rcx, dword [rdi + 4]
imul rdx, rax, 0x38
mov rax, qword [r11 + 0x78]
add rdx, r12
mov rcx, qword [rax + rcx*8]
call fcn.18003f510
xor ebx, ebx
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
movsxd rcx, dword [rdi + 0xc]
mov r11, qword [rbp + 0x170]
mov rax, qword [r11 + 0x78]
mov rcx, qword [rax + rcx*8]
mov dword [rcx + 0x28], ebx
jmp 0x1800378fa
mov rax, qword [r11 + 0x78]
lea r9, [rbp - 0xc]
movsxd rcx, dword [rdi + 4]
xor ebx, ebx
mov r8d, dword [rdi + 0x10]
mov rcx, qword [rax + rcx*8]
movsxd rax, dword [rdi + 0xc]
imul rdx, rax, 0x38
mov dword [rbp - 0xc], ebx
add rdx, r12
call fcn.18003f5b8
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
cmp dword [rbp - 0xc], ebx
jmp 0x18003823a
mov eax, dword [r11 + 0x3c]
add dword [r15 + 0x78], eax
mov dword [r15 + 0x74], eax
xor eax, eax
mov dword [r11 + 0x3c], eax
jmp 0x180037801
movsxd rcx, dword [rdi + 4]
xor ebx, ebx
cmp byte [rdi + 1], 0xfa
mov rax, qword [r11 + 0x78]
mov r12d, dword [rdi + 8]
mov rsi, qword [rax + rcx*8]
jne 0x18003b653
cmp qword [r15 + 0x120], rbx
je 0x18003b653
movsx rcx, byte [rsi + 1]
mov rax, qword [r15 + 0x20]
mov r14, qword [rdi + 0x10]
shl rcx, 5
mov r15, qword [rcx + rax]
test byte [rdi + 2], r10b
je 0x18003b659
cmp byte [rsi + 4], bl
je 0x18003b659
mov rbx, qword [rsi + 0x38]
mov rcx, rbx
call fcn.180028e40
mov rax, qword [rbx + 0x30]
mov qword [rsi + 0x58], rax
jmp 0x18003b659
mov r15, rbx
mov r14, rbx
mov dl, byte [rdi + 2]
mov rcx, qword [rsi + 0x38]
call fcn.18002dbd4
and qword [rsi + 0x28], 0
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
mov r11, qword [rbp + 0x170]
test r13b, r12b
je 0x180037c89
add dword [r11 + 0x3c], r13d
mov r10, qword [rsp + 0x48]
mov r10, qword [r10 + 0x120]
test r10, r10
je 0x180037c89
mov eax, Ordinal_36
test byte [r14 + 0x40], al
jne 0x180037c89
mov rax, qword [rsi + 0x58]
mov r8, r15
mov r15, qword [rsp + 0x48]
mov edx, 9
mov r9, qword [r14]
mov qword [rsp + 0x20], rax
mov rcx, qword [r15 + 0x118]
call r10
mov r11, qword [rbp + 0x170]
jmp 0x180037c8e
movsxd rax, dword [rdi + 8]
xor r10d, r10d
movsxd rcx, dword [rdi + 4]
imul rdx, rax, 0x38
mov rax, qword [r11 + 0x78]
add rdx, r12
mov rbx, qword [rax + rcx*8]
movsxd rax, dword [rdi + 0xc]
imul rcx, rax, 0x38
cmp byte [rdi + 1], 0xfa
mov r8, qword [rcx + r12]
mov qword [rbp - 0x48], r8
jne 0x18003b72d
cmp qword [r15 + 0x120], r10
je 0x18003b72d
movsx rcx, byte [rbx + 1]
mov rax, qword [r15 + 0x20]
mov rsi, qword [rdi + 0x10]
shl rcx, 5
mov r14, qword [rcx + rax]
jmp 0x18003b733
mov rsi, r10
mov r14, r10
movzx ecx, word [rdi + 2]
test r13b, cl
je 0x18003b744
add dword [r11 + 0x3c], r13d
movzx ecx, word [rdi + 2]
mov eax, Ordinal_36
test al, cl
je 0x18003b755
mov qword [r15 + 0x38], r8
movzx ecx, word [rdi + 2]
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x40], rax
mov eax, dword [rdx + 0xc]
mov dword [rbp - 0x2c], eax
mov eax, 0x10
test al, cl
je 0x18003b772
mov r9d, dword [rbx + 0x2c]
jmp 0x18003b775
mov r9d, r10d
mov eax, 0x4000
test word [rdx + 8], ax
je 0x18003b787
mov eax, dword [rdx]
mov dword [rbp - 0x28], eax
jmp 0x18003b78b
mov dword [rbp - 0x28], r10d
movzx r8d, cx
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x50], r10
and r8d, 0xa
mov rcx, qword [rbx + 0x38]
call fcn.18002d7d0
xor ecx, ecx
mov dword [rsp + 0x34], eax
mov byte [rbx + 3], cl
mov dword [rbx + 0x28], ecx
test eax, eax
jne 0x180037963
test rsi, rsi
je 0x1800378e7
mov al, byte [rdi + 2]
mov r8, r14
mov r9, qword [rsi]
and al, 4
mov rcx, qword [r15 + 0x118]
neg al
mov rax, qword [rbp - 0x48]
sbb edx, edx
mov qword [rsp + 0x20], rax
and edx, 5
add edx, 0x12
call qword [r15 + 0x120]
jmp 0x1800378e7
xor ebx, ebx
mov rdx, rdi
mov rcx, r11
mov qword [rsp + 0x68], rbx
mov dword [rbp + 0x188], ebx
call fcn.1800374f0
mov r12, qword [rbp + 0x170]
lea r10d, [rbx + 2]
movsxd rdx, dword [rdi + 4]
mov r14, rax
mov rcx, qword [r12 + 0x78]
mov rsi, qword [rcx + rdx*8]
test byte [rsi + 8], r10b
jne 0x18003b898
mov rcx, qword [rsi + 0x38]
lea rdx, [rbp + 0x188]
call fcn.180029704
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x18003796a
cmp dword [rbp + 0x188], ebx
je 0x18003b856
mov qword [rsp + 0x68], r13
jmp 0x18003b892
mov rbx, qword [rsi + 0x38]
mov rcx, rbx
call fcn.180028e40
mov rax, qword [rbx + 0x30]
movabs rcx, 0x7fffffffffffffff
mov qword [rsp + 0x68], rax
cmp rax, rcx
jl 0x18003b888
mov r10d, 2
or dword [rsi + 8], r10d
xor ebx, ebx
jmp 0x18003b898
inc rax
mov qword [rsp + 0x68], rax
xor ebx, ebx
mov r10d, 2
movsxd rdx, dword [rdi + 0xc]
test edx, edx
je 0x18003b919
mov rcx, qword [r12 + 0x100]
test rcx, rcx
je 0x18003b8c9
mov rax, qword [rcx + 8]
jmp 0x18003b8ba
mov rcx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x18003b8b3
imul rbx, rdx, 0x38
add rbx, qword [rcx + 0x20]
jmp 0x18003b8d2
imul rbx, rdx, 0x38
add rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.180030804
mov rax, qword [rbx]
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
je 0x18003b980
mov r10d, 2
test byte [rsi + 8], r10b
jne 0x18003b980
mov rcx, qword [rsp + 0x68]
inc rax
cmp rcx, rax
cmovl rcx, rax
mov qword [rsp + 0x68], rcx
mov qword [rbx], rcx
xor ebx, ebx
test byte [rsi + 8], r10b
je 0x18003b990
lea rdx, [rsp + 0x68]
mov ecx, 8
call fcn.1800189b8
mov r8, qword [rsp + 0x68]
movabs rax, 0x3fffffffffffffff
and r8, rax
xor r9d, r9d
add r8, r13
lea rax, [rbp + 0x188]
mov qword [rsp + 0x68], r8
xor edx, edx
mov rcx, qword [rsi + 0x38]
mov qword [rsp + 0x20], rax
call fcn.18002976c
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x18003796a
xor eax, eax
cmp dword [rbp + 0x188], eax
jne 0x18003b98a
add ebx, r13d
cmp ebx, 0x64
jl 0x18003b91f
mov eax, reloc.Cabinet.dll_FCIFlushCabinet
jmp 0x18003796a
mov r10d, 2
mov r11, qword [rbp + 0x170]
xor ebx, ebx
mov r12, qword [rsp + 0x40]
mov byte [rsi + 3], bl
mov dword [rsi + 0x28], ebx
mov rax, qword [rsp + 0x68]
mov qword [r14], rax
mov r14, qword [rsp + 0x38]
mov sil, byte [rbp + 0x180]
jmp 0x18003a885
mov rdx, rdi
mov rcx, r11
call fcn.1800374f0
movsxd rdx, dword [rdi + 4]
mov r11, qword [rbp + 0x170]
mov rcx, qword [r11 + 0x78]
mov rdx, qword [rcx + rdx*8]
mov rcx, qword [rdx + 0x18]
mov qword [rax], rcx
movsxd rcx, dword [rdi + 4]
mov rax, qword [r11 + 0x78]
mov rdx, qword [rax + rcx*8]
add qword [rdx + 0x18], r13
jmp 0x1800378fa
movsxd rcx, dword [rdi + 4]
mov rax, qword [r11 + 0x78]
mov rdx, qword [rax + rcx*8]
mov ecx, 8
mov eax, dword [rdi + 8]
shl eax, 3
xor eax, dword [rdx + 8]
and eax, ecx
xor dword [rdx + 8], eax
jmp 0x180037801
movsxd rax, dword [rdi + 4]
mov rcx, r11
mov rdx, qword [r11 + 0x78]
mov rdx, qword [rdx + rax*8]
call fcn.1800330e8
mov r11, qword [rbp + 0x170]
xor r9d, r9d
movsxd rcx, dword [rdi + 4]
mov rax, qword [r11 + 0x78]
mov qword [rax + rcx*8], r9
jmp 0x1800378fa
mov rdx, rdi
mov rcx, r11
call fcn.1800374f0
movsxd rdx, dword [rdi + 4]
mov rsi, rax
mov r12, qword [rbp + 0x170]
mov rcx, qword [r12 + 0x78]
mov rdx, qword [rcx + rdx*8]
mov rbx, qword [rdx + 0x38]
mov rcx, rbx
call fcn.180028e40
mov r8d, dword [rbx + 0x40]
cmp r8d, dword [r15 + 0x7c]
ja 0x18003c4af
mov r9, rsi
xor edx, edx
mov rcx, rbx
call fcn.180031144
xor ebx, ebx
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x18003796a
cmp dword [rdi + 0xc], ebx
jne 0x180039756
mov eax, 0x1000
test word [rsi + 8], ax
je 0x180039756
mov rcx, rsi
call fcn.180030354
test eax, eax
je 0x180039756
mov bl, byte [rbp + 0x178]
mov rcx, qword [rsp + 0x48]
call fcn.180016f84
lea rdx, str.out_of_memory
mov rcx, r12
call fcn.1800317b8
mov ecx, 7
mov eax, ecx
jmp 0x180037975
mov eax, 0x94
cmp ebx, eax
ja 0x18003c3d6
je 0x18003c3b1
mov eax, SQLDriverConnectW
cmp ebx, eax
ja 0x18003c078
je 0x18003c03f
mov eax, reloc.WLDAP32.dll_Ordinal_133
cmp ebx, eax
ja 0x18003be30
je 0x18003bdad
mov ecx, ebx
sub ecx, 0x80
je 0x18003bcbc
sub ecx, 1
je 0x18003bc84
sub ecx, 1
je 0x18003bc07
sub ecx, 1
je 0x18003bb5b
cmp ecx, 1
jne 0x1800377fc
mov rax, qword [r11 + 0x78]
movsxd rcx, dword [rdi + 4]
mov rsi, qword [rax + rcx*8]
movsxd rax, dword [rdi + 8]
imul rbx, rax, 0x38
add rbx, r12
test byte [rdi + 2], r13b
je 0x18003bb7c
add dword [r11 + 0x3c], r13d
mov eax, 0x4000
test word [rbx + 8], ax
je 0x18003bb97
mov rcx, rbx
call fcn.1800303ac
test eax, eax
jne 0x180037963
cmp byte [rdi], 0x83
jne 0x18003bba9
mov rdx, rbx
mov rcx, rsi
call fcn.18003eb40
jmp 0x18003bbfe
movsxd rax, dword [rbx + 0xc]
movzx r8d, word [rdi + 2]
mov qword [rbp - 0x48], rax
mov rax, qword [rbx + 0x10]
xor ebx, ebx
mov qword [rbp - 0x50], rax
movsxd rax, dword [rdi + 0xc]
imul rcx, rax, 0x38
movzx eax, word [rdi + 0x10]
add rcx, r12
mov word [rbp - 0x30], ax
mov eax, 0x10
mov qword [rbp - 0x38], rcx
test al, r8b
je 0x18003bbe7
mov r9d, dword [rsi + 0x2c]
jmp 0x18003bbea
mov r9d, ebx
mov rcx, qword [rsi + 0x38]
lea rdx, [rbp - 0x50]
and r8d, 0xa
call fcn.18002d7d0
mov dword [rsi + 0x28], ebx
mov dword [rsp + 0x34], eax
jmp 0x18003895e
movsxd rcx, dword [rdi + 4]
mov rax, qword [r11 + 0x78]
mov rsi, qword [rax + rcx*8]
xor eax, eax
mov rcx, qword [rsi + 0x38]
mov dword [rbp - 0x64], eax
cmp bl, 0x82
jne 0x18003bc31
or dword [rsi + 0x2c], 0xffffffff
xor ebx, ebx
cmp byte [rcx], bl
je 0x18003927a
jmp 0x18003bc33
xor ebx, ebx
lea rdx, [rbp - 0x64]
call fcn.180029704
mov dword [rsp + 0x34], eax
mov al, byte [rbp - 0x64]
mov byte [rsi + 2], al
mov eax, dword [rsp + 0x34]
mov byte [rsi + 3], bl
mov dword [rsi + 0x28], ebx
test eax, eax
jne 0x180037963
cmp dword [rdi + 8], ebx
jle 0x18003803a
cmp dword [rbp - 0x64], ebx
je 0x18003803a
jmp 0x18003831d
mov r12, qword [rsp + 0x40]
mov r13d, 1
mov r14, qword [rsp + 0x38]
jmp 0x18003831d
mov rax, qword [r11 + 0x78]
movsxd rcx, dword [rdi + 4]
mov rbx, qword [rax + rcx*8]
xor eax, eax
mov byte [rbx + 2], r13b
mov dword [rbx + 0x28], eax
cmp byte [rbx], al
jne 0x1800377fc
mov rbx, qword [rbx + 0x38]
mov rcx, qword [rbx + 0x18]
call fcn.1800169c8
xor eax, eax
mov byte [rbx], r13b
mov qword [rbx + 0x18], rax
jmp 0x180037e30
mov rdx, rdi
mov rcx, r11
call fcn.1800374f0
mov r11, qword [rbp + 0x170]
mov rsi, rax
movsxd rdx, dword [rdi + 4]
xor eax, eax
mov rcx, qword [r11 + 0x78]
mov rbx, qword [rcx + rdx*8]
cmp byte [rbx + 2], al
je 0x18003bcee
mov word [rsi + 8], r13w
jmp 0x1800378f3
cmp byte [rbx + 3], al
je 0x18003bcfc
mov rax, qword [rbx + 0x58]
jmp 0x18003bda1
mov r10d, 2
cmp byte [rbx], r10b
jne 0x18003bd48
mov rcx, qword [rbx + 0x38]
lea rdx, [rbp + 0x20]
mov rbx, qword [rcx]
mov rax, qword [rbx]
call qword [rax + reloc.WLDAP32.dll_Ordinal_96]
mov r12, qword [rbp + 0x170]
mov rdx, rbx
mov rcx, r12
mov dword [rsp + 0x34], eax
call fcn.1800354e0
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x18003796a
mov rax, qword [rbp + 0x20]
mov r11, r12
mov r12, qword [rsp + 0x40]
jmp 0x18003bda5
mov rax, qword [rbx + 0x38]
xor ecx, ecx
cmp byte [rax], cl
je 0x18003bd75
mov rcx, rbx
call fcn.1800342a4
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
mov r11, qword [rbp + 0x170]
xor eax, eax
lea r10d, [rax + 2]
jmp 0x18003bd7b
xor eax, eax
mov dword [rsp + 0x34], eax
cmp byte [rbx + 2], al
je 0x18003bd8a
mov word [rsi + 8], r13w
jmp 0x18003b9b1
mov rbx, qword [rbx + 0x38]
mov rcx, rbx
call fcn.180028e40
mov rax, qword [rbx + 0x30]
mov r11, qword [rbp + 0x170]
mov qword [rbp + 0x20], rax
mov qword [rsi], rax
jmp 0x1800378f3
movsxd rcx, dword [rdi + 4]
lea rdx, [rbp - 0x50]
mov rax, qword [r11 + 0x78]
xor r9d, r9d
xor r8d, r8d
mov rbx, qword [rax + rcx*8]
mov rax, qword [rbx + 0x40]
mov rsi, qword [rbx + 0x38]
mov qword [rbp - 0x50], rax
movzx eax, word [rdi + 0xc]
mov word [rbp - 0x40], ax
xor eax, eax
mov byte [rbp - 0x3e], al
movsxd rax, dword [rdi + 8]
imul rcx, rax, 0x38
lea rax, [rbp + 0x14]
add rcx, r12
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x48], rcx
mov rcx, rsi
call fcn.18002976c
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
xor eax, eax
cmp dword [rbp + 0x14], eax
jne 0x18003be26
lea edx, [rax + 4]
mov rcx, rsi
call fcn.18002dbd4
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
and qword [rbx + 0x28], 0
jmp 0x18003803a
sub ebx, 0x86
je 0x18003bf5c
sub ebx, 1
je 0x18003bf5c
sub ebx, 1
je 0x18003bec3
cmp ebx, 1
jne 0x180037801
mov eax, dword [rdi + 0xc]
xor ebx, ebx
mov rcx, qword [r15 + 0x20]
neg eax
mov edx, dword [rdi + 4]
lea rax, [rbp + 0x188]
sbb r8, r8
mov dword [rbp + 0x188], ebx
and r8, rax
movsxd rax, dword [rdi + 8]
shl rax, 5
mov rcx, qword [rax + rcx + 8]
call fcn.18002e40c
mov r11, qword [rbp + 0x170]
mov dword [rsp + 0x34], eax
cmp dword [rdi + 0xc], ebx
je 0x18003beb6
movsxd rdx, dword [rbp + 0x188]
add dword [r11 + 0x3c], edx
cmp dword [rdi + 0xc], ebx
jle 0x18003beb6
movsxd rax, dword [rdi + 0xc]
imul rcx, rax, 0x38
mov eax, dword [rsp + 0x34]
add qword [rcx + r12], rdx
test eax, eax
jne 0x180037963
jmp 0x1800378fa
mov rdx, rdi
mov rcx, r11
call fcn.1800374f0
mov rbx, rax
mov word [rax + 8], r13w
mov ecx, dword [r15 + 0xd8]
add ecx, r13d
cmp dword [r15 + 0xcc], ecx
jg 0x18003cfa8
movsxd rsi, dword [rdi + 0xc]
lea r8, [rbp - 0x60]
mov edx, dword [rdi + 4]
xor eax, eax
mov dword [rbp - 0x60], eax
mov rcx, rsi
mov rax, qword [r15 + 0x20]
shl rcx, 5
mov rcx, qword [rcx + rax + 8]
call fcn.18002e490
mov dword [rsp + 0x34], eax
mov eax, 4
mov word [rbx + 8], ax
movsxd rax, dword [rbp - 0x60]
mov qword [rbx], rax
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x180037963
mov r8d, dword [rbp - 0x60]
test r8d, r8d
je 0x18003803a
mov r9d, dword [rdi + 4]
mov edx, esi
mov rcx, r15
call fcn.18004fdb8
lea edx, [rsi + r13]
mov byte [rbp + 0x178], dl
jmp 0x18003803a
movsxd rcx, dword [rdi + 4]
mov rax, qword [r11 + 0x78]
mov rbx, qword [rax + rcx*8]
xor ecx, ecx
mov rax, qword [rbx + 0x38]
cmp byte [rax], cl
je 0x18003bf9e
mov rcx, rbx
call fcn.1800342a4
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
mov r11, qword [rbp + 0x170]
xor eax, eax
mov r9d, dword [rsp + 0x30]
lea r8d, [rax + 4]
lea r10d, [rax + 2]
jmp 0x18003bfa4
xor eax, eax
mov dword [rsp + 0x34], eax
cmp byte [rbx + 2], al
jne 0x18003c01b
mov qword [rbp + 0x28], rax
lea r8, [rbp + 0x28]
mov rdx, qword [rbx + 0x38]
mov rcx, r15
call fcn.1800352c0
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
cmp byte [rdi], 0x86
jne 0x18003c003
movsxd rcx, dword [rdi + 0xc]
mov r11, qword [rbp + 0x170]
mov rax, qword [r11 + 0x78]
mov rdx, qword [rax + rcx*8]
xor eax, eax
mov byte [rdx + 2], al
mov rax, qword [rbp + 0x28]
mov qword [rdx + 0x58], rax
mov byte [rdx + 3], r13b
mov rax, qword [rdi + 0x10]
mov qword [rdx + 0x20], rax
mov qword [rdx + 0x30], rbx
jmp 0x1800378fa
mov rcx, qword [rbp + 0x170]
mov rdx, rdi
call fcn.1800374f0
mov rcx, qword [rbp + 0x28]
jmp 0x18003a365
movsxd rax, dword [rdi + 8]
imul rcx, rax, 0x38
mov eax, 0x2400
add rcx, r12
test word [rcx + 8], ax
jne 0x180038211
mov word [rcx + 8], r13w
jmp 0x1800377fc
movsxd rcx, dword [rdi + 4]
mov rax, qword [r11 + 0x78]
mov rdx, qword [rax + rcx*8]
mov rcx, qword [rdx + 0x38]
cmp byte [rdx], r13b
jne 0x18003c064
mov rdx, rcx
mov rcx, r15
call fcn.18003e248
jmp 0x180037e30
mov edx, dword [rcx + 0x50]
xor r8d, r8d
mov rcx, qword [rcx + 8]
call fcn.18002e40c
jmp 0x180037e24
sub ebx, 0x8b
je 0x18003c368
sub ebx, 1
je 0x18003c342
sub ebx, 1
je 0x18003c1f0
sub ebx, 1
je 0x18003c1e0
sub ebx, 1
je 0x18003c1cc
sub ebx, 1
je 0x18003c1b8
sub ebx, 1
je 0x18003c1a4
sub ebx, 1
je 0x18003c107
cmp ebx, 1
jne 0x180037801
movsxd rax, dword [rdi + 4]
imul rbx, rax, 0x38
movsxd rax, dword [rdi + 8]
imul rsi, rax, 0x38
add rbx, r12
mov eax, 0x10
test byte [rbx + 8], al
jne 0x18003c0f5
mov rcx, rbx
call fcn.180030b64
test eax, eax
jne 0x18003d014
mov rdx, qword [rsi + r12]
mov rcx, qword [rbx + 0x10]
call fcn.18001e568
jmp 0x18003803a
movsxd rax, dword [rdi + 0xc]
lea r8, [rbp + 0x18]
mov rcx, qword [r15 + 0x20]
mov rdx, qword [rdi + 0x10]
imul rsi, rax, 0x38
movsxd rax, dword [rdi + 4]
add rdx, 4
imul rbx, rax, 0x38
movzx eax, word [rdi + 2]
mov r9d, dword [rsi + r12]
add rbx, r12
shl rax, 5
add r9d, r13d
mov qword [rsp + 0x20], r8
mov r8d, dword [rdi + 8]
mov rcx, qword [rax + rcx + 8]
call fcn.18002f2cc
mov rcx, rbx
mov r14, rax
call fcn.180030a2c
mov edx, dword [rbp + 0x18]
test edx, edx
je 0x18003c18e
test r14, r14
je 0x18003d014
dec edx
lea rax, [fcn.1800169c8]
movsxd r8, edx
mov r9b, r13b
sub qword [rsi + r12], r8
mov rdx, r14
or r8d, 0xffffffff
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.180030dd4
movzx esi, byte [rbp + 0x180]
mov rcx, rbx
mov edx, esi
call fcn.180030160
jmp 0x180037f1f
mov r8, qword [rdi + 0x10]
mov rcx, r15
mov edx, dword [rdi + 4]
call fcn.18006b1a8
jmp 0x180037e30
mov r8, qword [rdi + 0x10]
mov rcx, r15
mov edx, dword [rdi + 4]
call fcn.18004d338
jmp 0x180037e30
mov r8, qword [rdi + 0x10]
mov rcx, r15
mov edx, dword [rdi + 4]
call fcn.18004d838
jmp 0x180037e30
mov edx, dword [rdi + 4]
mov rcx, r15
call fcn.18004bcdc
jmp 0x180037e24
mov rcx, qword [rdi + 0x10]
xor edx, edx
movsxd rbx, dword [rdi + 4]
test rcx, rcx
jne 0x18003c255
mov rcx, qword [r15 + 0x20]
mov rax, rbx
shl rax, 5
mov rcx, qword [rax + rcx + 0x18]
call fcn.180053a4c
mov r8, qword [rbp + 0x170]
mov r9d, r13d
and dword [r15 + 0x2c], 0xffffffef
add r8, 0xa8
mov edx, ebx
mov rcx, r15
call fcn.180060e3c
mov r11, qword [rbp + 0x170]
or dword [r15 + 0x2c], r13d
mov r12, qword [rsp + 0x40]
mov dword [rsp + 0x34], eax
and dword [r11 + 0xc8], 0xfffffffc
jmp 0x18003c335
mov r8, qword [r15 + 0x20]
lea rax, [r11 + 0xa8]
mov qword [rbp - 0x48], rax
lea r9, str.sqlite_master
mov dword [rbp - 0x38], edx
mov rax, rbx
shl rax, 5
lea rdx, str.SELECTFROM__w_._s_WHERE__s_ORDER_BY_rowid
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x40], ebx
mov qword [rsp + 0x20], rcx
mov rcx, r15
mov r8, qword [rax + r8]
call fcn.180018778
mov rbx, rax
xor eax, eax
test rbx, rbx
je 0x18003cfc4
lea r9, [rbp - 0x50]
mov byte [r15 + 0xb5], r13b
lea r8, [fcn.180060c38]
mov dword [rbp - 0x3c], eax
mov rdx, rbx
mov dword [rbp - 0x34], eax
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.18005ca88
xor ecx, ecx
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x18003c316
mov eax, dword [rbp - 0x3c]
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x18003c316
cmp dword [rbp - 0x34], ecx
jne 0x18003c316
lea rax, [0x180114a54]
mov r9d, 0x15f51
lea r8, str.database_corruption
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, reloc.Cabinet.dll_FCIAddFile
call fcn.1800188e8
mov dword [rsp + 0x34], reloc.Cabinet.dll_FCIAddFile
mov rdx, rbx
mov rcx, r15
call fcn.180016a48
mov eax, dword [rsp + 0x34]
xor ebx, ebx
mov r11, qword [rbp + 0x170]
mov byte [r15 + 0xb5], bl
test eax, eax
jne 0x18003cfcd
jmp 0x1800378fa
add byte [r15 + 0x6a], r13b
xor ebx, ebx
mov rdx, qword [rdi + 0x10]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, r15
call fcn.18005ca88
dec byte [r15 + 0x6a]
jmp 0x180037e24
mov rdx, rdi
mov rcx, r11
call fcn.1800374f0
movsxd rdx, dword [rdi + 4]
mov rbx, rax
mov rcx, qword [r15 + 0x20]
xor eax, eax
mov r8d, dword [rdi + 0xc]
shl rdx, 5
mov dword [rbp - 8], eax
mov rcx, qword [rdx + rcx + 8]
lea rdx, [rbp - 8]
call fcn.18002dfc4
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180037963
movsxd rax, dword [rbp - 8]
mov qword [rbx], rax
jmp 0x180037e30
mov rdx, rdi
mov rcx, r11
call fcn.1800374f0
mov r9d, 8
mov word [rax + 8], r9w
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rcx]
mov qword [rax], rdx
jmp 0x180037e30
mov eax, 0x9e
cmp ebx, eax
ja 0x18003c7f8
je 0x18003c7c5
sub ebx, 0x95
je 0x18003c778
sub ebx, 1
je 0x18003c73d
sub ebx, 1
je 0x18003c6be
sub ebx, 1
je 0x18003c664
sub ebx, 1
je 0x18003c4c8
sub ebx, 1
je 0x18003c4c8
sub ebx, 1
je 0x18003c554
sub ebx, 1
je 0x18003c439
cmp ebx, 1
jne 0x180037801
movsxd rax, dword [rdi + 4]
imul rbx, rax, 0x38
xor eax, eax
add rbx, r12
mov rcx, rbx
cmp dword [rdi + 0xc], eax
je 0x18003c475
movsxd rax, dword [rdi + 0xc]
mov r8, qword [rdi + 0x10]
imul rdx, rax, 0x38
add rdx, r12
call fcn.1800305d4
mov ecx, eax
mov dword [rsp + 0x34], eax
movsxd rax, dword [rdi + 0xc]
imul rbx, rax, 0x38
add rbx, r12
jmp 0x18003c484
mov rdx, qword [rdi + 0x10]
call fcn.18003052c
mov ecx, eax
mov dword [rsp + 0x34], eax
test ecx, ecx
mov rcx, rbx
jne 0x18003cff8
movzx edx, sil
call fcn.180030160
mov rcx, rbx
call fcn.180030c4c
test eax, eax
je 0x180037e30
mov r12, qword [rbp + 0x170]
lea rdx, str.string_or_blob_too_big
mov rcx, r12
call fcn.1800317b8
mov eax, 0x12
jmp 0x18003796a
movzx esi, word [rdi + 2]
mov rcx, r15
mov r14d, esi
lea rdx, [rsi*8 + 0x68]
call fcn.180016cbc
mov rbx, rax
xor eax, eax
test rbx, rbx
je 0x18003d014
add r14, 6
mov qword [rbx + 0x10], rax
mov r8d, r13d
mov rdx, r15
lea rcx, [rbx + r14*8]
mov qword [rbx], rcx
call fcn.180030a1c
mov rcx, qword [rdi + 0x10]
movabs rax, 0xaaaaaaaaaaaaaaab
mov r14, qword [rsp + 0x38]
mov r12, qword [rbp + 0x170]
mov qword [rbx + 8], rcx
mov rcx, rdi
sub rcx, r14
mov qword [rbx + 0x18], r12
sar rcx, 3
imul rcx, rax
xor r11d, r11d
mov byte [rbx + 0x29], sil
mov dword [rbx + 0x20], ecx
mov byte [rbx + 0x28], r11b
mov dword [rbx + 0x24], r11d
mov word [rdi], 0xf09b
mov qword [rdi + 0x10], rbx
jmp 0x18003c55e
mov r12, qword [rbp + 0x170]
xor r11d, r11d
movsxd rax, dword [rdi + 0xc]
mov rbx, qword [rdi + 0x10]
mov rsi, qword [rsp + 0x40]
imul rdx, rax, 0x38
add rdx, rsi
cmp qword [rbx + 0x10], rdx
je 0x18003c5bd
movzx eax, byte [rbx + 0x29]
mov r8d, eax
mov qword [rbx + 0x10], rdx
sub r8, 1
lea r10d, [rax - 1]
js 0x18003c5bd
lea r9, [r8 + 6]
mov r15d, 8
lea r9, [rbx + r9*8]
mov eax, dword [rdi + 8]
add eax, r10d
sub r10d, r13d
cdqe
imul rcx, rax, 0x38
add rcx, rsi
mov qword [r9], rcx
sub r9, r15
sub r8, r13
jns 0x18003c59b
mov r15, qword [rsp + 0x48]
add dword [rdx + 0xc], r13d
lea r8, [rbx + 0x30]
mov rcx, rbx
mov rax, qword [rbx + 8]
movzx edx, byte [rbx + 0x29]
cmp dword [rdi + 4], r11d
je 0x18003c5db
call qword [rax + 0x30]
jmp 0x18003c5de
call qword [rax + reloc.ODBC32.dll_SQLAllocHandle]
mov eax, dword [rbx + 0x24]
xor r9d, r9d
test eax, eax
je 0x18003c655
jle 0x18003c60e
mov rcx, qword [rbx]
call fcn.1800358bc
mov r8, rax
lea rdx, [0x18010f990]
mov rcx, r12
call fcn.1800317b8
mov eax, dword [rbx + 0x24]
xor r9d, r9d
mov dword [rsp + 0x34], eax
cmp byte [rbx + 0x28], r9b
je 0x18003c634
cmp dword [rdi - 0x14], r9d
je 0x18003c630
movsxd rax, dword [rdi - 0x14]
mov rdx, r13
imul rcx, rax, 0x38
add rcx, rsi
call fcn.180030ad0
xor r9d, r9d
mov byte [rbx + 0x28], r9b
mov rcx, qword [rbx]
call fcn.1800306c4
mov rax, qword [rbx]
mov word [rax + 8], r13w
xor eax, eax
mov dword [rbx + 0x24], eax
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x18003796a
mov r11, qword [rbp + 0x170]
mov r12, rsi
jmp 0x1800378f3
movsxd rax, dword [rdi + 4]
mov rdx, rdi
imul rbx, rax, 0x38
movsxd rax, dword [rdi + 0xc]
mov rcx, r11
imul rsi, rax, 0x38
call fcn.1800374f0
mov rcx, qword [rbx + r12]
mov r14, rax
xor ebx, ebx
mov qword [rbp + 0x38], rcx
test rcx, rcx
jle 0x18003c6b5
mov rdx, qword [rsi + r12]
lea rcx, [rbp + 0x38]
test rdx, rdx
cmovle rdx, rbx
call fcn.18001a09c
test eax, eax
jne 0x18003c6b5
mov rax, qword [rbp + 0x38]
mov qword [r14], rax
jmp 0x1800378e7
or qword [r14], 0xffffffffffffffff
jmp 0x1800378e7
mov rcx, qword [r11 + 0x100]
test rcx, rcx
je 0x18003c6ea
mov rax, qword [rcx + 8]
jmp 0x18003c6d7
mov rcx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x18003c6d0
movsxd rax, dword [rdi + 4]
imul rsi, rax, 0x38
add rsi, qword [rcx + 0x20]
jmp 0x18003c6f5
movsxd rax, dword [rdi + 4]
imul rsi, rax, 0x38
add rsi, r12
mov rcx, rsi
call fcn.180030804
movsxd rax, dword [rdi + 8]
imul rbx, rax, 0x38
add rbx, r12
mov rcx, rbx
call fcn.180030804
mov rax, qword [rbx]
mov ecx, 8
mov r11, qword [rbp + 0x170]
mov r9d, dword [rsp + 0x30]
lea r8d, [rcx - 4]
lea r10d, [rcx - 6]
cmp qword [rsi], rax
jge 0x18003ae0e
mov qword [rsi], rax
jmp 0x18003ae0e
mov eax, dword [r15 + 0x30]
bt rax, 0x13
jae 0x18003c758
movsxd rax, dword [rdi + 8]
add qword [r15 + 0x290], rax
jmp 0x180037801
xor eax, eax
cmp dword [rdi + 4], eax
movsxd rax, dword [rdi + 8]
je 0x18003c76f
add qword [r15 + 0x288], rax
jmp 0x180037801
add qword [r11 + 0x50], rax
jmp 0x180037801
mov rdx, rdi
mov rcx, r11
call fcn.1800374f0
mov r12, qword [rbp + 0x170]
mov r9, qword [r12 + 0x100]
movsxd rcx, dword [r9 + 0x54]
lea rdx, [rcx + rcx*2]
mov rcx, qword [r9 + 0x10]
mov r8d, dword [rcx + rdx*8 + 4]
add r8d, dword [rdi + 4]
movsxd rcx, r8d
mov r8d, 0x1000
imul rdx, rcx, 0x38
mov rcx, rax
add rdx, qword [r9 + 0x20]
call fcn.180030cb0
jmp 0x18003a368
xor eax, eax
cmp dword [rdi + 4], eax
jne 0x18003c7dc
mov edx, dword [rdi + 8]
mov rcx, r15
call fcn.1800354b8
jmp 0x180037e30
mov eax, dword [rdi + 8]
add eax, r13d
xor eax, dword [r11 + 0xc8]
and eax, 3
xor dword [r11 + 0xc8], eax
jmp 0x180037801
sub ebx, 0xa0
je 0x18003cbc2
sub ebx, 1
je 0x18003cb30
sub ebx, 1
je 0x18003cb0e
sub ebx, 1
je 0x18003ca76
sub ebx, 1
je 0x18003c97b
sub ebx, 1
je 0x18003c8f9
sub ebx, 1
je 0x18003c8cb
sub ebx, 1
jne 0x180039010
mov rdx, rdi
mov rcx, r11
call fcn.1800374f0
mov rcx, qword [r15 + 0x20]
mov rsi, rax
movsxd rdx, dword [rdi + 4]
shl rdx, 5
mov rbx, qword [rdx + rcx + 8]
xor ecx, ecx
mov eax, ecx
cmp dword [rdi + 0xc], ecx
je 0x18003c87a
mov rcx, rbx
call fcn.1800270a8
cmp eax, dword [rdi + 0xc]
cmovb eax, dword [rdi + 0xc]
mov edx, eax
mov rcx, rbx
call fcn.1800277ac
movsxd rcx, eax
mov qword [rsi], rcx
jmp 0x18003803a
mov rdx, qword [r15 + 0xf0]
mov r8, r11
mov ecx, r13d
call qword [r15 + 0xe8]
mov r11, qword [rbp + 0x170]
mov ecx, 8
mov r9d, dword [rsp + 0x30]
lea r8d, [rcx - 4]
lea r10d, [rcx - 6]
jmp 0x1800390b6
mov r9d, dword [rsp + 0x30]
jmp 0x1800390b6
mov rdx, rdi
mov rcx, r11
call fcn.1800374f0
movsxd rdx, dword [rdi + 4]
mov rbx, rax
mov rcx, qword [r15 + 0x20]
shl rdx, 5
mov rcx, qword [rdx + rcx + 8]
call fcn.1800270a8
mov ecx, eax
mov qword [rbx], rcx
jmp 0x180037e30
mov esi, dword [r15 + 0x30]
mov eax, 0x4000000
or qword [r15 + 0x30], rax
and esi, eax
mov rax, qword [rdi + 0x10]
mov edx, r13d
mov r14, qword [rax + 0x10]
movsxd rax, dword [rdi + 4]
imul rbx, rax, 0x38
add rbx, r12
mov rcx, rbx
call fcn.180030160
test eax, eax
jne 0x180037963
mov rax, qword [r14]
mov rcx, r14
mov rdx, qword [rbx + 0x10]
call qword [rax + Ordinal_157]
mov dword [rsp + 0x34], eax
test esi, esi
jne 0x18003c94c
btr qword [r15 + 0x30], 0x1a
mov rcx, qword [rbp + 0x170]
mov rdx, r14
call fcn.1800354e0
mov r11, qword [rbp + 0x170]
mov eax, dword [rsp + 0x34]
and dword [r11 + 0xc8], 0xfffffffc
test eax, eax
jne 0x180037963
jmp 0x180037c8e
mov rax, qword [r11 + 0x78]
movsxd rcx, dword [rdi + 4]
mov rsi, qword [rax + rcx*8]
movsxd rax, dword [rdi + 0xc]
imul rbx, rax, 0x38
xor eax, eax
add rbx, r12
cmp byte [rsi + 2], al
je 0x18003c9a6
mov rcx, rbx
call fcn.180030a2c
jmp 0x18003803a
mov rax, qword [rsi + 0x38]
xorps xmm0, xmm0
mov r14, qword [rax]
xor eax, eax
mov r15, qword [r14]
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x50], rbx
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x20], rax
movups xmmword [rbp - 0x30], xmm0
test byte [rdi + 2], r13b
je 0x18003c9e2
mov rcx, rbx
call fcn.180030a2c
xor eax, eax
mov dword [rbx], eax
mov eax, 0x4001
jmp 0x18003c9f2
movzx eax, word [rbx + 8]
mov ecx, 0x3e40
and ax, cx
or ax, r13w
mov word [rbx + 8], ax
lea rdx, [rbp - 0x50]
mov r8d, dword [rdi + 8]
mov rcx, qword [rsi + 0x38]
call qword [r15 + reloc.WLDAP32.dll_Ordinal_88]
mov r12, qword [rbp + 0x170]
mov rdx, r14
mov rcx, r12
mov dword [rsp + 0x34], eax
call fcn.1800354e0
xor eax, eax
cmp dword [rbp - 0x2c], eax
jle 0x18003ca44
mov rcx, rbx
call fcn.1800358bc
mov r8, rax
lea rdx, [0x18010f990]
mov rcx, r12
call fcn.1800317b8
mov eax, dword [rbp - 0x2c]
mov dword [rsp + 0x34], eax
movzx esi, byte [rbp + 0x180]
mov rcx, rbx
mov edx, esi
call fcn.180030160
mov rcx, rbx
call fcn.180030c4c
test eax, eax
jne 0x18003c4af
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x18003796a
jmp 0x180037f15
mov rax, qword [rdi + 0x10]
xor r12d, r12d
mov qword [rbp + 0x188], r12
mov rbx, qword [rax + 0x10]
test rbx, rbx
je 0x18003ce80
mov rsi, qword [rbx]
test rsi, rsi
je 0x18003ce80
lea rdx, [rbp + 0x188]
mov rcx, rbx
call qword [rsi + 0x30]
mov r12, qword [rbp + 0x170]
mov rdx, rbx
mov rcx, r12
mov dword [rsp + 0x34], eax
call fcn.1800354e0
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x18003796a
mov rax, qword [rbp + 0x188]
or r9d, 0xffffffff
xor r8d, r8d
mov rcx, r12
mov qword [rax], rbx
mov eax, 2
mov edx, dword [rdi + 4]
mov byte [rsp + 0x20], al
call fcn.18003711c
mov rcx, qword [rbp + 0x188]
test rax, rax
je 0x18003d00c
mov qword [rax + 0x38], rcx
add dword [rbx + 8], r13d
jmp 0x180039756
add dword [r15 + 0xd8], r13d
mov rcx, r15
mov r8, qword [rdi + 0x10]
mov edx, dword [rdi + 4]
call fcn.18006f0dc
dec dword [r15 + 0xd8]
jmp 0x180037e24
xorps xmm0, xmm0
lea rcx, [rbp + 0x90]
xor eax, eax
mov qword [rbp + 0xc0], rax
movsxd rax, dword [rdi + 8]
imul rdx, rax, 0x38
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
add rdx, r12
mov qword [rbp + 0xb8], r15
call fcn.180030cec
lea rcx, [rbp + 0x90]
mov dword [rsp + 0x34], eax
call fcn.1800358bc
mov r12, qword [rbp + 0x170]
test rax, rax
je 0x18003cba5
mov edx, dword [rdi + 4]
lea r9, [r12 + 0xa8]
mov r8, rax
mov rcx, r15
call fcn.18006edc8
mov dword [rsp + 0x34], eax
lea rcx, [rbp + 0x90]
call fcn.1800306c4
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x18003796a
jmp 0x18003a368
mov rbx, qword [rdi + 0x10]
mov rcx, r15
mov rdx, rbx
call fcn.18006f284
mov r12, qword [rbp + 0x170]
mov dword [rsp + 0x34], eax
test rbx, rbx
je 0x18003cbb5
mov rdx, qword [rbx + 0x10]
mov rcx, r12
call fcn.1800354e0
jmp 0x18003cbb1
mov r11, qword [rbp + 0x170]
jmp 0x18003944c
mov r15, qword [rsp + 0x48]
mov sil, byte [rbp + 0x180]
jmp 0x18003a88a
mov r12, qword [rsp + 0x40]
jmp 0x18003927a
mov eax, ecx
jmp 0x180037963
mov r12, qword [rbp + 0x170]
mov ecx, 5
cmp al, cl
jne 0x18003796a
sub rdi, r14
movabs rax, 0xaaaaaaaaaaaaaaab
sar rdi, 3
imul rdi, rax
mov dword [r12 + 0x34], edi
mov edi, dword [rsp + 0x34]
mov dword [r12 + 0x38], edi
jmp 0x18003d037
mov rdx, qword [r11 + 0xa8]
test rdx, rdx
je 0x18003cc6d
mov rcx, r15
call fcn.180016a48
lea rdx, str.database_schema_has_changed
mov rcx, r15
call fcn.180016e34
mov r12, qword [rbp + 0x170]
mov qword [r12 + 0xa8], rax
mov rax, qword [r15 + 0x20]
movsxd rdx, dword [rdi + 4]
mov rcx, rdx
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
mov eax, dword [rbp + 0x188]
cmp dword [rcx], eax
je 0x18003ccb1
mov rcx, r15
call fcn.18004d4b4
and dword [r12 + 0xc8], 0xfffffffd
mov eax, 0x11
or dword [r12 + 0xc8], r13d
jmp 0x18003796a
movzx eax, byte [r15 + 0x5f]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
cmp ebx, eax
je 0x18003cd9c
xor r12d, r12d
test ecx, ecx
je 0x18003ccf8
mov edx, 0x204
mov rcx, r15
call fcn.18008198c
mov al, r13b
jmp 0x18003cd37
test ebx, ebx
je 0x18003cd1e
cmp dword [r15 + 0xd0], r12d
jle 0x18003cd1e
lea rdx, str.cannot_commit_transaction___SQL_statements_in_progress
mov rcx, r11
call fcn.1800317b8
mov eax, 5
jmp 0x180037963
mov edx, r13d
mov rcx, r11
call fcn.180033b90
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x18003d02c
mov al, bl
mov byte [r15 + 0x5f], al
mov r12, qword [rbp + 0x170]
mov rcx, r12
call fcn.180033be0
mov ecx, 5
cmp eax, ecx
jne 0x18003cd80
sub rdi, r14
movabs rax, 0xaaaaaaaaaaaaaaab
sar rdi, 3
imul rdi, rax
sub r13b, bl
mov dword [r12 + 0x34], edi
mov edi, ecx
mov byte [r15 + 0x5f], r13b
mov dword [r12 + 0x38], ecx
jmp 0x18003d037
mov rcx, r15
call fcn.1800814ec
mov eax, dword [r12 + 0x38]
neg eax
sbb edi, edi
and edi, 0xffffff9c
add edi, 0x65
jmp 0x18003d037
test ecx, ecx
lea rax, str.cannot_rollback___no_transaction_is_active
lea rdx, str.cannot_commit___no_transaction_is_active
mov rcx, r11
cmovne rdx, rax
test ebx, ebx
lea rax, str.cannot_start_a_transaction_within_a_transaction
cmove rdx, rax
call fcn.1800317b8
mov eax, r13d
jmp 0x180037963
lea rdx, str.cannot_open_savepoint___SQL_statements_in_progress
jmp 0x18003cd0c
mov r12, qword [rbp + 0x170]
lea rdx, str.cannot_release_savepoint___SQL_statements_in_progress
mov rcx, r12
call fcn.1800317b8
mov eax, 5
jmp 0x18003796a
sub rdi, qword [rsp + 0x38]
movabs rax, 0xaaaaaaaaaaaaaaab
sar rdi, 3
imul rdi, rax
mov rax, qword [rsp + 0x48]
xor ecx, ecx
mov dword [r12 + 0x34], edi
mov edi, edx
mov byte [rax + 0x5f], cl
mov dword [r12 + 0x38], edx
jmp 0x18003d037
cmp ebx, edx
mov dword [rsp + 0x34], r13d
lea rax, str.into
lea r8, str.out_of
cmove r8, rax
lea rdx, str.cannot_change__s_wal_mode_from_within_a_transaction
mov r12, qword [rbp + 0x170]
mov rcx, r12
call fcn.1800317b8
mov eax, dword [rsp + 0x34]
jmp 0x18003796a
movzx eax, byte [rdi + 2]
mov ecx, 5
cmp word [rdi + 2], cx
lea edx, [rcx - 3]
cmove eax, edx
mov byte [r12 + 0xc2], al
jmp 0x18003ce5a
mov eax, 6
jmp 0x180037963
mov eax, SQLAllocHandle
jmp 0x180037963
lea rdx, str.too_many_levels_of_trigger_recursion
mov dword [rsp + 0x34], r13d
mov rcx, r11
call fcn.1800317b8
mov eax, dword [rsp + 0x34]
jmp 0x180037963
mov dword [r11 + 0x38], edx
mov al, byte [rdi + 8]
mov byte [r11 + 0xc2], al
mov dword [r11 + 0x34], ebx
test edx, edx
je 0x18003cf6b
mov rcx, r11
cmp word [rdi + 2], r14w
je 0x18003cf26
movzx r8d, word [rdi + 2]
lea rax, [0x180000000]
lea rdx, str._s_constraint_failed
mov r8, qword [rax + r8*8 + 0xf4dc0]
call fcn.1800317b8
mov r9, qword [rdi + 0x10]
mov r12, qword [rbp + 0x170]
test r9, r9
je 0x18003cf3d
mov r8, qword [r12 + 0xa8]
lea rdx, str._z:__s
mov rcx, r15
call fcn.180018778
mov qword [r12 + 0xa8], rax
jmp 0x18003cf3d
mov r8, qword [rdi + 0x10]
lea rdx, [0x18010f990]
call fcn.1800317b8
mov r12, qword [rbp + 0x170]
mov rax, qword [r12 + 0xa8]
lea rdx, str.abort_at__d_in___s_:__s
mov r9, qword [r12 + 0xf0]
mov r8d, ebx
mov ecx, dword [rdi + 4]
mov qword [rsp + 0x20], rax
call fcn.1800188e8
mov r11, qword [rbp + 0x170]
mov rcx, r11
call fcn.180033be0
mov r12, qword [rbp + 0x170]
mov edi, eax
mov eax, 5
cmp edi, eax
jne 0x18003cd88
mov dword [r12 + 0x38], eax
jmp 0x18003d037
mov r9d, 0x152d5
jmp 0x18003892d
mov eax, 0x204
jmp 0x180037963
mov r12, qword [rbp + 0x170]
mov eax, 6
lea ecx, [rax - 4]
mov byte [r12 + 0xc2], cl
jmp 0x18003796a
mov eax, 7
mov dword [rsp + 0x34], eax
mov rcx, r15
call fcn.18004d530
mov eax, dword [rsp + 0x34]
mov ebx, 7
mov r12, qword [rbp + 0x170]
cmp eax, ebx
mov bl, byte [rbp + 0x178]
je 0x18003bacf
jmp 0x180037970
call fcn.1800358bc
mov r8, rax
lea rdx, [0x18010f990]
jmp 0x18003ce4b
call qword [rsi + 0x38]
jmp 0x18003bac9
mov r12, qword [rbp + 0x170]
jmp 0x18003bac9
mov r12, qword [rbp + 0x170]
jmp 0x18003bacf
mov r12, qword [rbp + 0x170]
mov edi, dword [rsp + 0x34]
mov eax, dword [rbp - 0x5c]
lea r11, [rsp + 0x228]
add dword [r12 + 0xe4], eax
mov eax, edi
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret