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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x334
mov eax, dword [0x100955e4]
xor eax, esp
mov dword [esp + 0x330], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push esi
mov dword [esp + 0x54], esi
mov eax, dword [esi + 0x68]
mov edi, dword [esi]
mov dword [esp + 0x80], eax
mov dword [esp + 0x4c], eax
xor al, al
mov byte [esp + 0x9b], al
mov al, byte [edi + 0x4e]
mov byte [esp + 0x84], al
mov eax, dword [esi + 0x58]
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], edi
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x5c], eax
call fcn.1005cfa0
add esp, 4
cmp dword [edi + 0x148], ebx
je 0x1005d113
mov ecx, dword [edi + 0x150]
xor edx, edx
mov eax, dword [esi + 0xb4]
div ecx
sub ecx, edx
jmp 0x1005d116
or ecx, 0xffffffff
cmp dword [esi + 0x28], 7
mov dword [esp + 0x9c], ecx
je 0x1005f0b5
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x78], ebx
mov dword [edi + 0x19c], ebx
cmp dword [edi + 0x110], ebx
jne 0x10063c99
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x7c]
fldz
fstp qword [esp + 0x278]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
mov dl, byte [esi]
inc ebx
mov dword [esp + 0xb4], ebx
mov ecx, 4
movzx ebx, dl
mov dword [esp + 0x48], esi
cmp ebx, 0xa8
ja case.0x1005d176.86
jmp dword [ebx*4 + 0x10063e70]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov eax, 0x66666667
mov word [ebx + esi*8 + 8], cx
mov ecx, edx
sub ecx, dword [esp + 0x7c]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ebx + esi*8], eax
mov dword [ebx + esi*8 + 4], edx
mov edi, dword [esp + 0x48]
mov edi, dword [edi + 8]
mov edx, dword [esp + 0x7c]
dec edi
lea edi, [edi + edi*4]
lea edi, [edx + edi*4]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x7c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + ecx*8]
lea eax, [eax + eax*4]
lea esi, [edx + eax*4]
mov eax, 0x80
mov word [ebx + ecx*8 + 8], ax
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x48]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
dec eax
cdq
mov dword [ebx + ecx*8], eax
mov eax, 4
mov dword [ebx + ecx*8 + 4], edx
mov word [ebx + ecx*8 + 8], ax
cmp dword [esi + 8], 0
jne 0x1005d1af
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x7c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + ecx*8]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 8]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea esi, [edx + eax*4]
mov eax, 0x80
mov word [ebx + ecx*8 + 8], ax
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov eax, dword [edx + 4]
sub edx, dword [esp + 0x7c]
lea esi, [eax + eax*4]
mov eax, 0x66666667
imul edx
mov word [ebx + esi*8 + 8], cx
mov ecx, dword [ebx + esi*8]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ebx + esi*8 + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [ebx + esi*8], eax
lea eax, [ecx + ecx*4]
lea esi, [edx + eax*4]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x58]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
je case.0x1005d176.86
mov ebx, dword [esp + 0x50]
mov ecx, esi
sub ecx, dword [esp + 0x7c]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [esp + 0x48]
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x1006375a
mov edx, dword [ebx + 0xc8]
test edx, edx
je 0x10063756
mov eax, dword [edx + 4]
dec dword [ebx + 0xd0]
mov dword [ebx + 0xc8], eax
mov eax, dword [ebx + 0x2c]
add dword [edi + 0x68], eax
push edx
mov dword [edi + 0x64], eax
call fcn.100647c0
mov edx, dword [ebx + 0x68]
mov ecx, eax
mov eax, dword [esp + 0x4c]
add esp, 4
mov dword [esp + 0x7c], edx
cmp dword [eax + 8], 4
jne 0x1005d364
lea eax, [ecx + ecx*4]
mov ecx, dword [edx + eax*4 + 8]
dec ecx
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x58], eax
lea eax, [ecx + ecx*4]
lea esi, [edx + eax*4]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
push dword [esp + 0x48]
push dword [esp + 0x54]
call fcn.1002ab60
mov esi, dword [esp + 0x50]
mov ecx, eax
mov eax, dword [esp + 0x50]
add esp, 8
mov eax, dword [eax + 4]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
push dword [esp + 0x48]
push dword [esp + 0x54]
call fcn.1002ab60
mov esi, dword [esp + 0x50]
mov edx, eax
mov eax, dword [esp + 0x50]
add esp, 8
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
push dword [esp + 0x48]
push dword [esp + 0x54]
call fcn.1002ab60
mov esi, dword [esp + 0x50]
mov ecx, eax
mov eax, 8
add esp, 8
mov word [ecx + 8], ax
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x10]
fld qword [eax]
fstp qword [ecx]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
push edi
push ebx
call fcn.1002ab60
mov byte [edi], 0x48
mov esi, eax
mov edi, dword [edi + 0x10]
push edi
call fcn.100594c0
mov ecx, dword [esp + 0x54]
add esp, 0xc
cmp byte [esp + 0x80], 1
mov dword [ecx + 4], eax
je 0x1005d4b9
push 0
push 1
push 0xffffffffffffffff
push edi
push esi
call fcn.10065ef0
add esp, 0x14
mov dword [esp + 0x54], eax
test eax, eax
jne 0x1005d4c2
movzx ecx, byte [esp + 0x80]
push ecx
push esi
call fcn.1005c890
add esp, 8
test eax, eax
jne 0x10063a73
mov edi, dword [esp + 0x48]
mov dword [esi + 0x18], eax
mov eax, 0x800
or word [esi + 8], ax
cmp byte [edi + 1], 0xf9
jne 0x1005d4a9
push dword [edi + 0x10]
push dword [esp + 0x50]
call fcn.1003dd80
add esp, 8
mov byte [edi + 1], 0xf9
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 4], eax
mov edi, dword [esp + 0x4c]
cmp eax, dword [edi + 0x6c]
jle 0x1005d4cd
mov esi, ebx
jmp 0x10062559
mov ebx, dword [esp + 0x50]
push dword [esp + 0x48]
push ebx
call fcn.1002ab60
mov esi, eax
add esp, 8
mov eax, 0xa02
mov word [esi + 8], ax
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov cl, byte [esp + 0x80]
mov byte [esi + 0xa], cl
mov eax, dword [eax + 0xc]
test eax, eax
jle 0x1005d1c9
mov ebx, dword [esp + 0x58]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x48]
movzx eax, word [eax + 2]
cdq
cmp dword [ebx + ecx*8], eax
jne 0x1005d1c9
cmp dword [ebx + ecx*8 + 4], edx
jne 0x1005d1c9
mov eax, 0xa10
mov word [esi + 8], ax
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov ebx, dword [esp + 0x48]
push ebx
push dword [esp + 0x54]
call fcn.1002ab60
mov ecx, dword [ebx + 4]
add esp, 8
mov edi, dword [ebx + 0xc]
neg ecx
mov edx, dword [ebx + 8]
sbb ecx, ecx
mov dword [eax + 0xc], 0
and ecx, 0x100
lea esi, [eax + 0xc]
inc ecx
sub edi, edx
movzx ebx, cx
mov word [eax + 8], bx
test edi, edi
jle 0x1005d1c5
lea esp, [esp]
lea esi, [esi + 0x28]
lea eax, [esi - 0xc]
push eax
call fcn.10065e00
dec edi
mov word [esi - 4], bx
add esp, 4
mov dword [esi], 0
test edi, edi
jg 0x1005d590
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [esi + 4]
mov edx, 0xff41
mov ebx, dword [esp + 0x58]
lea ecx, [eax + eax*4]
mov ax, word [ebx + ecx*8 + 8]
and ax, dx
or ax, 1
mov word [ebx + ecx*8 + 8], ax
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
push dword [esp + 0x48]
push dword [esp + 0x54]
call fcn.1002ab60
mov esi, eax
mov eax, dword [esp + 0x50]
push 0
push 0
push dword [eax + 4]
push dword [eax + 0x10]
push esi
call fcn.10065ef0
mov al, byte [esp + 0x9c]
add esp, 0x1c
mov byte [esi + 0xa], al
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x64]
lea ecx, [ecx - 5]
lea edi, [eax + ecx*8]
push edi
call fcn.10066330
add esp, 4
test eax, eax
jne 0x10062559
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x2400
test word [esi + 8], ax
je 0x1005d684
push esi
call fcn.10065e00
add esp, 4
mov eax, dword [edi]
mov ecx, 0xebff
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov edi, dword [esp + 0x4c]
mov dword [esi + 0x10], eax
mov ax, word [esi + 8]
and ax, cx
mov ecx, 0x840
or ax, cx
mov word [esi + 8], ax
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov eax, dword [edx + 4]
mov ebx, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
lea esp, [esp]
push edi
push esi
call fcn.10065ba0
mov eax, 0x1000
add esp, 8
test word [esi + 8], ax
je 0x1005d716
push esi
call fcn.10065b50
add esp, 4
test eax, eax
jne 0x1005f0ad
add edi, 0x28
add esi, 0x28
sub ebx, 1
jne 0x1005d6f0
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov eax, dword [edx + 4]
mov ebx, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push 0x1000
push edi
push esi
call fcn.100661c0
mov eax, 0x1000
add esp, 0xc
test word [esi + 8], ax
je 0x1005d780
push esi
call fcn.10065b50
add esp, 4
test eax, eax
jne 0x1005f0ad
mov eax, ebx
dec ebx
test eax, eax
je 0x1005d1c5
add esi, 0x28
add edi, 0x28
jmp 0x1005d755
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
push 0x1000
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.100661c0
mov esi, dword [esp + 0x54]
add esp, 0xc
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
push dword [ebx + eax*8 + 4]
push dword [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.10065dc0
mov esi, dword [esp + 0x54]
add esp, 0xc
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
movzx ecx, word [ebx + 8]
mov al, byte [esi + 8]
or al, cl
mov dword [esp + 0x88], ecx
test al, 1
je 0x1005d860
push edi
call fcn.10065e00
mov edi, dword [esp + 0x50]
add esp, 4
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
test cl, 0x12
jne 0x1005d879
push 0
push dword [esp + 0x84]
push ebx
call fcn.10066220
add esp, 0xc
jmp 0x1005d88a
test ecx, 0x4000
je 0x1005d8a8
push ebx
call fcn.100657a0
add esp, 4
test eax, eax
jne 0x1005f0ad
mov ax, word [ebx + 8]
mov ecx, 0xfffd
and ax, cx
movzx eax, ax
mov dword [esp + 0x88], eax
movzx edx, word [esi + 8]
mov dword [esp + 0x5c], edx
test dl, 0x12
jne 0x1005d8e4
push 0
push dword [esp + 0x84]
push esi
call fcn.10066220
add esp, 0xc
test eax, eax
jne 0x1005f0ad
mov ax, word [esi + 8]
mov ecx, 0xfffd
and ax, cx
movzx edx, ax
mov dword [esp + 0x5c], edx
jmp 0x1005d910
test edx, 0x4000
je 0x1005d910
push esi
call fcn.100657a0
add esp, 4
test eax, eax
jne 0x1005f0ad
mov ax, word [esi + 8]
mov ecx, 0xfffd
and ax, cx
movzx eax, ax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 0xc]
add ecx, dword [ebx + 0xc]
mov dword [esp + 0x64], ecx
cmp ecx, dword [eax + 0x6c]
jg 0x10062555
xor eax, eax
cmp edi, esi
sete al
push eax
lea eax, [ecx + 3]
push eax
push edi
call fcn.10065990
add esp, 0xc
test eax, eax
jne 0x1005f0ad
mov ax, word [edi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 2
mov word [edi + 8], ax
cmp edi, esi
je 0x1005d975
push dword [esi + 0xc]
push dword [esi + 0x10]
push dword [edi + 0x10]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x68]
add esp, 0xc
mov word [esi + 8], ax
push dword [ebx + 0xc]
mov eax, dword [esi + 0xc]
push dword [ebx + 0x10]
add eax, dword [edi + 0x10]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x94]
add esp, 0xc
mov ecx, dword [esp + 0x64]
mov word [ebx + 8], ax
mov eax, dword [edi + 0x10]
mov esi, dword [esp + 0x48]
mov byte [ecx + eax], 0
mov eax, dword [edi + 0x10]
mov byte [eax + ecx + 1], 0
mov eax, dword [edi + 0x10]
mov byte [eax + ecx + 2], 0
mov eax, 0x200
or word [edi + 8], ax
mov al, byte [esp + 0x80]
mov dword [edi + 0xc], ecx
mov byte [edi + 0xa], al
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x58]
mov eax, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
mov dword [esp + 0x64], eax
call fcn.1002a330
movzx ebx, ax
mov eax, dword [edi + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
push esi
mov dword [esp + 0x80], esi
call fcn.1002a330
movzx ecx, ax
mov edx, edi
mov edi, dword [esp + 0x60]
and cl, bl
add esp, 8
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [esp + 0x5c], eax
mov ax, word [esi + 8]
mov esi, dword [esp + 0x60]
or ax, word [esi + 8]
movzx eax, ax
test cl, 4
je 0x1005dcaf
mov eax, esi
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
movzx eax, byte [edx]
add eax, 0xffffff9c
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ecx
cmp eax, 3
ja case.default.0x1005da75
jmp dword [eax*4 + 0x10064114]
push esi
lea eax, [esp + 0xa4]
push edi
push eax
call fcn.10035350
add esp, 0xc
test eax, eax
je 0x1005dc6a
mov esi, dword [esp + 0x60]
push esi
call fcn.10066910
mov ebx, dword [esp + 0x7c]
fstp qword [esp + 0x74]
push ebx
call fcn.10066910
mov eax, dword [esp + 0x50]
add esp, 8
movzx eax, byte [eax]
add eax, 0xffffff9c
cmp eax, 3
ja case.default.0x1005dac4
jmp dword [eax*4 + 0x10064124]
test edi, edi
jne 0x1005dafd
cmp esi, 0x80000000
jne 0x1005dafd
test ecx, ecx
jg 0x1005da96
jl 0x1005dae1
test ebx, ebx
jae 0x1005da96
add ebx, 0
mov dword [esp + 0xa0], ebx
adc ecx, 0x80000000
mov dword [esp + 0xa4], ecx
jmp 0x1005dc6a
neg edi
adc esi, 0
neg esi
jmp case.0x1005da75.100
test esi, esi
jl 0x1005db74
jg 0x1005db13
test edi, edi
je 0x1005db62
push esi
push edi
push 0x7fffffff
push 0xffffffffffffffff
call fcn.10084400
cmp dword [esp + 0x6c], edx
jg 0x1005da96
jl 0x1005db35
cmp ebx, eax
ja 0x1005da96
push esi
push edi
push 0x80000000
push 0
call fcn.10084400
mov ecx, dword [esp + 0x6c]
cmp ecx, edx
jg 0x1005dc00
jl 0x1005da96
cmp ebx, eax
jae 0x1005dc00
jmp 0x1005da96
test esi, esi
jg 0x1005dc00
jl 0x1005db74
test edi, edi
jae 0x1005dc00
test ecx, ecx
jl 0x1005dba9
jg 0x1005db7e
test ebx, ebx
je 0x1005db9f
push ecx
push ebx
push 0x80000000
push 0
call fcn.10084400
cmp esi, edx
jg 0x1005dbfc
jl 0x1005da96
cmp edi, eax
jae 0x1005dbfc
jmp 0x1005da96
test ecx, ecx
jg 0x1005dc00
jl 0x1005dba9
test ebx, ebx
jae 0x1005dc00
test edi, edi
jne 0x1005dbb9
cmp esi, 0x80000000
je 0x1005da96
test ebx, ebx
jne 0x1005dbc9
cmp ecx, 0x80000000
je 0x1005da96
push esi
push edi
push 0x80000000
push 1
call fcn.10084400
mov ecx, ebx
neg ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x6c]
adc ecx, 0
neg ecx
cmp ecx, edx
jg 0x1005da96
jl 0x1005dbfc
cmp dword [esp + 0x64], eax
ja 0x1005da96
mov ecx, dword [esp + 0x6c]
push esi
push edi
push ecx
push ebx
call fcn.10084590
jmp 0x1005dc5c
mov eax, edi
or eax, esi
je 0x1005dd8b
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
jne 0x1005dc2e
test ebx, ebx
jne 0x1005dc2e
cmp ecx, 0x80000000
je 0x1005da96
push esi
push edi
push ecx
push ebx
call fcn.10084400
jmp 0x1005dc5c
mov eax, edi
or eax, esi
je 0x1005dd8b
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
jne 0x1005dc53
mov edi, 1
xor esi, esi
push esi
push edi
push ecx
push ebx
call fcn.100845d0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov ecx, dword [esp + 0x5c]
mov edx, 0x3e40
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov dword [ecx], eax
mov eax, dword [esp + 0xa4]
mov dword [ecx + 4], eax
mov ax, word [ecx + 8]
and ax, dx
or ax, 4
movzx eax, ax
mov word [ecx + 8], ax
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
test al, 1
jne 0x1005dd8b
jmp 0x1005da9a
fadd qword [esp + 0x70]
jmp 0x1005dd41
fsub qword [esp + 0x70]
jmp 0x1005dd41
fmul qword [esp + 0x70]
jmp 0x1005dd41
fld qword [esp + 0x70]
fld qword [esp + 0x278]
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x1005dd87
fdivp st(1)
jmp 0x1005dd41
push esi
fstp st(0)
call sym.sqlite3.dll_sqlite3_value_int64
push ebx
mov esi, eax
mov edi, edx
call sym.sqlite3.dll_sqlite3_value_int64
mov ecx, esi
mov dword [esp + 0xa8], eax
add esp, 8
mov dword [esp + 0xa4], edx
or ecx, edi
je 0x1005dd8b
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x1005dd23
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push eax
call fcn.100845d0
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], edx
fild qword [esp + 0x168]
sub esp, 8
fst qword [esp]
call fcn.1004b8d0
add esp, 8
test eax, eax
jne 0x1005dd89
mov ecx, dword [esp + 0x5c]
mov edx, 0x3e40
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ax, word [ecx + 8]
and ax, dx
or ax, 8
movzx eax, ax
fstp qword [ecx]
mov word [ecx + 8], ax
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
fstp st(1)
fstp st(0)
push dword [esp + 0x5c]
call fcn.10065e00
mov edi, dword [esp + 0x50]
add esp, 4
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [esi + 4]
test eax, eax
je case.0x1005d176.86
mov ecx, dword [esp + 0x58]
lea eax, [eax + eax*4]
push 0
push 0
lea eax, [ecx + eax*8]
push eax
call fcn.10065dc0
add esp, 0xc
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edx, [ebx + eax*8]
mov al, byte [ecx + 8]
or al, byte [esi + 8]
mov dword [esp + 0x5c], edx
test al, 1
je 0x1005de2c
push edx
call fcn.10065e00
mov esi, dword [esp + 0x4c]
add esp, 4
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
push ecx
call sym.sqlite3.dll_sqlite3_value_int64
push esi
mov ebx, eax
mov edi, edx
call sym.sqlite3.dll_sqlite3_value_int64
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x48]
mov cl, byte [eax]
cmp cl, 0x60
jne 0x1005de55
and ebx, esi
and edi, edx
jmp 0x1005df0a
cmp cl, 0x61
jne 0x1005de63
or ebx, esi
or edi, edx
jmp 0x1005df0a
mov eax, esi
or eax, edx
je 0x1005df0a
test edx, edx
jg 0x1005de9b
jl 0x1005de77
test esi, esi
jae 0x1005de90
mov al, 0xc5
sub al, cl
mov cl, al
cmp edx, 0xffffffff
jl 0x1005de9b
jg 0x1005de89
cmp esi, 0xffffffc0
jbe 0x1005de9b
neg esi
adc edx, 0
neg edx
test edx, edx
jl 0x1005deb7
jg 0x1005de9b
cmp esi, 0x40
jb 0x1005deb7
test edi, edi
jg 0x1005deb1
jl 0x1005dea5
test ebx, ebx
jae 0x1005deb1
cmp cl, 0x62
je 0x1005deb1
or ebx, 0xffffffff
or edi, ebx
jmp 0x1005df0a
xor ebx, ebx
xor edi, edi
jmp 0x1005df0a
cmp cl, 0x62
mov eax, ebx
mov edx, edi
mov ecx, esi
jne 0x1005decd
call fcn.10084690
mov ecx, eax
mov eax, edx
jmp 0x1005df06
call fcn.10084840
mov ecx, eax
mov eax, edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x78], eax
test edi, edi
jg 0x1005df06
jl 0x1005dee8
test ebx, ebx
jae 0x1005df06
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, esi
or edx, 0xffffffff
call fcn.10084690
mov ecx, dword [esp + 0x64]
or ecx, eax
mov eax, dword [esp + 0x78]
or eax, edx
mov ebx, ecx
mov edi, eax
mov ecx, dword [esp + 0x5c]
mov edx, 0x3e40
mov esi, dword [esp + 0x48]
mov ax, word [ecx + 8]
and ax, dx
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x4c]
or ax, 4
mov dword [ecx], ebx
mov word [ecx + 8], ax
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push esi
call fcn.10065af0
mov eax, dword [esp + 0x4c]
add esp, 4
mov eax, dword [eax + 8]
cdq
add dword [esi], eax
adc dword [esi + 4], edx
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x58]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
movzx eax, word [esi + 8]
mov ecx, eax
test al, 4
jne 0x1005dfcf
test al, 8
jne 0x1005dfa4
test al, 2
je 0x1005dfad
push 1
push esi
call fcn.10013f30
add esp, 8
jmp 0x1005dfad
push esi
call fcn.10064cf0
add esp, 4
movzx eax, word [esi + 8]
mov ecx, eax
test al, 4
jne 0x1005dfcf
mov eax, dword [esp + 0x48]
cmp dword [eax + 8], 0
jne 0x1005d1af
mov edx, 0x14
jmp 0x100605d0
and ecx, 0x3e40
or ecx, 4
mov word [esi + 8], cx
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x58]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x24
lea eax, [ecx + eax*8]
je case.0x1005d176.86
push eax
call fcn.10065cd0
add esp, 4
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x1005e046
push esi
call fcn.100657a0
add esp, 4
jmp 0x1005e048
xor eax, eax
push dword [esp + 0x80]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
movzx eax, byte [eax + 8]
push eax
push esi
call fcn.10065630
mov edx, dword [esp + 0x60]
add esp, 0xc
test edx, edx
jne 0x100605d4
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
movzx edi, word [ecx + eax*8 + 8]
lea esi, [ecx + eax*8]
movzx eax, word [ebx + 8]
mov ecx, edi
mov edx, ecx
mov dword [esp + 0x6c], eax
or edx, eax
mov dword [esp + 0x60], ecx
test dl, 1
je 0x1005e159
mov edi, dword [esp + 0x48]
movzx eax, word [edi + 2]
test al, al
jns 0x1005e0f4
mov al, cl
and al, byte [esp + 0x6c]
test al, 1
je 0x1005e0e3
test ecx, 0x100
jne 0x1005e0e3
xor ecx, ecx
jmp 0x1005e272
not ecx
and ecx, 1
lea ecx, [ecx*2 - 1]
jmp 0x1005e272
test al, 0x20
je 0x1005e13a
mov eax, dword [edi + 8]
mov edx, 0x3e40
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
lea ecx, [eax + eax*4]
mov dword [esp + 0xb0], 1
mov ax, word [ebx + ecx*8 + 8]
and ax, dx
or ax, 1
mov word [ebx + ecx*8 + 8], ax
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
test al, 0x10
jne 0x1005d1af
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [esp + 0x48]
mov al, byte [eax + 2]
and al, 0x47
cmp al, 0x43
jb 0x1005e1f8
mov ecx, edi
test dl, 2
je 0x1005e1ac
mov al, byte [esp + 0x6c]
and al, 0x2e
cmp al, 2
jne 0x1005e18e
push 0
push ebx
call fcn.10013f30
movzx eax, word [esi + 8]
add esp, 8
mov dword [esp + 0x60], eax
mov al, byte [esp + 0x60]
movzx ecx, word [esp + 0x60]
and al, 0x2e
cmp al, 2
jne 0x1005e1ac
push 0
push esi
call fcn.10013f30
movzx ecx, word [esi + 8]
add esp, 8
and cl, byte [ebx + 8]
test cl, 4
je 0x1005e25f
mov edi, dword [esi + 4]
mov edx, dword [ebx + 4]
mov ecx, dword [esi]
mov eax, dword [ebx]
cmp edi, edx
jl 0x1005e1e4
jg 0x1005e1cc
cmp ecx, eax
jbe 0x1005e1da
mov edi, dword [esp + 0x48]
mov ecx, 1
jmp 0x1005e272
cmp edi, edx
jg 0x1005e1f0
jl 0x1005e1e4
cmp ecx, eax
jae 0x1005e1f0
mov edi, dword [esp + 0x48]
or ecx, 0xffffffff
jmp 0x1005e272
mov edi, dword [esp + 0x48]
xor ecx, ecx
jmp 0x1005e272
cmp al, 0x42
jne 0x1005e25f
mov al, byte [esp + 0x6c]
mov edi, dword [esp + 0x80]
test al, 2
jne 0x1005e231
test al, 0x2c
je 0x1005e231
push 1
push edi
push ebx
call fcn.10066220
mov ax, word [ebx + 8]
mov ecx, 0x3e40
xor ax, word [esp + 0x78]
add esp, 0xc
and ax, cx
xor word [esp + 0x6c], ax
mov al, byte [esp + 0x60]
test al, 2
jne 0x1005e25f
test al, 0x2c
je 0x1005e25f
push 1
push edi
push esi
call fcn.10066220
mov ax, word [esi + 8]
mov ecx, 0x3e40
xor ax, word [esp + 0x6c]
add esp, 0xc
and ax, cx
xor word [esp + 0x60], ax
mov edi, dword [esp + 0x48]
push dword [edi + 0x10]
push ebx
push esi
call fcn.1004d490
add esp, 0xc
mov ecx, eax
movzx eax, byte [edi]
test ecx, ecx
jns 0x1005e281
mov al, byte [eax + 0x100880a4]
jmp 0x1005e291
jne 0x1005e28b
mov al, byte [eax + 0x100880ac]
jmp 0x1005e291
mov al, byte [eax + 0x100880b4]
movzx edx, al
movzx eax, word [esp + 0x6c]
mov word [ebx + 8], ax
movzx eax, word [esp + 0x60]
mov word [esi + 8], ax
movzx eax, word [edi + 2]
test al, 0x20
je 0x1005e30a
mov dword [esp + 0xb0], ecx
test al, 8
je 0x1005e2c9
xor eax, eax
cmp byte [edi], 0x35
sete al
cmp eax, edx
je 0x1005d1c5
mov ecx, dword [edi + 8]
mov eax, 0x3e40
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x4c]
lea esi, [ecx + ecx*4]
mov cx, word [ebx + esi*8 + 8]
and cx, ax
mov eax, edx
cdq
or cx, 4
mov word [ebx + esi*8 + 8], cx
mov dword [ebx + esi*8], eax
mov dword [ebx + esi*8 + 4], edx
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
test edx, edx
jne 0x1005d1af
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
cmp dword [esp + 0xb0], 0
jne 0x1005d1af
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
test byte [edx + 2], 1
jne 0x1005e354
xor ebx, ebx
jmp 0x1005e35a
mov ebx, dword [edx - 4]
add ebx, 4
mov esi, dword [esp + 0x48]
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x5c], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x78], ecx
mov ecx, dword [esi + 8]
xor esi, esi
mov dword [esp + 0x88], edx
mov dword [esp + 0x64], ecx
test eax, eax
jle 0x1005d1c9
lea edi, [edx + 0x14]
lea ebx, [ebx]
test ebx, ebx
je 0x1005e399
mov ecx, dword [ebx + esi*4]
jmp 0x1005e39b
mov ecx, esi
mov eax, dword [edx + 0x10]
mov edx, dword [esp + 0x58]
push dword [edi]
mov al, byte [esi + eax]
mov byte [esp + 0x6f], al
mov eax, dword [esp + 0x68]
add eax, ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
push eax
mov eax, dword [esp + 0x80]
add eax, ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
push eax
call fcn.1004d490
mov ecx, eax
add esp, 0xc
mov dword [esp + 0xb0], ecx
test ecx, ecx
jne 0x1005e405
mov edx, dword [esp + 0x88]
inc esi
add edi, 4
cmp esi, dword [esp + 0x5c]
jl 0x1005e390
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
cmp byte [esp + 0x6b], 0
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
je case.0x1005d176.86
neg ecx
mov dword [esp + 0xb0], ecx
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x48]
test eax, eax
jns 0x1005e45e
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x7c]
lea esi, [eax - 1]
lea esi, [esi + esi*4]
lea esi, [edx + esi*4]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
jne 0x1005e47f
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x7c]
lea esi, [eax - 1]
lea esi, [esi + esi*4]
lea esi, [edx + esi*4]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x7c]
lea esi, [eax - 1]
lea esi, [esi + esi*4]
lea esi, [edx + esi*4]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
push 2
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.1005c840
mov ecx, dword [ebx + 8]
mov esi, eax
mov ebx, dword [esp + 0x60]
push 2
lea ecx, [ecx + ecx*4]
lea ecx, [ebx + ecx*8]
push ecx
call fcn.1005c840
mov ecx, dword [esp + 0x58]
add esp, 0x10
lea eax, [eax + esi*2]
cmp byte [ecx], 0x2c
jne 0x1005e4e6
mov dl, byte [esi + eax + 0x100880f0]
jmp 0x1005e4ed
mov dl, byte [esi + eax + 0x100880fc]
mov eax, dword [ecx + 0xc]
mov esi, 0x3e40
lea ecx, [eax + eax*4]
mov ax, word [ebx + ecx*8 + 8]
and ax, si
movzx esi, ax
cmp dl, 2
jne 0x1005e527
mov eax, 1
or esi, eax
mov word [ebx + ecx*8 + 8], si
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
movzx eax, dl
cdq
mov dword [ebx + ecx*8], eax
mov eax, 4
or esi, eax
mov dword [ebx + ecx*8 + 4], edx
mov word [ebx + ecx*8 + 8], si
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov eax, dword [edx + 4]
push dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.1005c840
mov ecx, dword [esp + 0x50]
xor eax, dword [ecx + 0x10]
cdq
push edx
push eax
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.10065dc0
mov esi, dword [esp + 0x5c]
add esp, 0x14
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
lea ecx, [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
jne 0x1005e5e7
push 0
push ecx
call fcn.1005c840
neg eax
push 0
sbb eax, eax
inc eax
push eax
push esi
call fcn.10065dc0
mov esi, dword [esp + 0x5c]
add esp, 0x14
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
push esi
call fcn.10065e00
mov esi, dword [esp + 0x4c]
add esp, 4
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
push esi
call fcn.10065e00
add esp, 4
test byte [edi + 8], 1
jne 0x1005d1c5
mov eax, 4
push edi
mov word [esi + 8], ax
call sym.sqlite3.dll_sqlite3_value_int64
mov edi, dword [esp + 0x50]
not eax
not edx
mov dword [esi], eax
mov dword [esi + 4], edx
add esp, 4
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov ebx, dword [esp + 0x50]
mov edi, dword [ebx + 0xc8]
test edi, edi
je 0x1005e6d0
mov ecx, dword [esp + 0x48]
mov eax, 0x66666667
sub ecx, dword [ebx + 0x68]
mov edi, dword [edi + 0x18]
imul ecx
mov eax, 1
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov esi, ecx
and ecx, 7
shr esi, 3
shl eax, cl
movzx edx, byte [esi + edi]
test edx, eax
jne 0x1005d1af
bts edx, ecx
mov byte [esi + edi], dl
mov ecx, dword [ebx + 0x68]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x48]
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov ecx, dword [ebx + 0x68]
mov edi, dword [esp + 0x48]
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 4]
je 0x1005d1b3
mov esi, dword [esp + 0x48]
mov dword [edi + 4], eax
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov eax, dword [edx + 4]
push dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.1005c840
add esp, 8
test eax, eax
jne 0x1005d1af
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
xor eax, eax
mov ecx, dword [esp + 0x58]
cmp dword [edx + 0xc], eax
sete al
push eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.1005c840
add esp, 8
test eax, eax
je 0x1005d1af
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x58]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
jne 0x1005d1af
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x58]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
je 0x1005d1af
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 2], 0
je case.0x1005d176.86
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.10065e00
add esp, 4
jmp 0x1005d1af
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov eax, dword [esi + 0x60]
mov ebx, dword [edx + 8]
mov dword [esp + 0x5c], ebx
mov edi, dword [eax + ecx*4]
mov dword [esp + 0x98], edi
cmp byte [edi + 3], 0
je 0x1005e8a0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1005e898
mov eax, dword [eax + ebx*4 + 4]
test eax, eax
jle 0x1005e898
mov edi, dword [edi + 0x24]
dec eax
mov dword [esp + 0x98], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], 0
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x58]
mov edx, dword [edi + 0x48]
mov dword [esp + 0x84], edx
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x60], ecx
cmp eax, dword [esi + 0x20]
je 0x1005e9a4
cmp byte [edi + 2], 0
je 0x1005e8e8
cmp byte [edi], 3
jne 0x1005e8c8
mov eax, dword [edi + 0x20]
lea ebx, [edi + 0x54]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x58]
mov eax, dword [eax + ecx*8 + 0xc]
mov dword [ebx], eax
mov dword [edi + 0x50], eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + ecx*8 + 0x10]
mov dword [edi + 0x4c], eax
jmp 0x1005e922
push edi
call fcn.10025830
jmp 0x1005e8ae
mov eax, dword [edi + 0x28]
cmp byte [eax], 0
je 0x1005e838
push edi
call fcn.10025890
mov edx, eax
add esp, 4
mov dword [esp + 0x54], edx
test edx, edx
jne 0x100639bb
mov edx, dword [esp + 0x48]
jmp 0x1005e840
push ecx
call fcn.10065e00
mov edi, dword [esp + 0x50]
add esp, 4
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov esi, dword [edi + 0x28]
push esi
call fcn.10024a30
mov eax, dword [esi + 0x2c]
lea ebx, [edi + 0x54]
push ebx
push esi
mov dword [edi + 0x50], eax
call fcn.1003a4f0
mov edx, dword [esp + 0x58]
add esp, 0xc
mov esi, dword [esp + 0x50]
mov dword [edi + 0x4c], eax
mov eax, dword [edi + 0x50]
cmp eax, dword [edx + 0x6c]
ja 0x10062559
mov edx, dword [esp + 0x84]
mov eax, dword [esi + 0x20]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x4c]
mov cl, byte [eax]
cmp cl, 0x80
jae 0x1005e93b
movzx eax, cl
mov dword [edx], eax
mov al, 1
jmp 0x1005e94c
push edx
push eax
call fcn.10049510
mov edx, dword [esp + 0x8c]
add esp, 8
movzx esi, al
lea ecx, [edi + 0x3a]
xor eax, eax
mov dword [edi + 0x30], esi
mov word [ecx], ax
mov eax, dword [edx]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x8c], eax
cmp dword [ebx], eax
jae 0x1005e993
mov dword [edi + 0x4c], 0
mov dword [ebx], 0
mov eax, dword [edx]
cmp eax, 0x18003
ja 0x1005ebd8
mov dword [esp + 0x6c], ecx
cmp eax, dword [edi + 0x50]
jbe 0x1005e9ab
jmp 0x1005ebd8
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x88], eax
xor eax, eax
jmp 0x1005ea7a
lea ecx, [edi + 0x3a]
mov dword [esp + 0x6c], ecx
movzx ecx, word [ecx]
mov esi, dword [esp + 0x5c]
mov eax, ecx
cmp eax, esi
jg 0x1005ec5f
mov eax, dword [edx]
mov esi, dword [edi + 0x30]
mov dword [esp + 0x8c], eax
cmp esi, eax
jae 0x1005ebef
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x88], eax
test eax, eax
jne 0x1005ea70
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d8], eax
mov dword [esp + 0x1dc], eax
lea eax, [esp + 0x1b8]
push eax
push dword [edx]
push 0
push dword [edi + 0x28]
call fcn.10065920
mov edx, eax
add esp, 0x10
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063813
mov eax, dword [esp + 0x1c8]
mov edx, dword [esp + 0x84]
mov esi, dword [edi + 0x30]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x6c]
mov ebx, dword [edx]
movzx eax, word [eax]
jmp 0x1005ea81
mov eax, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x6c], ecx
mov ebx, dword [esp + 0x8c]
mov edi, dword [esp + 0x98]
add ebx, dword [esp + 0x88]
add esi, dword [esp + 0x88]
movzx ecx, ax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x8c], ebx
mov eax, dword [edx + ecx*4]
lea edi, [edi + ecx*4]
xor edx, edx
add edi, 0x58
nop
movzx ebx, byte [esi]
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0xb8], ebx
mov dword [edi], ebx
cmp ebx, 0x80
jae 0x1005eadb
movzx eax, byte [ebx + 0x10087508]
mov ecx, 1
cdq
jmp 0x1005eb00
lea eax, [esp + 0xb8]
push eax
push esi
call fcn.10049510
mov ebx, dword [esp + 0xc0]
push ebx
movzx ecx, al
mov dword [edi], ebx
call fcn.10067580
add esp, 0xc
xor edx, edx
add eax, dword [esp + 0x64]
adc edx, dword [esp + 0x70]
add esi, ecx
mov ecx, dword [esp + 0x78]
add edi, 4
mov dword [esp + 0x70], edx
inc ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x78], ecx
mov dword [edx + ecx*4], eax
mov edx, dword [esp + 0x70]
cmp ecx, dword [esp + 0x5c]
jg 0x1005eb44
cmp esi, dword [esp + 0x8c]
jb 0x1005eab0
mov edi, dword [esp + 0x8c]
jmp 0x1005eb4f
mov edi, dword [esp + 0x8c]
cmp esi, edi
jb 0x1005eb65
cmp esi, edi
mov edi, dword [esp + 0x98]
ja 0x1005eb77
cmp eax, dword [edi + 0x50]
jne 0x1005eb77
test edx, edx
jne 0x1005eb77
jmp 0x1005eb6c
mov edi, dword [esp + 0x98]
test edx, edx
jb 0x1005eb8c
ja 0x1005eb77
cmp eax, dword [edi + 0x50]
jbe 0x1005eb8c
mov eax, dword [esp + 0x84]
cmp dword [eax], 0
jne 0x1005ebc2
mov esi, dword [esp + 0x8c]
xor ecx, ecx
sub esi, dword [esp + 0x88]
cmp dword [edi + 0x4c], 0
movzx eax, cx
mov ecx, dword [esp + 0x6c]
mov dword [edi + 0x30], esi
mov word [ecx], ax
jne 0x1005ebbd
lea eax, [esp + 0x1b8]
push eax
call fcn.10065d40
mov eax, dword [esp + 0x70]
add esp, 4
movzx eax, word [eax]
movzx eax, ax
jmp 0x1005ebfa
cmp dword [edi + 0x4c], 0
jne 0x1005ebd8
lea eax, [esp + 0x1b8]
push eax
call fcn.10065d40
add esp, 4
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + 0xc]
test eax, eax
jle 0x10063800
lea edi, [eax - 1]
jmp 0x1005d1bb
xor ebx, ebx
mov eax, ecx
mov dword [esp + 0xb8], ebx
mov esi, dword [esp + 0x5c]
movzx eax, ax
cmp eax, esi
jg 0x1005ec6a
mov eax, dword [esp + 0x48]
cmp byte [eax + 1], 0xf5
jne 0x1005ec3b
push 0x800
push dword [eax + 0x10]
mov eax, dword [esp + 0x68]
push eax
call fcn.100661c0
mov edi, dword [esp + 0x58]
add esp, 0xc
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [esp + 0x60]
push eax
call fcn.10065e00
mov edi, dword [esp + 0x50]
add esp, 4
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov ebx, dword [edi + esi*4 + 0x58]
mov dword [esp + 0xb8], ebx
mov ecx, dword [esp + 0x60]
mov eax, 0x2400
test word [ecx + 8], ax
je 0x1005ec86
push ecx
call fcn.10065e00
mov ecx, dword [esp + 0x64]
add esp, 4
mov edx, dword [esp + 0x84]
mov eax, dword [edi + 0x54]
cmp eax, dword [edx + esi*4 + 4]
jb 0x1005ed51
mov edi, dword [edi + 0x4c]
add edi, dword [edx + esi*4]
cmp ebx, 0xc
jae 0x1005ecc7
push ecx
push ebx
push edi
call fcn.100672d0
mov edi, dword [esp + 0x58]
add esp, 0xc
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov al, byte [esp + 0x80]
lea esi, [ebx - 0xc]
shr esi, 1
mov byte [ecx + 0xa], al
mov dword [ecx + 0xc], esi
lea eax, [esi + 2]
cmp dword [ecx + 0x18], eax
jge 0x1005ed07
push 0
push eax
mov edx, 1
push ecx
mov word [ecx + 8], dx
call fcn.10065990
add esp, 0xc
test eax, eax
jne 0x1005f0ad
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x10]
jmp 0x1005ed0d
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
push esi
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x6c]
add esp, 0xc
mov edi, dword [esp + 0x4c]
and ebx, 1
mov eax, dword [ecx + 0x10]
mov byte [esi + eax], 0
mov eax, dword [ecx + 0x10]
mov byte [eax + esi + 1], 0
mov ax, word [ebx*2 + 0x10088108]
mov esi, dword [esp + 0x48]
mov word [ecx + 8], ax
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov al, byte [esp + 0x80]
mov byte [ecx + 0xa], al
mov eax, dword [esp + 0x48]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x1005ed75
cmp ebx, 0xc
jb 0x1005ed71
test bl, 1
je 0x1005ed82
test al, al
js 0x1005ed82
push ebx
call fcn.10067580
add esp, 4
test eax, eax
jne 0x1005eda8
push ecx
push ebx
push 0x100959a8
call fcn.100672d0
mov edi, dword [esp + 0x58]
add esp, 0xc
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
push ecx
push eax
push dword [edx + esi*4]
push dword [edi + 0x28]
call fcn.10065920
mov edx, eax
add esp, 0x10
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063813
mov esi, dword [esp + 0x60]
push esi
push ebx
push dword [esi + 0x10]
call fcn.100672d0
mov edi, dword [esp + 0x58]
mov eax, 0xefff
add esp, 0xc
and word [esi + 8], ax
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov eax, dword [edx + 4]
mov edi, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov al, byte [edi]
push dword [esp + 0x80]
mov byte [esp + 0xf8], al
push dword [esp + 0xf8]
push esi
call fcn.10013ec0
add esp, 0xc
cmp byte [edi], 0x45
jne 0x1005ee44
movzx eax, word [esi + 8]
test al, 4
je 0x1005ee44
and eax, 0xfffb
or eax, 0x20
mov word [esi + 8], ax
mov al, byte [edi + 1]
inc edi
test al, al
je 0x1005d1c5
add esi, 0x28
jmp 0x1005ee0d
mov edx, dword [esp + 0x48]
xor eax, eax
mov esi, dword [esp + 0x58]
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x98], eax
mov eax, dword [edx + 4]
mov edi, dword [edx + 0x10]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x78], 0
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov eax, dword [edx + 8]
mov dword [esp + 0x6c], ecx
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea ebx, [ecx + eax*8]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x64], ebx
mov al, byte [eax + 0x93]
mov byte [esp + 0x6b], al
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov dword [esp + 0x88], eax
test edi, edi
je 0x1005ef21
mov al, byte [edi]
lea esi, [ecx + 8]
mov ebx, dword [esp + 0x80]
mov byte [esp + 0xf8], al
lea esp, [esp]
push ebx
push dword [esp + 0xfc]
lea eax, [esi - 8]
push eax
call fcn.10013ec0
add esp, 0xc
cmp byte [edi], 0x45
jne 0x1005ef0b
movzx eax, word [esi]
test al, 4
je 0x1005ef0b
and eax, 0xfffb
or eax, 0x20
mov word [esi], ax
mov al, byte [edi + 1]
inc edi
add esi, 0x28
mov byte [esp + 0xf8], al
test al, al
jne 0x1005eee0
mov ebx, dword [esp + 0x64]
mov edx, ebx
mov dword [esp + 0x60], ebx
movzx ecx, word [edx + 8]
mov ebx, ecx
test bl, 1
je 0x1005ef3b
xor edi, edi
xor esi, esi
jmp 0x1005f082
test bl, 0x24
je 0x1005f05b
mov edi, dword [esp + 0x60]
mov edx, dword [edx]
mov dword [esp + 0x190], edx
mov edi, dword [edi + 4]
mov dword [esp + 0x194], edi
test edi, edi
jg 0x1005ef6f
jl 0x1005ef65
test edx, edx
jae 0x1005ef6f
mov esi, edx
mov eax, edi
not esi
not eax
jmp 0x1005ef73
mov esi, edx
mov eax, edi
test eax, eax
ja 0x1005f00d
jb 0x1005ef82
cmp esi, 0x7f
ja 0x1005efb6
mov eax, edx
xor ebx, ebx
and eax, 1
cmp eax, edx
jne 0x1005efa6
cmp ebx, edi
jne 0x1005efa6
cmp byte [esp + 0x6b], 4
jb 0x1005efa6
mov edx, dword [esp + 0x60]
xor edi, edi
add esi, 8
jmp 0x1005f082
mov edx, dword [esp + 0x60]
mov edi, 1
mov esi, edi
jmp 0x1005f082
test eax, eax
ja 0x1005f00d
jb 0x1005efc4
cmp esi, 0x7fff
ja 0x1005efd4
mov edx, dword [esp + 0x60]
mov edi, 2
mov esi, edi
jmp 0x1005f082
test eax, eax
ja 0x1005f00d
jb 0x1005efe2
cmp esi, 0x7fffff
ja 0x1005eff2
mov edx, dword [esp + 0x60]
mov edi, 3
mov esi, edi
jmp 0x1005f082
test eax, eax
ja 0x1005f00d
jb 0x1005f000
cmp esi, 0x7fffffff
ja 0x1005f00d
mov edx, dword [esp + 0x60]
mov edi, 4
mov esi, edi
jmp 0x1005f082
cmp eax, 0x7fff
ja 0x1005f029
jb 0x1005f01b
cmp esi, 0xffffffff
ja 0x1005f029
mov edx, dword [esp + 0x60]
mov edi, 6
lea esi, [edi - 1]
jmp 0x1005f082
mov edx, dword [esp + 0x60]
mov edi, 8
test bl, 0x20
je 0x1005f054
fild qword [esp + 0x190]
and ecx, 0xffdf
lea esi, [edi - 1]
or ecx, edi
mov word [edx + 8], cx
movzx eax, cx
fstp qword [edx]
jmp 0x1005f084
mov esi, 6
jmp 0x1005f082
test bl, 8
je 0x1005f06a
mov edi, 8
lea esi, [edi - 1]
jmp 0x1005f082
mov edi, dword [edx + 0xc]
test ebx, 0x4000
je 0x1005f077
add edi, dword [edx]
shr ebx, 1
lea esi, [edi + 6]
and ebx, 1
lea esi, [ebx + esi*2]
mov eax, ecx
test eax, 0x4000
je 0x1005f0ec
test esi, esi
jne 0x1005f096
mov esi, 0xa
jmp 0x1005f0ec
mov eax, dword [esp + 0x5c]
or eax, dword [esp + 0x78]
je 0x1005f0d7
push edx
call fcn.100657a0
add esp, 4
test eax, eax
je 0x1005f0ec
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
push edi
call fcn.1004d830
push str.out_of_memory
push esi
call fcn.1005d010
mov edx, 7
add esp, 0xc
mov dword [esp + 0x54], edx
jmp 0x100605d8
mov ecx, dword [edx]
mov eax, ecx
cdq
add dword [esp + 0x8c], eax
adc dword [esp + 0x98], edx
sub edi, ecx
add dword [esp + 0x5c], edi
mov edi, dword [esp + 0x78]
adc edi, 0
mov dword [esp + 0x78], edi
cmp esi, 0x7f
ja 0x1005f107
mov eax, 1
jmp 0x1005f112
push 0
push esi
call fcn.1005c3a0
add esp, 8
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x84]
add ebx, eax
mov dword [esp + 0x84], ebx
mov dword [edx + 0x1c], esi
cmp edx, dword [esp + 0x6c]
je 0x1005f13b
sub edx, 0x28
mov dword [esp + 0x60], edx
jmp 0x1005ef27
cmp ebx, 0x7e
jle 0x1005f166
mov eax, ebx
cdq
push edx
push eax
call fcn.1005c3a0
mov esi, eax
add ebx, esi
mov eax, ebx
mov dword [esp + 0x8c], ebx
cdq
push edx
push eax
call fcn.1005c3a0
add esp, 0x10
cmp esi, eax
jge 0x1005f16e
inc ebx
mov dword [esp + 0x84], ebx
mov eax, ebx
cdq
mov esi, eax
mov dword [esp + 0x70], eax
add esi, dword [esp + 0x5c]
mov ebx, edx
mov eax, dword [esp + 0x88]
mov ecx, ebx
adc ecx, edi
mov edi, esi
add edi, dword [esp + 0x8c]
mov eax, dword [eax + 0x18]
adc ecx, dword [esp + 0x98]
cdq
cmp ecx, edx
jg 0x1005f1b5
jl 0x1005f1a6
cmp edi, eax
ja 0x1005f1b5
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], eax
jmp 0x1005f1f0
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x6c]
cdq
cmp ecx, edx
jg 0x10062555
jl 0x1005f1cf
cmp edi, eax
ja 0x10062555
mov eax, esi
push eax
push dword [esp + 0x8c]
call fcn.100656f0
add esp, 8
test eax, eax
jne 0x1005f0ad
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov eax, 0x10
mov word [edx + 8], ax
mov eax, ecx
or eax, dword [esp + 0x98]
mov dword [edx + 0xc], esi
je 0x1005f219
mov eax, 0x4010
mov dword [edx], ecx
mov word [edx + 8], ax
mov eax, dword [esp + 0x84]
mov esi, dword [edx + 0x10]
lea edi, [esi + eax]
cmp eax, 0x80
jae 0x1005f236
mov byte [esi], al
mov eax, 1
jmp 0x1005f244
push ebx
push dword [esp + 0x74]
push esi
call fcn.100530b0
add esp, 0xc
mov edx, dword [esp + 0x6c]
movzx eax, al
add esi, eax
lea ecx, [ecx]
mov ebx, dword [edx + 0x1c]
cmp ebx, 0x80
jae 0x1005f264
mov byte [esi], bl
mov eax, 1
jmp 0x1005f274
push 0
push ebx
push esi
call fcn.100530b0
mov edx, dword [esp + 0x78]
add esp, 0xc
movzx eax, al
add esi, eax
lea eax, [ebx - 1]
mov dword [esp + 0x70], esi
cmp eax, 6
ja 0x1005f2a8
mov ecx, dword [edx]
mov eax, dword [edx + 4]
movzx edx, byte [ebx + 0x10087508]
mov esi, edx
dec edx
mov byte [edi + edx], cl
shrd ecx, eax, 8
shr eax, 8
test edx, edx
jne 0x1005f293
mov edx, dword [esp + 0x6c]
jmp 0x1005f2c9
cmp ebx, 0xc
jb 0x1005f2c7
mov esi, dword [edx + 0xc]
test esi, esi
je 0x1005f2c9
push esi
push dword [edx + 0x10]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x78]
add esp, 0xc
jmp 0x1005f2c9
xor esi, esi
add edx, 0x28
add edi, esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0x6c], edx
cmp edx, dword [esp + 0x64]
jbe 0x1005f250
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov ecx, dword [edx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + ecx*4]
lea ecx, [esp + 0x108]
push ecx
push dword [eax + 0x28]
call fcn.10038660
mov edx, eax
add esp, 8
mov dword [esp + 0x54], edx
test edx, edx
jne 0x100605d8
push dword [esp + 0x48]
push esi
call fcn.1002ab60
mov ecx, dword [esp + 0x110]
add esp, 8
mov esi, dword [esp + 0x48]
mov dword [eax], ecx
mov ecx, dword [esp + 0x10c]
mov dword [eax + 4], ecx
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 4]
mov esi, dword [edx + 0x10]
mov dword [esp + 0x84], eax
test eax, eax
jne 0x1005f452
cmp dword [edi + 0xb4], eax
jg 0x1006381c
push esi
call fcn.100594c0
mov ecx, dword [edi + 0x1d0]
mov ebx, eax
add ecx, dword [edi + 0x1cc]
push ecx
push 0
push edi
call fcn.100687b0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x54], edx
test edx, edx
jne 0x100605d4
push edx
lea eax, [ebx + 0x21]
push eax
push edi
call fcn.1003de20
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1005d1c5
lea ecx, [ebx + 1]
push ecx
lea edx, [edi + 0x20]
push esi
push edx
mov dword [edi], edx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x58]
add esp, 0xc
cmp byte [ecx + 0x4f], 0
je 0x1005f404
mov byte [ecx + 0x4f], 0
mov byte [ecx + 0x57], 1
jmp 0x1005f40a
inc dword [ecx + 0x1cc]
mov eax, dword [ecx + 0x1c4]
mov esi, dword [esp + 0x48]
mov dword [edi + 0x18], eax
mov eax, dword [ecx + 0x1d8]
mov dword [ecx + 0x1c4], edi
mov dword [edi + 8], eax
mov eax, dword [ecx + 0x1dc]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + 0x1e0]
mov dword [edi + 0x10], eax
mov eax, dword [ecx + 0x1e4]
mov dword [edi + 0x14], eax
mov edi, ecx
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edi, dword [edi + 0x1c4]
xor ebx, ebx
test edi, edi
je 0x1005f477
mov edi, edi
push esi
push dword [edi]
call fcn.10059460
add esp, 8
test eax, eax
je 0x1005f49c
mov edi, dword [edi + 0x18]
inc ebx
test edi, edi
jne 0x1005f460
push esi
mov esi, dword [esp + 0x54]
push str.no_such_savepoint:__s
push esi
call fcn.1005d010
mov edi, dword [esp + 0x58]
mov edx, 1
add esp, 0xc
mov dword [esp + 0x54], edx
jmp 0x100605d8
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x84]
cmp dword [edx + 0xb4], 0
jle 0x1005f4b9
cmp esi, 1
je 0x1006383c
cmp dword [edi + 0x18], 0
jne 0x1005f525
cmp byte [edx + 0x57], 0
je 0x1005f525
mov dword [esp + 0x88], 1
cmp esi, 1
jne 0x1005f530
push esi
push dword [esp + 0x54]
call fcn.1005ca70
mov ecx, eax
add esp, 8
mov dword [esp + 0x54], ecx
test ecx, ecx
jne 0x10063dd6
mov eax, dword [esp + 0x4c]
push dword [esp + 0x50]
mov byte [eax + 0x4f], 1
call fcn.100649b0
add esp, 4
cmp eax, 5
je 0x10063860
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov byte [edx + 0x57], 0
mov eax, dword [eax + 0x28]
mov dword [esp + 0x54], eax
jmp 0x1005f62b
mov dword [esp + 0x88], 0
mov ecx, dword [edx + 0x1cc]
mov eax, dword [edx + 0x14]
sub ecx, ebx
dec ecx
mov dword [esp + 0x5c], ecx
cmp esi, 2
jne 0x1005f5a4
mov edx, dword [edx + 0x18]
xor ebx, ebx
and edx, 1
mov dword [esp + 0x78], edx
test eax, eax
jle 0x1005f5aa
mov ecx, edx
xor ecx, 1
xor esi, esi
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x4c]
push ecx
push 0x204
mov eax, dword [eax + 0x10]
push dword [esi + eax + 4]
call fcn.1003ac10
mov edx, eax
add esp, 0xc
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063813
mov eax, dword [esp + 0x4c]
inc ebx
mov ecx, dword [esp + 0x70]
add esi, 0x10
mov eax, dword [eax + 0x14]
cmp ebx, eax
jl 0x1005f560
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x78]
jmp 0x1005f5aa
xor edx, edx
mov dword [esp + 0x78], edx
xor ebx, ebx
test eax, eax
mov eax, dword [esp + 0x4c]
jle 0x1005f5fa
xor esi, esi
jmp 0x1005f5c0
mov eax, dword [eax + 0x10]
push ecx
push dword [esp + 0x88]
push dword [esi + eax + 4]
call fcn.1003a710
mov edx, eax
add esp, 0xc
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063813
mov eax, dword [esp + 0x4c]
inc ebx
mov ecx, dword [esp + 0x5c]
add esi, 0x10
cmp ebx, dword [eax + 0x14]
jl 0x1005f5c0
mov edx, dword [esp + 0x78]
test edx, edx
je 0x1005f61c
push 0
push eax
call fcn.1003fc40
push dword [esp + 0x54]
call fcn.10053b90
mov edx, dword [esp + 0x58]
add esp, 0xc
or dword [edx + 0x18], 1
jmp 0x1005f620
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x5c]
mov ecx, dword [edx + 0x1c4]
cmp ecx, edi
je 0x1005f6a2
mov esi, dword [esp + 0x4c]
lea esp, [esp]
cmp dword [esi + 0x1e8], 0
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x1c4], eax
je 0x1005f65e
push ecx
push esi
call fcn.100281e0
add esp, 8
jmp 0x1005f687
cmp ecx, dword [esi + 0x138]
jb 0x1005f67e
cmp ecx, dword [esi + 0x13c]
jae 0x1005f67e
mov eax, dword [esi + 0x134]
mov dword [ecx], eax
mov dword [esi + 0x134], ecx
jmp 0x1005f687
push ecx
call sym.sqlite3.dll_sqlite3_free
add esp, 4
dec dword [esi + 0x1cc]
mov ecx, dword [esi + 0x1c4]
cmp ecx, edi
jne 0x1005f640
mov esi, dword [esp + 0x84]
mov edx, dword [esp + 0x4c]
cmp esi, 1
jne 0x1005f6fe
mov eax, dword [edi + 0x18]
push edi
push edx
mov dword [edx + 0x1c4], eax
call fcn.1003dd80
add esp, 8
cmp dword [esp + 0x88], 0
jne 0x1005f731
mov edx, dword [esp + 0x4c]
dec dword [edx + 0x1cc]
push ebx
push esi
push edx
call fcn.100687b0
add esp, 0xc
mov edx, eax
mov dword [esp + 0x54], edx
mov edi, dword [esp + 0x4c]
test edx, edx
jne 0x100605d4
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
cmp dword [esp + 0x88], 0
mov eax, dword [edi + 8]
mov dword [edx + 0x1d8], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 0x1dc], eax
mov eax, dword [edi + 0x10]
mov dword [edx + 0x1e0], eax
mov eax, dword [edi + 0x14]
mov dword [edx + 0x1e4], eax
je 0x1005f6ce
cmp esi, 2
je 0x1005f6ce
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x4c]
test edx, edx
jne 0x100605d4
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc8], 0
mov edx, dword [edx + 8]
test edx, edx
je 0x1005f77b
mov eax, dword [edi + 0x20]
and eax, 0x100000
or eax, 0
jne 0x10063895
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov esi, dword [eax + ecx*8 + 4]
test esi, esi
je 0x1005f89e
lea eax, [esp + 0xc8]
push eax
push edx
push esi
call fcn.10037bc0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x54], edx
test edx, edx
jne 0x1006389f
mov ebx, dword [esp + 0x48]
cmp dword [ebx + 8], eax
mov ebx, dword [esp + 0x50]
je 0x1005f8a6
test byte [ebx + 0x98], 0x80
je 0x1005f8a6
cmp byte [edi + 0x4f], al
je 0x1005f7e3
cmp dword [edi + 0xb0], 1
jle 0x1005f8a6
mov eax, dword [ebx + 0x30]
test eax, eax
jne 0x1005f7ff
mov eax, dword [edi + 0x1cc]
inc dword [edi + 0x1d0]
add eax, dword [edi + 0x1d0]
mov dword [ebx + 0x30], eax
dec eax
push eax
push 0
push edi
call fcn.100687b0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x54], edx
test edx, edx
jne 0x1005f878
mov edi, dword [ebx + 0x30]
mov ebx, dword [esi + 4]
cmp byte [esi + 9], al
je 0x1005f832
inc dword [esi + 0xc]
cmp byte [esi + 0xa], al
jne 0x1005f832
push esi
call fcn.10017080
add esp, 4
mov eax, dword [ebx]
cmp edi, dword [eax + 0x60]
jle 0x1005f84f
cmp byte [eax + 6], 0
je 0x1005f84f
push edi
push eax
call fcn.1002b580
add esp, 8
mov dword [esp + 0x54], eax
jmp 0x1005f857
mov dword [esp + 0x54], 0
cmp byte [esi + 9], 0
je 0x1005f86c
add dword [esi + 0xc], 0xffffffff
jne 0x1005f86c
push esi
call fcn.100719e0
add esp, 4
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov eax, dword [edi + 0x1d8]
mov dword [ebx + 0x48], eax
mov eax, dword [edi + 0x1dc]
mov dword [ebx + 0x4c], eax
mov eax, dword [edi + 0x1e0]
mov dword [ebx + 0x50], eax
mov eax, dword [edi + 0x1e4]
mov dword [ebx + 0x54], eax
jmp 0x1005f8a6
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x48]
cmp word [esi + 2], 0
je 0x1005f8db
mov eax, dword [esp + 0xc8]
cmp eax, dword [esi + 0xc]
jne 0x100638d4
mov eax, esi
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov eax, dword [eax + 4]
cmp eax, dword [esi + 0x10]
jne 0x100638d4
test edx, edx
jne 0x100605d4
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x128]
push eax
mov eax, dword [edi + 0x10]
mov ecx, dword [edx + 4]
push dword [edx + 0xc]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.10038d90
push dword [esp + 0x54]
push dword [esp + 0x60]
call fcn.1002ab60
mov esi, dword [esp + 0x5c]
mov ecx, eax
mov eax, dword [esp + 0x13c]
add esp, 0x14
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov esi, dword [edx + 4]
push dword [edx + 0xc]
shl esi, 4
add esi, dword [edi + 0x10]
push dword [edx + 8]
push dword [esi + 4]
call fcn.1003acf0
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], edx
mov eax, dword [eax + 8]
cmp eax, 1
jne 0x1005f986
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
or dword [edi + 0x18], 1
jmp 0x1005f998
cmp eax, 2
jne 0x1005f998
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0xc]
mov al, byte [eax + 0xc]
mov byte [ecx + 0x4c], al
mov esi, dword [esp + 0x48]
cmp dword [esi + 4], 1
jne 0x1005f9bc
push 0
push edi
call fcn.1003fc40
mov ebx, dword [esp + 0x58]
add esp, 8
mov edx, dword [esp + 0x54]
and dword [ebx + 0x98], 0xfffffffc
test edx, edx
jne 0x100605d4
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
test esi, esi
je case.0x1005d176.108
mov eax, dword [esi + 0x34]
cmp eax, dword [ebx + 8]
je 0x1005fb09
mov esi, dword [esp + 0x50]
mov eax, dword [esi + 0x98]
and al, 3
cmp al, 1
je 0x1006394e
mov eax, dword [esp + 0x48]
mov dword [esp + 0x64], 0
mov dword [esp + 0x78], 0
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
mov eax, ecx
shl eax, 4
add eax, dword [edi + 0x10]
cmp dl, 0x6d
mov edx, dword [esp + 0x48]
mov dword [esp + 0x70], ecx
mov esi, dword [eax + 4]
mov dword [esp + 0x5c], esi
jne 0x1005fa62
mov eax, dword [eax + 0xc]
movzx edi, word [edx + 2]
mov esi, dword [esp + 0x50]
and edi, 8
or edi, 4
mov al, byte [eax + 0x4c]
cmp al, byte [esi + 0x93]
jae 0x1005fa64
mov byte [esi + 0x93], al
jmp 0x1005fa64
xor edi, edi
test byte [edx + 2], 0x10
je 0x1005fa87
mov ecx, dword [esp + 0x58]
lea eax, [ebx + ebx*4]
lea esi, [ecx + eax*8]
push esi
call fcn.10065af0
mov ebx, dword [esi]
add esp, 4
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x48]
mov al, byte [edx + 1]
cmp al, 0xf7
jne 0x1005fa9b
mov eax, dword [edx + 0x10]
mov dword [esp + 0x78], eax
movzx eax, word [eax + 8]
jmp 0x1005faa8
cmp al, 0xfd
jne 0x1005faa4
mov eax, dword [edx + 0x10]
jmp 0x1005faa8
mov eax, dword [esp + 0x64]
push 0
push ecx
push eax
push dword [edx + 4]
push dword [esp + 0x60]
call fcn.10012df0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1005f0ad
push dword [esi + 0x28]
or dword [esi + 8], 4
push dword [esp + 0x7c]
mov byte [esi + 2], 1
push edi
push ebx
push dword [esp + 0x6c]
mov dword [esi + 0x34], ebx
call fcn.10038820
mov edi, dword [esp + 0x60]
mov edx, eax
mov eax, dword [esp + 0x8c]
add esp, 0x14
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], edx
cmp byte [eax + 1], 0xf7
setne al
mov byte [esi + 4], al
jmp 0x1005fb0d
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
mov cl, byte [eax + 2]
mov eax, dword [esi + 0x28]
and cl, 3
mov byte [eax + 3], cl
test edx, edx
jne 0x100605d4
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
push 0
push 0xffffffffffffffff
mov ecx, dword [edx + 8]
mov eax, dword [esi + 0x60]
mov ebx, dword [eax + ecx*4]
movsx eax, word [ebx + 0x38]
push eax
push dword [edx + 4]
push esi
call fcn.10012df0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x10063ccd
or dword [edi + 8], 1
push dword [edi + 0x28]
mov byte [edi + 2], 1
mov esi, dword [ebx + 0x2c]
mov dword [edi + 0x2c], esi
mov al, byte [ebx + 4]
mov byte [edi + 4], al
mov edx, dword [ebx + 0x34]
mov dword [edi + 0x34], edx
mov eax, dword [ebx + 8]
xor eax, dword [edi + 8]
push esi
push 4
and eax, 4
xor dword [edi + 8], eax
push edx
push dword [ebx + 0xc]
call fcn.10038820
mov edi, dword [esp + 0x60]
mov ebx, eax
mov esi, dword [esp + 0x5c]
add esp, 0x14
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 0x60]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x1005fc0b
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
test eax, eax
je 0x1005fd0e
push 0
push dword [esi + 0x34]
push eax
call fcn.10037ed0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x54], edx
jmp 0x1005fd12
push 0
push 0xffffffffffffffff
push dword [edx + 8]
push ecx
push ebx
call fcn.10012df0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10063a77
mov eax, dword [esp + 0x48]
lea edi, [esi + 0xc]
or dword [esi + 8], 1
push 0x41e
movzx ecx, word [eax + 2]
mov eax, dword [esp + 0x50]
or ecx, 5
push ecx
push edi
push eax
push 0
push dword [eax]
call fcn.10039dd0
mov edx, eax
add esp, 0x18
mov dword [esp + 0x54], edx
test edx, edx
jne 0x1005fceb
push eax
push 1
push dword [edi]
call fcn.10037bc0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x54], edx
test edx, edx
jne 0x1005fceb
mov ecx, dword [esp + 0x48]
lea ebx, [esi + 0x34]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x70], eax
mov dword [esi + 0x2c], eax
test eax, eax
je 0x1005fcc8
movzx eax, word [ecx + 2]
or eax, 2
push eax
push ebx
push dword [edi]
call fcn.100387d0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x54], edx
test edx, edx
jne 0x1005fcc2
push dword [esi + 0x28]
push dword [esp + 0x74]
push 4
push dword [ebx]
push dword [edi]
call fcn.10038820
mov edx, eax
add esp, 0x14
mov dword [esp + 0x54], edx
mov byte [esi + 4], 0
jmp 0x1005fceb
push dword [esi + 0x28]
mov dword [ebx], 1
push 0
push 4
push 1
push dword [edi]
call fcn.10038820
mov edx, eax
mov byte [esi + 4], 1
add esp, 0x14
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x48]
xor ecx, ecx
mov edi, dword [esp + 0x4c]
cmp word [eax + 2], 8
mov eax, dword [esi + 8]
sete cl
and eax, 0xfffffffb
dec ecx
and ecx, 4
or ecx, eax
mov dword [esi + 8], ecx
jmp 0x1005fd12
mov edx, dword [esp + 0x54]
test edx, edx
jne 0x100605d4
mov byte [esi + 2], 1
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
push 1
push 0xffffffffffffffff
push dword [edx + 8]
push dword [edx + 4]
push esi
call fcn.10012df0
add esp, 0x14
test eax, eax
je 0x1005f0b5
mov edx, dword [esp + 0x48]
push eax
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x2c], ecx
push dword [edx + 0xc]
push edi
call fcn.100676e0
add esp, 0xc
mov edx, eax
mov dword [esp + 0x54], edx
test edx, edx
jne 0x100605d8
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov edx, dword [eax + ecx*4]
mov edi, dword [edx + 0x10]
mov ecx, edi
mov esi, dword [edx + 0x14]
add ecx, 1
mov eax, esi
mov dword [edx + 0x10], ecx
adc eax, 0
or edi, esi
mov dword [edx + 0x14], eax
je 0x1005d1af
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
push 3
push 0xffffffffffffffff
push dword [edx + 0xc]
push dword [edx + 4]
push esi
call fcn.10012df0
add esp, 0x14
test eax, eax
je 0x1005f0b5
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x48]
mov byte [eax + 2], 1
mov ecx, dword [ecx + 8]
mov dword [eax + 0x20], ecx
mov byte [eax + 4], 1
mov dword [eax + 0x28], 0x100957eb
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 0x60]
push dword [eax + ecx*4]
push ebx
call fcn.10064840
mov eax, dword [esp + 0x50]
add esp, 8
mov esi, dword [esp + 0x48]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x60]
mov dword [eax + ecx*4], 0
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x5c], 0
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esp + 0x58]
cmp byte [esi + 4], 0
mov word [esi + 2], 0
mov dword [esi + 0x1c], 0
je 0x1005ff86
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov al, byte [edi + 8]
and al, 0x2e
cmp al, 2
jne 0x1005feb0
push 0
push edi
call fcn.10013f30
add esp, 8
push edi
call sym.sqlite3.dll_sqlite3_value_int64
movzx ecx, word [edi + 8]
add esp, 4
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], edx
test cl, 0x24
jne 0x1005ff42
test cl, 8
jne 0x1005ff0d
test cl, 1
jne 0x1005d1af
cmp ebx, 0x18
jae 0x1005d1af
lea eax, [esp + 0x90]
push eax
push dword [esi + 0x28]
call fcn.10039720
mov edx, eax
add esp, 8
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063813
jmp 0x100600d6
fild qword [esp + 0x110]
fstp qword [esp + 0x70]
fld qword [esp + 0x70]
fld qword [edi]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x1005ff33
fstp st(0)
fstp st(0)
test bl, 1
je 0x1005ff42
dec ebx
jmp 0x1005ff42
fcompp
fnstsw ax
test ah, 0x41
jne 0x1005ff42
test bl, 1
jne 0x1005ff42
inc ebx
mov edi, dword [esp + 0x110]
lea eax, [esp + 0x90]
push eax
push 0
push edx
push edi
push 0
push dword [esi + 0x28]
call fcn.100397b0
mov edx, eax
mov dword [esi + 0x40], edi
mov eax, dword [esp + 0x12c]
add esp, 0x18
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x54], edx
mov dword [esi + 0x44], eax
test edx, edx
jne 0x100605d4
jmp 0x1006002a
mov eax, dword [esi + 0x28]
mov al, byte [eax + 3]
and al, 2
mov byte [esp + 0x6b], al
mov eax, 0
setne al
test bl, 1
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x138], eax
mov ax, word [edx + 0x10]
mov word [esp + 0x140], ax
sete al
mov byte [esp + 0x146], 0
lea eax, [eax*2 - 1]
mov byte [esp + 0x142], al
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [esp + 0x13c], eax
lea eax, [esp + 0x90]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x148]
push eax
push dword [esi + 0x28]
call fcn.100397b0
mov edx, eax
add esp, 0x18
mov dword [esp + 0x54], edx
test edx, edx
jne 0x100605d4
cmp byte [esp + 0x6b], al
je 0x1006002a
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x5c], eax
cmp byte [esp + 0x146], dl
je 0x100600d6
mov eax, dword [esp + 0x90]
cmp ebx, 0x18
jl 0x100600ba
test eax, eax
js 0x10060077
jne 0x10060045
cmp ebx, 0x19
je 0x10060077
mov dword [esp + 0x90], 0
cmp dword [esp + 0x5c], 0
mov edi, dword [esp + 0x4c]
je 0x1005d1c9
add dword [esp + 0x48], 0x14
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
push 0
push dword [esi + 0x28]
mov dword [esp + 0x98], 0
call fcn.10039d70
mov edx, eax
add esp, 8
mov dword [esp + 0x54], edx
test edx, edx
je 0x10060050
cmp edx, 0x65
jne 0x100605d4
mov dword [esp + 0x54], 0
mov dword [esp + 0x90], 1
jmp 0x1005d1af
test eax, eax
jg 0x100600e9
jne 0x100600c5
cmp ebx, 0x16
je 0x100600e9
mov eax, dword [esi + 0x28]
xor ecx, ecx
cmp byte [eax], cl
setne cl
mov dword [esp + 0x90], ecx
cmp dword [esp + 0x90], 0
jne 0x1005d1af
jmp 0x10060050
push 0
push dword [esi + 0x28]
mov dword [esp + 0x98], 0
call fcn.1003a520
jmp 0x1006008c
mov edx, dword [esp + 0x48]
mov esi, edx
mov eax, dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, edx
mov eax, dword [eax + 8]
shl eax, 3
xor eax, dword [ecx + 8]
and eax, 8
xor dword [ecx + 8], eax
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov ebx, dword [esp + 0x50]
mov ecx, dword [esi + 4]
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + ecx*4]
test byte [eax + 8], 8
jne case.0x1005d176.86
jmp 0x10060150
mov ebx, dword [esp + 0x50]
mov ecx, dword [esi + 4]
mov eax, dword [ebx + 0x60]
mov edx, dword [esp + 0x58]
mov ebx, dword [eax + ecx*4]
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
test ecx, ecx
jle 0x10060195
mov eax, dword [ebx + 0x2c]
lea edi, [esp + 0x280]
mov dword [esp + 0x284], esi
xor esi, esi
mov dword [esp + 0x280], eax
mov word [esp + 0x288], cx
jmp 0x100601de
mov eax, 0x4000
test word [esi + 8], ax
je 0x100601b1
push esi
call fcn.100657a0
add esp, 4
test eax, eax
jne 0x1005f0b1
push dword [ebx + 0x2c]
call fcn.1005c790
mov edi, eax
add esp, 4
mov dword [esp + 0x70], edi
test edi, edi
je 0x1005f0ad
push edi
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [ebx + 0x2c]
call fcn.100670a0
add esp, 0x10
mov esi, edi
mov eax, dword [esp + 0x48]
mov byte [edi + 0xa], 0
mov dword [esp + 0x64], 0
cmp byte [eax], 0x1b
jne 0x1006021a
movzx edx, word [edi + 8]
xor ecx, ecx
test edx, edx
je 0x1006021a
mov eax, dword [edi + 4]
add eax, 8
test byte [eax], 1
jne 0x10060212
inc ecx
add eax, 0x28
cmp ecx, edx
jl 0x10060203
jmp 0x1006021a
mov dword [esp + 0x64], 1
lea eax, [esp + 0x12c]
push eax
push 0
push 0
push 0
push edi
push dword [ebx + 0x28]
call fcn.100397b0
mov edi, dword [esp + 0x64]
add esp, 0x18
mov edx, eax
mov dword [esp + 0x54], edx
test esi, esi
je 0x10060250
push esi
push edi
call fcn.1003ddd0
mov edx, dword [esp + 0x5c]
add esp, 8
test edx, edx
jne 0x100605d4
mov eax, dword [esp + 0x12c]
xor ecx, ecx
mov esi, dword [esp + 0x48]
test eax, eax
mov dword [ebx + 0x20], eax
sete cl
mov byte [ebx + 3], dl
test eax, eax
mov dword [ebx + 0x1c], edx
setne al
mov byte [ebx + 2], al
cmp byte [esi], 0x1d
jne 0x10060297
test ecx, ecx
jne 0x1005d1af
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
cmp dword [esp + 0x64], 0
jne 0x1005d1af
test ecx, ecx
je 0x1005d1af
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
movzx eax, word [esi + 8]
test al, 0x24
jne case.0x1005d176.31
mov edi, eax
test al, 4
jne 0x100602f6
test al, 8
jne 0x100602ed
test al, 2
je 0x100602f6
push 1
push esi
call fcn.10013f30
add esp, 8
jmp 0x100602f6
push esi
call fcn.10064cf0
add esp, 4
movzx eax, word [esi + 8]
shr eax, 2
not eax
mov word [esi + 8], di
test al, 1
jne 0x1005d1af
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov dword [esp + 0xfc], 0
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov ebx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x58]
lea eax, [eax + eax*4]
mov esi, dword [ecx + eax*8]
mov edi, dword [ecx + eax*8 + 4]
lea eax, [esp + 0xfc]
push eax
push 0
push edi
push esi
push 0
push dword [ebx + 0x28]
call fcn.100397b0
mov edx, eax
mov dword [ebx + 0x40], esi
mov eax, dword [esp + 0x114]
add esp, 0x18
mov dword [esp + 0x54], edx
mov dword [ebx + 0x44], edi
mov word [ebx + 2], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], eax
test eax, eax
je 0x1005f6df
mov edi, dword [esp + 0x48]
cmp dword [edi + 8], 0
jne 0x1005d1b3
push 0x158d1
call fcn.1003c810
add esp, 4
jmp 0x1005f6d9
mov ebx, dword [esp + 0x48]
push ebx
push dword [esp + 0x54]
call fcn.1002ab60
mov edx, dword [ebx + 4]
add esp, 8
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x48]
mov ecx, dword [ebx + 0x60]
mov edx, dword [ecx + edx*4]
mov ecx, dword [edx + 0x10]
mov dword [eax], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + ecx*4]
add dword [eax + 0x10], 1
adc dword [eax + 0x14], 0
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov ebx, dword [esp + 0x48]
xor esi, esi
push ebx
push dword [esp + 0x54]
xor edi, edi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xc4], esi
call fcn.1002ab60
mov edx, dword [ebx + 4]
add esp, 8
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x60]
mov ebx, dword [ecx + edx*4]
mov dword [esp + 0x5c], ebx
test byte [ebx + 8], 2
jne 0x100604aa
lea eax, [esp + 0xbc]
push eax
push dword [ebx + 0x28]
call fcn.10039720
mov edx, eax
add esp, 8
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063813
cmp dword [esp + 0xbc], esi
je 0x10060461
lea edi, [esi + 1]
jmp 0x1006049c
mov esi, dword [ebx + 0x28]
push esi
call fcn.10024a30
mov edi, dword [esi + 0x20]
add esp, 4
mov esi, dword [esi + 0x24]
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], esi
cmp esi, 0x7fffffff
jl 0x10060496
jg 0x10060490
cmp edi, 0xffffffff
jb 0x10060496
or dword [ebx + 8], 2
jmp 0x100604aa
add edi, 1
adc esi, 0
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], edi
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x10060546
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0xc8]
test edx, edx
je 0x100604e4
mov eax, dword [edx + 4]
test eax, eax
je 0x100604d9
mov edi, edi
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x100604d0
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
lea ebx, [eax + ecx*8]
jmp 0x100604ee
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x58]
lea ebx, [ecx + eax*8]
push ebx
call fcn.10065af0
mov eax, dword [ebx]
add esp, 4
mov ecx, dword [ebx + 4]
cmp eax, 0xffffffff
jne 0x1006050d
cmp ecx, 0x7fffffff
je 0x100605c7
mov edx, dword [esp + 0x5c]
test byte [edx + 8], 2
jne 0x100605c7
add eax, 1
adc ecx, 0
cmp esi, ecx
jg 0x1006053d
jl 0x1006052b
cmp edi, eax
jae 0x1006053d
mov edi, eax
mov esi, ecx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], esi
mov dword [ebx], edi
mov dword [ebx + 4], esi
mov ebx, dword [esp + 0x5c]
test byte [ebx + 8], 2
je 0x10060647
xor ebx, ebx
lea eax, [esp + 0xa8]
push eax
push 8
call fcn.100077d0
mov esi, dword [esp + 0xb4]
lea eax, [esp + 0xc4]
mov edi, dword [esp + 0xb0]
and esi, 0x3fffffff
push eax
mov eax, dword [esp + 0x68]
add edi, 1
push 0
adc esi, 0
mov dword [esp + 0xb8], edi
push esi
push edi
push 0
push dword [eax + 0x28]
mov dword [esp + 0xcc], esi
call fcn.100397b0
mov edx, eax
add esp, 0x20
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063813
cmp dword [esp + 0xbc], eax
jne 0x10060643
inc ebx
cmp ebx, 0x64
jl 0x10060552
mov edx, 0xd
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x54], edx
mov esi, dword [esp + 0x50]
cmp byte [edi + 0x51], 0
je 0x100605e7
mov edx, 7
mov dword [esp + 0x54], edx
cmp dword [esi + 0x7c], 0
jne 0x10063d07
cmp edx, 0xc0a
je 0x10063d07
mov eax, edx
mov ecx, str.unknown_error
sub eax, 0x64
je 0x10063cef
sub eax, 1
je 0x10063ce8
sub eax, 0x19f
je 0x10063ce1
movzx eax, dl
cmp eax, 0x1d
jae 0x10063cf4
mov eax, dword [eax*4 + 0x10086ca0]
test eax, eax
je 0x10063cf4
mov ecx, eax
jmp 0x10063cf4
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x70]
mov byte [ebx + 3], 0
mov dword [ebx + 0x1c], 0
mov dword [eax], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
cmp byte [edx + 1], 0xfa
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
lea edi, [eax + eax*4]
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x5c], esi
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8]
mov dword [esp + 0x298], ecx
mov eax, dword [ebx + eax*8 + 4]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x29c], eax
jne 0x100606dc
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0xec], 0
je 0x100606dc
movsx ecx, byte [esi + 1]
mov eax, dword [eax + 0x10]
add ecx, ecx
mov ebx, dword [edx + 0x10]
mov ecx, dword [eax + ecx*8]
mov dword [esp + 0x64], ecx
jmp 0x100606e2
xor ebx, ebx
mov dword [esp + 0x64], ebx
movzx eax, word [edx + 2]
mov edx, eax
test al, 1
je 0x100606fb
mov eax, dword [esp + 0x50]
inc dword [eax + 0x2c]
mov eax, dword [esp + 0x48]
movzx edx, word [eax + 2]
movzx ecx, dx
test dl, 0x20
je 0x1006071d
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x70]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x78]
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x48]
movzx ecx, word [eax + 2]
mov edx, dword [esp + 0x58]
mov eax, dword [edx + edi*8 + 0x10]
mov dword [esp + 0x2a0], eax
mov eax, dword [edx + edi*8 + 0xc]
mov dword [esp + 0x2ac], eax
test cl, 0x10
je 0x10060741
mov edx, dword [esi + 0x20]
jmp 0x10060743
xor edx, edx
mov eax, dword [esp + 0x58]
mov esi, 0x4000
test word [eax + edi*8 + 8], si
mov esi, dword [esp + 0x5c]
je 0x10060763
mov eax, dword [eax + edi*8]
mov dword [esp + 0x2b0], eax
jmp 0x1006076e
mov dword [esp + 0x2b0], 0
push edx
and ecx, 0xa
mov dword [esp + 0x294], 0
push ecx
lea eax, [esp + 0x298]
push eax
push dword [esi + 0x28]
call fcn.10038df0
mov edx, eax
mov byte [esi + 3], 0
add esp, 0x10
mov dword [esp + 0x54], edx
mov dword [esi + 0x1c], 0
test edx, edx
jne 0x10063813
mov edi, dword [esp + 0x4c]
test ebx, ebx
je 0x1005d1c9
mov eax, dword [esp + 0x48]
push dword [esp + 0x29c]
push dword [esp + 0x29c]
mov al, byte [eax + 2]
push dword [ebx]
and al, 4
push dword [esp + 0x70]
movzx eax, al
neg eax
sbb eax, eax
and eax, 5
add eax, 0x12
push eax
push dword [edi + 0xe8]
mov eax, dword [edi + 0xec]
call eax
mov esi, dword [esp + 0x60]
add esp, 0x18
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
cmp byte [edx + 1], 0xfa
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x60]
mov edi, dword [eax + ecx*4]
jne 0x10060871
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0xec], 0
je 0x10060871
movsx ecx, byte [edi + 1]
mov eax, dword [eax + 0x10]
add ecx, ecx
test byte [edx + 2], 2
mov ebx, dword [edx + 0x10]
mov esi, dword [eax + ecx*8]
mov dword [esp + 0x70], esi
je 0x10060875
cmp byte [edi + 4], 0
je 0x10060875
mov esi, dword [edi + 0x28]
push esi
call fcn.10024a30
mov eax, dword [esi + 0x20]
add esp, 4
mov edx, dword [esp + 0x48]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x24]
mov esi, dword [esp + 0x70]
mov dword [edi + 0x44], eax
jmp 0x10060875
xor esi, esi
xor ebx, ebx
movzx eax, byte [edx + 2]
push eax
push dword [edi + 0x28]
call fcn.10038930
mov edx, eax
mov dword [edi + 0x1c], 0
add esp, 8
mov dword [esp + 0x54], edx
mov dword [edi + 0x20], 0
test edx, edx
jne 0x10063813
test byte [esp + 0x64], 1
je 0x1005d1c5
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
inc dword [edx + 0x2c]
mov eax, dword [eax + 0xec]
test eax, eax
je 0x1005d1c5
test byte [ebx + 0x24], 0x20
jne 0x1005d1c5
push dword [edi + 0x44]
push dword [edi + 0x40]
mov edi, dword [esp + 0x54]
push dword [ebx]
push esi
push 9
push dword [edi + 0xe8]
call eax
mov esi, dword [esp + 0x60]
add esp, 0x18
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov ebx, dword [esp + 0x50]
mov eax, dword [ebx + 0x2c]
add dword [edi + 0x68], eax
mov dword [edi + 0x64], eax
mov dword [ebx + 0x2c], 0
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [edx + 0x10]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov edi, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x2c]
lea eax, [eax + eax*4]
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x64], eax
test eax, eax
jne 0x1006096a
push ebx
call fcn.1005c790
add esp, 4
mov dword [esp + 0x64], eax
mov dword [edi + 0x20], eax
test eax, eax
je 0x10060a42
mov word [eax + 8], si
lea eax, [esp + 0x130]
push eax
push edi
call fcn.10075ab0
mov edi, dword [esp + 0x6c]
push edi
push eax
push dword [esp + 0x140]
push ebx
call fcn.100670a0
add esp, 0x18
xor ecx, ecx
test esi, esi
jle 0x100609b1
mov eax, dword [edi + 4]
add eax, 8
lea ebx, [ebx]
test byte [eax], 1
jne 0x100629fd
inc ecx
add eax, 0x28
cmp ecx, esi
jl 0x100609a0
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x58]
push 0
push edi
push dword [ebx + eax*8 + 0x10]
push dword [ebx + eax*8 + 0xc]
call fcn.10066970
add esp, 0x10
mov dword [esp + 0x54], 0
test eax, eax
jne 0x1005d1af
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov ecx, dword [edx + 4]
lea eax, [esp + 0x134]
push eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
push dword [eax + 0x28]
call fcn.10075ab0
mov edi, dword [esp + 0x13c]
add esp, 8
mov ebx, eax
cmp dword [esi + 0x18], edi
jge 0x10060a4c
push 0
push edi
push esi
call fcn.10065990
add esp, 0xc
test eax, eax
je 0x10060a57
mov edx, 7
jmp 0x100605cc
mov eax, dword [esi + 0x14]
and word [esi + 8], 0x2d
mov dword [esi + 0x10], eax
mov ax, word [esi + 8]
mov ecx, 0x3e40
push edi
and ax, cx
mov dword [esi + 0xc], edi
push ebx
push dword [esi + 0x10]
or ax, 0x10
mov word [esi + 8], ax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x54]
add esp, 0xc
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x54], 0
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x1c], 0
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
push edi
push ebx
call fcn.1002ab60
mov edx, dword [edi + 4]
mov esi, eax
mov ecx, dword [ebx + 0x60]
mov ecx, dword [ecx + edx*4]
mov edi, dword [ecx + 0x28]
push edi
call fcn.10024a30
mov edx, dword [esp + 0x58]
add esp, 0xc
mov eax, dword [edi + 0x2c]
cmp eax, dword [edx + 0x6c]
ja 0x1005d4c2
push esi
push eax
push 0
push edi
call fcn.10065920
mov edx, eax
add esp, 0x10
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063cd6
mov edi, dword [esp + 0x48]
cmp dword [edi + 0xc], eax
jne 0x1005d1c5
mov eax, 0x1000
test word [esi + 8], ax
je 0x1005d1c5
push esi
call fcn.10065b50
mov edi, dword [esp + 0x50]
add esp, 4
test eax, eax
jne 0x10063a77
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
push dword [esp + 0x48]
mov ebx, dword [esp + 0x54]
push ebx
call fcn.1002ab60
mov ecx, dword [esp + 0x50]
add esp, 8
mov edi, eax
mov edx, dword [ecx + 4]
mov ecx, dword [ebx + 0x60]
mov esi, dword [ecx + edx*4]
cmp byte [esi + 2], 0
je 0x10060b8d
mov esi, dword [esp + 0x48]
mov eax, 1
mov word [edi + 8], ax
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
cmp byte [esi + 3], 0
je 0x10060bca
mov ecx, dword [esi + 0x40]
mov dword [esp + 0xd0], ecx
mov eax, dword [esi + 0x44]
mov esi, dword [esp + 0x48]
mov dword [esp + 0xd4], eax
mov dword [edi], ecx
mov eax, dword [esp + 0xd4]
mov dword [edi + 4], eax
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
cmp byte [esi], 2
jne 0x10060c2a
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0xd0]
push edx
push ecx
mov esi, dword [ecx]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
call eax
push esi
mov esi, ebx
mov dword [esp + 0x60], eax
push esi
call fcn.100685c0
mov edx, dword [esp + 0x64]
add esp, 0x10
test edx, edx
jne 0x100639bb
mov ecx, dword [esp + 0xd0]
mov esi, dword [esp + 0x48]
mov dword [edi], ecx
mov eax, dword [esp + 0xd4]
mov dword [edi + 4], eax
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
push esi
call fcn.1005cdc0
mov edx, eax
add esp, 4
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063cd6
cmp byte [esi + 2], al
je 0x10060c66
mov esi, dword [esp + 0x48]
mov eax, 1
mov word [edi + 8], ax
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov esi, dword [esi + 0x28]
push esi
call fcn.10024a30
mov ecx, dword [esi + 0x20]
add esp, 4
mov dword [esp + 0xd0], ecx
mov eax, dword [esi + 0x24]
mov esi, dword [esp + 0x48]
mov dword [esp + 0xd4], eax
mov dword [edi], ecx
mov eax, dword [esp + 0xd4]
mov dword [edi + 4], eax
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
cmp byte [esi], 0
mov byte [esi + 2], 1
mov dword [esi + 0x1c], 0
jne 0x1005d1c9
mov esi, dword [esi + 0x28]
push dword [esi + 0x10]
call sym.sqlite3.dll_sqlite3_free
mov dword [esi + 0x10], 0
add esp, 4
mov byte [esi], 1
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 4]
mov dword [esp + 0x100], 0
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x28]
cmp dl, 0x82
jne 0x10060d25
mov dword [esi + 0x20], 0xffffffff
cmp byte [eax], 0
je 0x1005d1c9
lea ecx, [esp + 0x100]
push ecx
push eax
call fcn.10039720
mov edx, eax
mov byte [esi + 3], 0
mov eax, dword [esp + 0x108]
add esp, 8
mov dword [esp + 0x54], edx
mov byte [esi + 2], al
mov dword [esi + 0x1c], 0
test edx, edx
jne 0x100605d4
mov esi, dword [esp + 0x48]
cmp dword [esi + 8], edx
jle case.0x1005d176.86
test eax, eax
jne 0x1005d1af
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0x28]
lea eax, [esp + 0x104]
push eax
push esi
mov dword [esp + 0x6c], esi
call fcn.10038ce0
mov edx, eax
add esp, 8
mov dword [esp + 0x54], edx
test edx, edx
jne 0x100605d4
cmp dword [esp + 0x104], eax
jne 0x1005d1af
cmp byte [esi], al
jne 0x1005d1c9
mov eax, dword [esi + 0x74]
cmp byte [eax + 8], dl
je 0x1005d1c9
movzx eax, word [eax + 0x18]
xor bl, bl
cdq
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x64]
movsx ecx, byte [eax + 0x44]
mov dword [esp + 0x70], ecx
test ecx, ecx
jle 0x10060e17
xor ecx, ecx
mov eax, dword [eax + ecx*4 + 0x78]
push edi
push esi
movzx eax, word [eax + 0x18]
cdq
push edx
push eax
call fcn.10084590
inc bl
mov esi, eax
mov eax, dword [esp + 0x64]
mov edi, edx
movzx ecx, bl
cmp ecx, dword [esp + 0x70]
jl 0x10060df2
test edi, edi
jl 0x1005d1c5
jg 0x10060e29
test esi, esi
jb 0x1005d1c5
push edi
push esi
call fcn.1004cf40
mov edi, dword [esp + 0x50]
add esp, 8
cwde
cmp eax, dword [edi + 0xc]
jge 0x1005d1c5
mov dword [esp + 0x104], 1
jmp 0x1005d1b3
mov eax, dword [esp + 0x50]
inc dword [eax + 0xac]
jmp 0x10060e61
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov ebx, 1
mov eax, dword [eax + 0x60]
mov dword [esp + 0xc0], ebx
mov ecx, dword [edx + 4]
mov edi, dword [eax + ecx*4]
mov esi, dword [edi + 0x28]
cmp byte [edi], bl
jne 0x10060edb
xor edx, edx
mov dword [esp + 0x54], edx
cmp byte [esi + 0x38], dl
jne 0x10060ea9
cmp dword [esi + 0x24], edx
lea eax, [esi + 0x24]
je 0x10060f04
push eax
lea eax, [esi + 0x40]
xor ebx, ebx
push eax
mov dword [esp + 0xc8], ebx
call fcn.10075d30
jmp 0x10060efb
push esi
call fcn.10075300
push eax
push esi
call fcn.10075430
mov edx, eax
add esp, 0xc
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063813
push esi
call fcn.10075b10
add esp, 4
xor ebx, ebx
mov dword [esp + 0xc0], ebx
jmp 0x10060efe
lea eax, [esp + 0xc0]
push eax
push esi
call fcn.10038ce0
mov ebx, dword [esp + 0xc8]
mov byte [edi + 3], 0
mov dword [edi + 0x1c], 0
add esp, 8
mov edx, eax
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063813
mov byte [edi + 2], bl
test ebx, ebx
jne 0x1005d1af
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov edi, dword [eax + ecx*4]
mov esi, dword [edi + 0x28]
cmp byte [esi + 0x38], 0
je 0x10060fc5
cmp byte [esi + 0x39], 0
je 0x10060f85
push dword [esi + 0x10]
call fcn.100745b0
mov edx, eax
add esp, 4
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10060ff9
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x18], edx
jne 0x10060ff9
mov esi, dword [esp + 0x50]
mov edx, 0x65
mov dword [esp + 0x54], edx
jmp 0x10061024
lea eax, [esp + 0xd8]
mov dword [esp + 0xd8], 0
push eax
push dword [esi + 0x14]
call fcn.10073ff0
mov edx, eax
add esp, 8
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10060ff9
cmp dword [esp + 0xd8], eax
je 0x10060ff9
mov esi, dword [esp + 0x50]
mov edx, 0x65
mov dword [esp + 0x54], edx
jmp 0x10061024
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 4]
mov dword [esi + 0x24], eax
mov dword [ecx + 4], 0
cmp dword [esi + 0x28], 0
jne 0x10060fe8
push ecx
push dword [esp + 0x50]
call fcn.10075a50
add esp, 8
mov edx, dword [esi + 0x24]
neg edx
sbb edx, edx
and edx, 0xffffff9b
add edx, 0x65
mov dword [esp + 0x54], edx
mov esi, dword [esp + 0x50]
jmp 0x10061024
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov eax, dword [esi + 0x60]
push dword [edx + 0xc]
mov edi, dword [eax + ecx*4]
mov eax, dword [edx + 0x10]
push dword [edi + 0x28]
call eax
mov edx, eax
add esp, 8
mov dword [esp + 0x54], edx
mov dword [edi + 0x1c], 0
test edx, edx
jne 0x1006104a
mov eax, dword [esp + 0x48]
mov byte [edi + 2], dl
mov edi, dword [esp + 0x4c]
movzx eax, word [eax + 2]
inc dword [esi + eax*4 + 0xa4]
jmp 0x10061cda
cmp edx, 0x65
jne 0x100639bb
mov dword [esp + 0x54], 0
mov byte [edi + 2], 1
mov edi, dword [esp + 0x4c]
cmp dword [edi + 0x110], 0
jne 0x10063c99
mov ebx, dword [esp + 0x9c]
cmp dword [esp + 0xb4], ebx
jb 0x1005d1c9
jmp 0x10061090
mov eax, dword [edi + 0x148]
test eax, eax
je 0x1005d1c9
add ebx, dword [edi + 0x150]
push dword [edi + 0x14c]
mov dword [esp + 0xa0], ebx
call eax
add esp, 4
test eax, eax
jne 0x10063e28
cmp dword [esp + 0xb4], ebx
jae 0x10061090
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 0x60]
mov edi, dword [eax + ecx*4]
mov ecx, edx
mov edx, dword [esp + 0x58]
test byte [ecx + 2], 1
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
je 0x10061103
inc dword [ebx + 0x2c]
mov eax, 0x4000
test word [esi + 8], ax
je 0x10061129
push esi
call fcn.100657a0
mov edx, eax
add esp, 4
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063cd6
mov ecx, dword [esp + 0x48]
cmp byte [ecx], 0x83
jne 0x1006113a
push esi
push edi
call fcn.10067c80
add esp, 8
jmp 0x100611a4
mov eax, dword [esi + 0xc]
cdq
mov dword [esp + 0x2e8], eax
mov dword [esp + 0x2ec], edx
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x2e0], eax
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [esp + 0x2f4], eax
mov ax, word [ecx + 0x10]
mov word [esp + 0x2f8], ax
movzx eax, word [ecx + 2]
test al, 0x10
je 0x10061183
mov ecx, dword [edi + 0x20]
jmp 0x10061185
xor ecx, ecx
push ecx
and eax, 0xa
push eax
lea eax, [esp + 0x2e8]
push eax
push dword [edi + 0x28]
call fcn.10038df0
add esp, 0x10
mov dword [edi + 0x1c], 0
mov edi, dword [esp + 0x4c]
mov edx, eax
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063cda
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esp + 0x58]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x28]
mov dword [esp + 0x230], eax
mov ax, word [edx + 0xc]
mov word [esp + 0x238], ax
mov eax, dword [edx + 8]
mov byte [esp + 0x23a], 0
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [esp + 0x234], eax
lea eax, [esp + 0x120]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x240]
push eax
push edi
call fcn.100397b0
mov edx, eax
add esp, 0x18
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063813
cmp dword [esp + 0x120], eax
jne 0x1006125e
push 4
push edi
call fcn.10038930
mov edx, eax
add esp, 8
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063813
mov edi, dword [esp + 0x4c]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov eax, dword [esi + 0x60]
mov ebx, dword [eax + ecx*4]
push ebx
mov dword [esp + 0x74], ebx
call fcn.1005cdc0
mov edx, eax
add esp, 4
mov dword [esp + 0x54], edx
test edx, edx
jne 0x100605d8
cmp byte [ebx + 2], al
jne 0x1006149d
mov edi, dword [ebx + 0x28]
push edi
call fcn.10024a30
mov ebx, dword [edi + 0x28]
xor eax, eax
movzx ecx, word [edi + 0x30]
add esp, 4
mov esi, dword [edi + 0x2c]
mov word [esp + 0x210], ax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x228], eax
mov eax, dword [edi + 0x74]
mov dword [esp + 0x220], 0
mov eax, dword [eax + 0x3c]
sub eax, ebx
cmp ecx, eax
jle 0x10061304
xor ecx, ecx
test eax, eax
sets cl
dec ecx
and ecx, eax
cmp esi, ecx
ja 0x10061325
mov eax, 0x1010
mov dword [esp + 0x218], ebx
mov word [esp + 0x210], ax
mov dword [esp + 0x214], esi
jmp 0x10061355
lea eax, [esp + 0x208]
push eax
push esi
push 0
push edi
call fcn.10073ad0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063813
mov ebx, dword [esp + 0x218]
mov esi, dword [esp + 0x214]
mov al, byte [ebx]
cmp al, 0x80
jae 0x10061367
movzx edi, al
mov dword [esp + 0xdc], edi
jmp 0x1006137f
lea eax, [esp + 0xdc]
push eax
push ebx
call fcn.10049510
mov edi, dword [esp + 0xe4]
add esp, 8
cmp edi, 3
jb 0x1006395c
cmp edi, esi
ja 0x1006395c
lea eax, [ebx - 1]
add eax, edi
mov cl, byte [eax]
cmp cl, 0x80
jae 0x100613a8
movzx ecx, cl
mov dword [esp + 0xe0], ecx
jmp 0x100613c0
lea ecx, [esp + 0xe0]
push ecx
push eax
call fcn.10049510
mov ecx, dword [esp + 0xe8]
add esp, 8
lea eax, [ecx - 1]
cmp eax, 8
ja 0x1006395c
cmp ecx, 7
je 0x1006395c
movzx edx, byte [ecx + 0x10087508]
lea eax, [edx + edi]
cmp esi, eax
jb 0x1006395c
lea eax, [esp + 0x308]
sub esi, edx
push eax
push ecx
add esi, ebx
push esi
call fcn.100672d0
lea eax, [esp + 0x214]
push eax
call fcn.10065d40
mov edi, dword [esp + 0x58]
add esp, 0x10
mov dword [esp + 0x54], 0
cmp byte [edi], 0x86
jne 0x10061466
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x48]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0x308]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x30c]
mov dword [ecx + 0x44], eax
mov word [ecx + 2], 0x100
mov eax, dword [edi + 0x10]
mov edi, dword [esp + 0x4c]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x70]
mov dword [ecx + 0x24], eax
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
push edi
push dword [esp + 0x54]
call fcn.1002ab60
mov ecx, dword [esp + 0x310]
add esp, 8
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30c]
mov dword [eax + 4], ecx
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.10065e00
mov esi, dword [esp + 0x4c]
add esp, 4
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edi, dword [esp + 0x48]
cmp dl, 0x27
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x240], eax
mov ax, word [edi + 0x10]
mov word [esp + 0x248], ax
sbb al, al
mov byte [esp + 0x24a], al
xor esi, esi
mov eax, dword [edi + 0xc]
mov edi, dword [ecx + 0x28]
push edi
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [esp + 0x248], eax
call fcn.10024a30
mov edx, dword [edi + 0x2c]
xor eax, eax
add esp, 4
mov ecx, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x100615c8
jb 0x10061542
cmp ecx, 0x7ffffffe
ja 0x100615c8
xor eax, eax
mov dword [esp + 0x2d0], esi
mov word [esp + 0x2c0], ax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2d8], eax
lea eax, [esp + 0x2b8]
push eax
push edx
push 0
push edi
call fcn.10065920
mov edx, eax
add esp, 0x10
mov dword [esp + 0x54], edx
test edx, edx
jne 0x100615f1
push eax
lea eax, [esp + 0x244]
push eax
push dword [esp + 0x2d0]
push dword [esp + 0x2d0]
call fcn.10066970
add esp, 0x10
mov esi, eax
test dword [esp + 0x2c0], 0x2400
jne 0x100615b4
cmp dword [esp + 0x2d0], 0
je 0x100615c4
lea eax, [esp + 0x2b8]
push eax
call fcn.100739f0
add esp, 4
xor edx, edx
jmp 0x100615ed
push 0x10091874
push 0x13d44
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
xor esi, esi
call fcn.10010e10
add esp, 0x14
mov edx, 0xb
mov dword [esp + 0x54], edx
mov edi, dword [esp + 0x48]
test byte [edi], 1
je 0x100615fe
neg esi
jmp 0x100615ff
inc esi
test edx, edx
jne 0x10063813
test esi, esi
jg 0x1005d1b3
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
push dword [esp + 0x48]
mov esi, dword [esp + 0x54]
push esi
call fcn.1002ab60
mov edx, dword [esp + 0x54]
mov edi, eax
mov eax, 1
add esp, 8
mov word [edi + 8], ax
mov ecx, dword [edx + 0xbc]
inc ecx
cmp dword [edx + 0xb0], ecx
jg 0x100639ab
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xe4], 0
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x70], ecx
mov esi, dword [eax + ecx + 4]
cmp byte [esi + 9], 0
je 0x1006169a
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x1006169a
push esi
call fcn.10017080
add esp, 4
lea eax, [esp + 0xe4]
push eax
push ebx
push esi
call fcn.100169a0
add esp, 0xc
mov dword [esp + 0x54], eax
cmp byte [esi + 9], 0
je 0x100616c5
add dword [esi + 0xc], 0xffffffff
jne 0x100616c5
push esi
call fcn.100719e0
add esp, 4
mov esi, dword [esp + 0xe4]
mov eax, 4
mov word [edi + 8], ax
mov eax, esi
cdq
mov dword [edi + 4], edx
mov edx, dword [esp + 0x54]
mov dword [edi], eax
test edx, edx
jne 0x10063813
test esi, esi
je 0x1005d1c5
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x70]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x4c]
mov ebx, dword [eax + 0x10]
mov ecx, dword [ebx + edi + 0xc]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x10061725
mov edi, edi
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x1c], esi
jne 0x1006171b
mov dword [ecx + 0x1c], edx
mov eax, dword [eax]
test eax, eax
jne 0x10061710
mov ecx, dword [ebx + edi + 0xc]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x10061741
lea esp, [esp]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x2c], esi
jne 0x1006173b
mov dword [ecx + 0x2c], edx
mov eax, dword [eax]
test eax, eax
jne 0x10061730
mov al, byte [esp + 0x64]
mov edi, dword [esp + 0x4c]
inc al
mov esi, dword [esp + 0x48]
mov byte [esp + 0x97], al
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0xe8]
mov dword [esp + 0xe8], 0
mov eax, dword [edx + 0xc]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [edx + 8]
push eax
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [edx + 4]
push dword [eax + ecx*8 + 4]
call fcn.10037ed0
mov esi, dword [esp + 0x54]
add esp, 0xc
mov edx, eax
mov dword [esp + 0x54], edx
cmp dword [esi + 0xc], 0
je 0x100617d4
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0xe8]
add dword [ebx + 0x2c], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
jle 0x100617d4
mov ebx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
cdq
add dword [ebx + ecx*8], eax
adc dword [ebx + ecx*8 + 4], edx
mov edx, dword [esp + 0x54]
test edx, edx
jne 0x100605d4
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 1
jne 0x10061820
push dword [eax + 0x28]
push edi
call fcn.10067890
mov esi, dword [esp + 0x50]
add esp, 8
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [eax + 0x28]
push 0
push dword [eax + 0x40]
push dword [eax + 8]
call fcn.10037ed0
jmp 0x1005fd68
push dword [esp + 0x48]
push dword [esp + 0x54]
call fcn.1002ab60
mov esi, eax
mov dword [esp + 0xf4], 0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
push dword [eax + 0xc]
shl ecx, 4
lea eax, [esp + 0xf8]
add ecx, dword [edi + 0x10]
push eax
push dword [ecx + 4]
call fcn.100387d0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x54], edx
test edx, edx
jne 0x100605d4
mov eax, dword [esp + 0xec]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
inc byte [edi + 0x5a]
push 0
push 0
push 0
push dword [edx + 0x10]
push edi
call sym.sqlite3.dll_sqlite3_exec
mov edx, eax
add esp, 0x14
dec byte [edi + 0x5a]
mov dword [esp + 0x54], edx
jmp 0x1005f6e3
mov edx, dword [esp + 0x48]
mov ecx, dword [edx + 0x10]
mov esi, dword [edx + 4]
test ecx, ecx
jne 0x10061913
mov eax, dword [edi + 0x10]
mov ecx, esi
add ecx, ecx
push dword [eax + ecx*8 + 0xc]
call fcn.10055270
mov ebx, dword [esp + 0x54]
and dword [edi + 0x18], 0xffffffef
push 1
lea eax, [ebx + 0x7c]
push eax
push esi
push edi
call fcn.1004a110
or dword [edi + 0x18], 1
mov edx, eax
add esp, 0x14
mov dword [esp + 0x54], edx
and dword [ebx + 0x98], 0xfffffffc
jmp 0x100619dc
mov eax, dword [esp + 0x50]
add eax, 0x7c
mov dword [esp + 0x180], esi
mov dword [esp + 0x17c], eax
add esi, esi
mov eax, dword [edi + 0x10]
push ecx
push str.sqlite_master
mov dword [esp + 0x180], edi
mov dword [esp + 0x190], 0
push dword [eax + esi*8]
push str.SELECT_name__rootpage__sql_FROM__q._s_WHERE__s_ORDER_BY_rowid
push edi
call fcn.1004d0a0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x100639c4
push 0
lea eax, [esp + 0x17c]
mov byte [edi + 0xa5], 1
push eax
push fcn.10049ee0
push esi
push edi
mov dword [esp + 0x198], 0
mov dword [esp + 0x1a0], 0
call sym.sqlite3.dll_sqlite3_exec
add esp, 0x14
mov dword [esp + 0x54], eax
test eax, eax
jne 0x100619c7
mov eax, dword [esp + 0x184]
mov dword [esp + 0x54], eax
test eax, eax
jne 0x100619c7
cmp dword [esp + 0x18c], eax
jne 0x100619c7
push 0x15e52
call fcn.1003c810
add esp, 4
mov dword [esp + 0x54], eax
push esi
push edi
call fcn.1003ddd0
mov edx, dword [esp + 0x5c]
add esp, 8
mov byte [edi + 0xa5], 0
test edx, edx
jne 0x100639cc
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
push dword [edx + 4]
push edi
call fcn.100361b0
mov edx, eax
add esp, 8
mov dword [esp + 0x54], edx
jmp 0x1005f6e3
mov edx, dword [esp + 0x48]
push 0
mov eax, dword [edx + 4]
push dword [edx + 0x10]
shl eax, 4
add eax, dword [edi + 0x10]
mov eax, dword [eax + 0xc]
add eax, 8
push eax
call fcn.100496f0
add esp, 0xc
test eax, eax
je 0x10061a50
cmp dword [edi + 0x1e8], 0
jne 0x10061a46
add dword [eax + 0x20], 0xffffffff
jne 0x10061a50
push eax
push edi
call fcn.1001d2a0
add esp, 8
or dword [edi + 0x18], 1
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov eax, dword [edi + 0x10]
push 0
mov ecx, dword [edx + 4]
push dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
add eax, 0x18
push eax
call fcn.100496f0
mov edx, eax
add esp, 0xc
test edx, edx
je 0x10061a50
mov esi, dword [edx + 0xc]
mov ecx, dword [esi + 8]
cmp ecx, edx
jne 0x10061abf
mov eax, dword [edx + 0x14]
push edx
push edi
mov dword [esi + 8], eax
call fcn.10046890
mov esi, dword [esp + 0x50]
add esp, 8
or dword [edi + 0x18], 1
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
test ecx, ecx
je 0x10061af7
mov eax, dword [ecx + 0x14]
cmp eax, edx
je 0x10061af1
mov ecx, eax
test ecx, ecx
jne 0x10061ac3
push edx
push edi
call fcn.10046890
mov esi, dword [esp + 0x50]
add esp, 8
or dword [edi + 0x18], 1
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x14], eax
push edx
push edi
call fcn.10046890
mov esi, dword [esp + 0x50]
add esp, 8
or dword [edi + 0x18], 1
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.10059cf0
mov esi, dword [esp + 0x54]
add esp, 0xc
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
lea esi, [eax + eax*4]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
lea eax, [esp + 0x124]
push eax
mov eax, dword [ebx + esi*8]
inc eax
push eax
push dword [edx + 8]
lea eax, [ecx + 4]
movzx ecx, word [edx + 2]
push eax
mov eax, dword [esp + 0x5c]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8 + 4]
call fcn.100391c0
push edi
mov ebx, eax
call fcn.10065e00
mov eax, dword [esp + 0x13c]
add esp, 0x18
test eax, eax
je 0x10061bc0
test ebx, ebx
je 0x1005f0ad
mov ecx, dword [esp + 0x58]
dec eax
push sym.sqlite3.dll_sqlite3_free
push 1
cdq
sub dword [ecx + esi*8], eax
push 0xffffffffffffffff
sbb dword [ecx + esi*8 + 4], edx
push ebx
push edi
call fcn.10065ef0
add esp, 0x14
movzx eax, byte [esp + 0x80]
push eax
push edi
call fcn.1005c890
mov edi, dword [esp + 0x54]
add esp, 8
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 0x10
lea esi, [ebx + eax*8]
mov eax, dword [edx + 8]
lea edi, [eax + eax*4]
jne 0x10061c18
push esi
call fcn.10065e30
add esp, 4
test eax, eax
jne 0x1005f0ad
push dword [ebx + edi*8 + 4]
push dword [ebx + edi*8]
push dword [esi + 0x10]
call fcn.100545b0
mov edi, dword [esp + 0x58]
add esp, 0xc
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x10
lea edi, [ecx + eax*8]
je 0x10061cc9
mov esi, dword [edi + 0x10]
movzx ecx, word [esi + 0x1a]
test cl, 2
jne 0x10061c85
mov eax, ecx
test cl, 1
jne 0x10061c7e
push dword [esi + 8]
call fcn.10032b10
mov dword [esi + 8], eax
add esp, 4
movzx eax, word [esi + 0x1a]
or eax, 3
mov word [esi + 0x1a], ax
mov eax, dword [esi + 8]
test eax, eax
je 0x10061cc9
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
test eax, eax
jne 0x10061ca4
push esi
call fcn.100544c0
add esp, 4
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
push ebx
push edi
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.10065dc0
mov esi, dword [esp + 0x5c]
add esp, 0xc
jmp 0x1006105f
push edi
call fcn.10065e00
mov edi, dword [esp + 0x50]
add esp, 4
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x7c]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea eax, [edx + eax*4]
mov dword [esp + 0x48], eax
jmp 0x10061063
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov eax, dword [edx + 4]
mov ebx, dword [edx + 0x10]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x10
lea esi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
lea edi, [eax + eax*4]
jne 0x10061d2d
push esi
call fcn.10065e30
add esp, 4
test eax, eax
jne 0x1005f0ad
mov ecx, dword [esp + 0x58]
test ebx, ebx
je 0x10061d4e
push dword [ecx + edi*8 + 4]
push dword [ecx + edi*8]
push ebx
push dword [esi + 0x10]
call fcn.10054640
add esp, 0x10
test eax, eax
jne 0x1005d1af
test ebx, ebx
js 0x1005d1c5
mov ebx, dword [esp + 0x58]
jmp 0x10061c18
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x50]
mov eax, dword [edx + 0xc]
mov ebx, dword [edx + 0x10]
mov dword [esp + 0x70], ebx
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, edx
mov dword [esp + 0x5c], ecx
cmp word [eax + 2], 0
je 0x10061da7
mov eax, dword [esi + 0xc8]
mov ecx, dword [ebx + 0x14]
test eax, eax
je 0x10061da3
cmp dword [eax + 0x1c], ecx
je 0x1005d1c9
mov eax, dword [eax + 4]
test eax, eax
jne 0x10061d93
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi + 0xd0]
cmp eax, dword [edi + 0x94]
jge 0x100639eb
test byte [ecx + 8], 0x10
jne 0x10061ebc
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
add esi, ecx
test ecx, ecx
jne 0x10061dd0
inc esi
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
mov eax, dword [ebx + 4]
add eax, 7
mov eax, eax
test eax, eax
jns 0x10061de8
add eax, 7
sar eax, 3
lea ebx, [eax + ecx*4]
mov eax, ebx
cdq
push edx
push eax
push edi
call fcn.1003dee0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1005f0ad
push dword [esp + 0x5c]
call fcn.10065d40
mov eax, dword [esp + 0x60]
mov ecx, 0x410
add esp, 4
mov word [eax + 8], cx
mov dword [eax + 0xc], ebx
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x7c]
mov dword [eax + 0x10], edi
mov dword [eax + 0x24], 0x100647a0
mov eax, dword [esp + 0x50]
mov dword [edi], eax
mov dword [edi + 0x3c], esi
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x40], eax
mov eax, 0x66666667
imul ecx
mov ecx, dword [esp + 0x50]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 0x58]
mov dword [edi + 0x10], eax
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x38], eax
mov eax, dword [ecx + 0x60]
mov dword [edi + 0x14], eax
mov eax, dword [ecx + 0x1c]
mov dword [edi + 0x2c], eax
mov eax, dword [ecx + 0x68]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0x6c]
mov dword [edi + 0x34], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x1c], eax
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
lea eax, [edi + 0x50]
cmp eax, ecx
je 0x10061eb0
mov edx, dword [esp + 0x4c]
mov esi, 0x80
mov word [eax + 8], si
mov dword [eax + 0x20], edx
add eax, 0x28
cmp eax, ecx
jne 0x10061ea2
mov esi, dword [esp + 0x50]
mov eax, dword [esi + 0xd0]
jmp 0x10061ebf
mov edi, dword [ecx + 0x10]
mov ecx, dword [esp + 0x4c]
lea edx, [edi + 0x50]
inc eax
mov dword [esp + 0x58], edx
mov dword [esi + 0xd0], eax
mov eax, dword [esi + 0xc8]
mov dword [edi + 4], eax
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x20], eax
mov eax, dword [ecx + 0x2c]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x44], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x64]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0xdc]
mov dword [edi + 0x28], eax
mov dword [esi + 0x58], edx
mov dword [esi + 0xdc], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc8], edi
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x18], ecx
movzx eax, word [edi + 0x40]
mov dword [esi + 0x1c], eax
lea eax, [ecx + ecx*4]
lea ecx, [edx + eax*8]
mov dword [esi + 0x60], ecx
mov eax, dword [ebx + 0xc]
lea ecx, [ecx + eax*4]
mov dword [edi + 0x18], ecx
mov eax, dword [ebx + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebx]
add esp, 0xc
mov dword [esi + 0x68], edx
mov eax, dword [ebx + 4]
mov dword [esp + 0x7c], edx
lea edi, [edx - 0x14]
mov dword [esi + 0x6c], eax
mov dword [esp + 0x48], edi
jmp 0x1006105f
push dword [esp + 0x48]
mov ebx, dword [esp + 0x54]
push ebx
call fcn.1002ab60
mov esi, eax
mov eax, dword [ebx + 0xc8]
push 0x1000
mov ecx, dword [eax + 0x30]
lea edx, [ecx + ecx*4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [ecx + edx*4 + 4]
mov edx, dword [esp + 0x54]
add ecx, dword [edx + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
push eax
push esi
call fcn.100661c0
mov esi, dword [esp + 0x5c]
add esp, 0x14
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [edi + 0x20]
and eax, 0x80000
or eax, 0
mov eax, dword [esp + 0x48]
je 0x10061ff5
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x48]
cdq
add dword [edi + 0x1e0], eax
adc dword [edi + 0x1e4], edx
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
cmp dword [eax + 4], 0
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x48]
cdq
je 0x1006201e
add dword [edi + 0x1d8], eax
adc dword [edi + 0x1dc], edx
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov ebx, dword [esp + 0x50]
add dword [ebx + 0x40], eax
adc dword [ebx + 0x44], edx
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
cmp dword [esi + 4], 0
je 0x1006204b
mov eax, dword [edi + 0x1d8]
or eax, dword [edi + 0x1dc]
jmp 0x10062055
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0x40]
or eax, dword [ecx + 0x44]
jne case.0x1005d176.86
mov eax, dword [edi + 0x1e0]
or eax, dword [edi + 0x1e4]
je 0x1005d1af
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0xc8]
test edx, edx
je 0x100620b0
mov eax, dword [edx + 4]
test eax, eax
je 0x1006209a
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x10062091
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov eax, dword [eax + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
lea edi, [eax + ecx*8]
jmp 0x100620c1
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
push edi
call fcn.10065af0
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
push esi
call fcn.10065af0
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [esi]
cmp dword [edi + 4], ecx
jg 0x1005d1c5
jl 0x100620f5
cmp dword [edi], eax
jae 0x1005d1c5
mov esi, dword [esp + 0x48]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov eax, dword [edi + 4]
lea esi, [eax + eax*4]
mov edi, dword [ebx + esi*8 + 4]
mov ecx, dword [ebx + esi*8]
test edi, edi
jl 0x1005d1c5
jg 0x10062138
test ecx, ecx
je 0x1005d1c5
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0xc]
cdq
sub ecx, eax
mov dword [ebx + esi*8], ecx
sbb edi, edx
mov dword [ebx + esi*8 + 4], edi
jmp 0x1005d1af
mov edx, dword [esp + 0x48]
push edx
push dword [esp + 0x54]
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov eax, dword [edx + 0xc]
lea ebx, [eax + eax*4]
call fcn.1002ab60
mov edx, dword [esp + 0x60]
add esp, 8
mov edi, eax
mov ecx, dword [edx + esi*8 + 4]
mov eax, dword [edx + esi*8]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
test ecx, ecx
jl 0x100621e7
jg 0x10062192
test eax, eax
je 0x100621e7
mov ecx, dword [edx + ebx*8 + 4]
mov eax, dword [edx + ebx*8]
test ecx, ecx
jl 0x100621a3
jg 0x100621a7
test eax, eax
jne 0x100621a7
xor eax, eax
xor ecx, ecx
push ecx
push eax
lea eax, [esp + 0x120]
push eax
call fcn.10035350
add esp, 0xc
test eax, eax
jne 0x100621e7
mov eax, dword [esp + 0x118]
mov esi, dword [esp + 0x48]
mov dword [edi], eax
mov eax, dword [esp + 0x11c]
mov dword [edi + 4], eax
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov esi, dword [esp + 0x48]
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov ecx, dword [ebx + esi*8]
mov eax, ecx
mov edx, dword [ebx + esi*8 + 4]
or eax, edx
je 0x1005d1c9
test edx, edx
jl 0x1005d1af
jg 0x1006223c
test ecx, ecx
je 0x1005d1af
sub ecx, 1
mov dword [ebx + esi*8], ecx
sbb edx, 0
jmp 0x1005d1ab
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov eax, dword [edx + 4]
lea edx, [eax + eax*4]
mov ecx, dword [ebx + edx*8 + 4]
mov eax, dword [ebx + edx*8]
cmp ecx, 0x80000000
jl 0x1006227a
jg 0x1006226d
test eax, eax
je 0x1006227a
sub eax, 1
mov dword [ebx + edx*8], eax
sbb ecx, 0
mov dword [ebx + edx*8 + 4], ecx
or eax, ecx
je 0x1005d1af
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
push 0
movzx ebx, word [edx + 2]
lea eax, [ebx*4 + 0x44]
push eax
push edi
call fcn.1003de20
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005f0b1
mov dword [esi + 8], 0
lea ecx, [ebx + 7]
lea ecx, [esi + ecx*4]
mov eax, 1
mov dword [esi], ecx
mov word [ecx + 8], ax
mov dword [ecx + 0x20], edi
mov edi, dword [esp + 0x48]
mov dword [ecx + 0x18], 0
mov ecx, edi
sub ecx, dword [esp + 0x7c]
mov eax, dword [edi + 0x10]
mov dword [esi + 4], eax
mov eax, 0x66666667
imul ecx
mov byte [esi + 0x18], 0
sar edx, 3
mov eax, edx
mov dword [esi + 0x14], 0
shr eax, 0x1f
add eax, edx
mov byte [esi + 0x19], bl
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0xc], eax
mov word [edi], 0xf09b
mov dword [edi + 0x10], esi
jmp 0x10062323
mov edi, dword [esp + 0x48]
mov eax, dword [edi + 0xc]
mov ebx, dword [esp + 0x58]
mov esi, dword [edi + 0x10]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
mov dword [esp + 0x70], edi
cmp dword [esi + 8], edi
je 0x1006236c
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi + 8], edi
js 0x1006236c
mov edi, dword [esp + 0x48]
lea edx, [ecx + 7]
lea edx, [esi + edx*4]
mov eax, dword [edi + 8]
lea edx, [edx - 4]
add eax, ecx
sub ecx, 1
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [edx + 4], eax
jns 0x10062352
mov edi, dword [esp + 0x70]
inc dword [edi + 0xc]
lea eax, [esi + 0x1c]
mov edi, dword [esp + 0x48]
movzx edx, byte [esi + 0x19]
mov ecx, dword [esi + 4]
push eax
cmp dword [edi + 4], 0
push edx
push esi
je 0x1006238b
mov eax, dword [ecx + 0x1c]
jmp 0x1006238e
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x1005d1c5
jle 0x100623c0
push dword [esi]
call sym.sqlite3.dll_sqlite3_value_text
push eax
push 0x1008d970
push dword [esp + 0x5c]
call fcn.1005d010
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [esp + 0x54], eax
cmp byte [esi + 0x18], 0
je 0x100623e4
mov eax, dword [edi - 0x10]
test eax, eax
je 0x100623e0
push 0
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push 1
push eax
call fcn.10065dc0
add esp, 0xc
mov byte [esi + 0x18], 0
push dword [esi]
call fcn.10065d40
mov eax, dword [esi]
mov ecx, 1
mov edx, dword [esp + 0x58]
add esp, 4
mov word [eax + 8], cx
mov dword [esi + 0x14], 0
jmp 0x1005f6df
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x1006251b
mov ebx, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
xor eax, eax
mov dword [esp + 0x258], eax
mov ecx, 1
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], eax
mov dword [esp + 0x250], eax
mov dword [esp + 0x254], eax
mov dword [esp + 0x25c], eax
mov dword [esp + 0x260], eax
mov dword [esp + 0x264], eax
mov dword [esp + 0x268], eax
mov dword [esp + 0x26c], eax
mov dword [esp + 0x274], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x270], eax
mov eax, 0x2400
mov word [esp + 0x258], cx
test word [edi + 8], ax
je 0x100624d4
push edi
call fcn.10073a90
add esp, 4
jmp 0x100624d8
mov word [edi + 8], cx
lea eax, [esp + 0x148]
mov dword [esp + 0x148], edi
push eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x154], esi
mov dword [esp + 0x150], ebx
call eax
mov eax, dword [esp + 0x4c]
add esp, 4
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x15c]
mov edi, dword [esp + 0x4c]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
jmp 0x10062529
push dword [edx + 0x10]
push esi
call fcn.10065800
add esp, 8
mov ebx, eax
mov dword [esp + 0x54], ebx
test ebx, ebx
jne 0x10063a0b
movzx eax, byte [esp + 0x80]
push eax
push esi
call fcn.1005c890
push esi
call fcn.10066330
add esp, 0xc
test eax, eax
je 0x1005d1c9
mov esi, dword [esp + 0x50]
push str.string_or_blob_too_big
push esi
call fcn.1005d010
mov edi, dword [esp + 0x54]
mov edx, 0x12
add esp, 8
mov dword [esp + 0x54], edx
jmp 0x100605d8
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x338]
push eax
lea eax, [esp + 0x338]
mov dword [esp + 0x334], 0
push eax
push dword [edx + 8]
mov dword [esp + 0x344], 0xffffffff
push dword [edx + 4]
mov dword [esp + 0x344], 0xffffffff
push edi
call fcn.1003aee0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x54], edx
test edx, edx
je 0x100625e3
cmp edx, 5
jne 0x100605d4
mov dword [esp + 0x54], 0
mov dword [esp + 0x330], 1
mov eax, dword [esp + 0x48]
xor esi, esi
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [esp + esi*4 + 0x330]
cdq
push edx
push eax
push edi
call fcn.10065dc0
inc esi
add esp, 0xc
add edi, 0x28
cmp esi, 3
jl 0x100625f6
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov ebx, dword [esp + 0x48]
push ebx
push dword [esp + 0x54]
call fcn.1002ab60
mov edx, dword [ebx + 4]
add esp, 8
mov edi, dword [ebx + 0xc]
add edx, edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + edx*8 + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [eax + 4]
mov esi, dword [ecx]
movzx ebx, byte [esi + 5]
cmp edi, 0xffffffff
jne 0x10062665
mov edi, ebx
cmp byte [esi + 0x10], 3
jae 0x10062681
mov eax, dword [esi + 0x40]
cmp dword [eax], 0
je 0x10062683
cmp dword [esi + 0x4c], 0
jl 0x10062683
jg 0x10062681
cmp dword [esi + 0x48], 0
jbe 0x10062683
mov edi, ebx
cmp byte [esi + 0xf], 0
mov eax, 0x1008c2f1
jne 0x10062694
mov eax, dword [esi + 0xa8]
cmp edi, 5
jne 0x100626e6
push eax
call fcn.100594c0
add esp, 4
test eax, eax
je 0x100626b3
push esi
call fcn.1004f5e0
add esp, 4
test eax, eax
jne 0x100626e6
mov edi, ebx
mov eax, dword [esp + 0x54]
test eax, eax
je 0x100626bf
mov edi, ebx
push edi
push esi
call fcn.1004ee40
mov ebx, dword [esp + 0x6c]
add esp, 8
mov ecx, 0xa02
mov word [ebx + 8], cx
cmp eax, 6
jne 0x1006287f
xor eax, eax
jmp 0x10062886
cmp edi, ebx
je 0x100626b5
cmp ebx, 5
je 0x100626f4
cmp edi, 5
jne 0x100626b5
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0x4f], 0
je 0x10063a2d
cmp dword [eax + 0xb0], 1
jg 0x10063a2d
cmp ebx, 5
jne 0x10062845
xor ecx, ecx
mov dword [esp + 0x54], ecx
cmp dword [esi + 0xd8], ecx
jne 0x100627c6
mov al, byte [esi + 0x11]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0x54], ecx
cmp al, 1
jb 0x10062740
cmp al, bl
jne 0x10062775
cmp byte [esi + 0xd], cl
je 0x1006274d
xor ecx, ecx
mov dword [esp + 0x54], ecx
jmp 0x1006276b
mov eax, dword [esi + 0x3c]
push 1
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, eax
add esp, 8
mov dword [esp + 0x54], ecx
test ecx, ecx
jne 0x100626bd
cmp byte [esi + 0x11], 5
je 0x10062775
mov byte [esi + 0x11], 1
test ecx, ecx
jne 0x100626bd
mov eax, dword [esi]
lea ecx, [esp + 0xf0]
push ecx
push 0
push dword [esi + 0xdc]
push eax
mov eax, dword [eax + 0x20]
call eax
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x54], ecx
test ecx, ecx
jne 0x100626bd
cmp dword [esp + 0xf0], eax
je 0x100627c6
push esi
call fcn.1002b6a0
mov ecx, eax
add esp, 4
mov dword [esp + 0x54], ecx
test ecx, ecx
jne 0x100626bd
cmp dword [esi + 0xd8], 0
je 0x1006283a
push esi
call fcn.1002b390
mov ecx, eax
add esp, 4
mov dword [esp + 0x54], ecx
test ecx, ecx
jne 0x100626bd
push dword [esi + 0xd0]
movzx eax, byte [esi + 0xb]
push dword [esi + 0x98]
push eax
push dword [esp + 0x58]
push dword [esi + 0xd8]
call fcn.10068e60
push esi
mov dword [esp + 0x6c], eax
mov dword [esi + 0xd8], 0
call fcn.1002b400
mov ecx, dword [esp + 0x6c]
add esp, 0x18
test ecx, ecx
je 0x10062842
cmp byte [esi + 4], 0
jne 0x1006283a
push 1
push esi
call fcn.1002be80
mov ecx, dword [esp + 0x5c]
add esp, 8
test ecx, ecx
jne 0x100626bd
push edi
jmp 0x1006284c
cmp ebx, 4
jne 0x10062855
push 2
push esi
call fcn.1004ee40
add esp, 8
cmp dword [esp + 0x54], 0
jne 0x100626bd
xor eax, eax
cmp edi, 5
sete al
inc eax
push eax
push dword [esp + 0x74]
call fcn.1003ab80
add esp, 8
mov dword [esp + 0x54], eax
jmp 0x100626b9
mov eax, dword [eax*4 + 0x10087a48]
push eax
mov dword [ebx + 0x10], eax
call fcn.100594c0
mov dword [ebx + 0xc], eax
movzx eax, byte [esp + 0x84]
push eax
push ebx
mov byte [ebx + 0xa], 1
call fcn.1005c890
mov edx, dword [esp + 0x60]
add esp, 0xc
jmp 0x1005f6df
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 8]
test eax, eax
je 0x100628c8
mov ecx, dword [esp + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
jmp 0x100628ca
xor eax, eax
mov esi, dword [esp + 0x50]
push eax
push dword [edx + 4]
lea eax, [esi + 0x7c]
push edi
push eax
call fcn.10054d30
add esp, 0x10
jmp 0x1005fd6b
mov edx, dword [esp + 0x48]
mov eax, dword [edi + 0x10]
mov ecx, dword [edx + 4]
add ecx, ecx
mov edi, dword [eax + ecx*8 + 4]
cmp byte [edi + 9], 0
mov ebx, dword [edi + 4]
je 0x1006290f
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x1006290f
push edi
call fcn.10017080
add esp, 4
cmp byte [ebx + 0x11], 0
je 0x100629cb
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0x64], ecx
mov eax, dword [eax + 0x38]
mov esi, dword [eax + 0x24]
bswap esi
push esi
push ecx
push ebx
call fcn.10020f50
add esp, 0xc
mov dword [esp + 0x70], eax
cmp dword [esp + 0x64], eax
jae 0x10062968
push 0x10091874
push 0x1062c
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.10010e10
add esp, 0x14
mov dword [esp + 0x54], 0xb
jmp 0x100629d3
test esi, esi
je 0x100629cb
mov eax, dword [ebx + 8]
test eax, eax
je 0x10062988
push 0
push 0
push eax
call fcn.10032ee0
add esp, 0xc
mov dword [esp + 0x54], eax
test eax, eax
jne 0x100629d3
push ebx
call fcn.100262e0
push 0
push dword [esp + 0x6c]
push dword [esp + 0x7c]
push ebx
call fcn.10025ca0
add esp, 0x14
mov dword [esp + 0x54], eax
test eax, eax
jne 0x100629d3
mov eax, dword [ebx + 0xc]
push dword [eax + 0x48]
call fcn.1004f610
mov ecx, dword [ebx + 0x2c]
add esp, 4
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0xc]
bswap ecx
mov eax, dword [eax + 0x38]
mov dword [eax + 0x1c], ecx
jmp 0x100629d3
mov dword [esp + 0x54], 0x65
cmp byte [edi + 9], 0
je 0x100629e8
add dword [edi + 0xc], 0xffffffff
jne 0x100629e8
push edi
call fcn.100719e0
add esp, 4
mov edx, dword [esp + 0x54]
test edx, edx
je 0x1005d1c5
cmp edx, 0x65
jne 0x10063813
mov dword [esp + 0x54], 0
jmp 0x1005d1af
cmp dword [esi + 4], 0
jne 0x10062a2b
push dword [esi + 8]
push edi
call fcn.1003fc40
add esp, 8
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov ebx, dword [esp + 0x50]
mov eax, dword [esi + 8]
inc eax
xor eax, dword [ebx + 0x98]
and eax, 3
xor dword [ebx + 0x98], eax
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov ebx, dword [esp + 0x48]
mov bl, byte [ebx + 0xc]
test bl, bl
jne 0x10062a6e
mov eax, dword [edi + 0x20]
and eax, 0x400
mov dword [esp + 0x70], eax
jne 0x1005d1c9
mov eax, dword [esp + 0x48]
xor edx, edx
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 4]
mov edi, dword [eax + 8]
add ecx, ecx
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x10]
mov esi, dword [eax + ecx*8 + 4]
cmp byte [esi + 9], dl
je 0x10062b4a
inc dword [esi + 0xc]
inc bl
mov byte [esp + 0xcc], bl
cmp byte [esi + 0xa], dl
jne 0x10062aae
push esi
call fcn.10017080
add esp, 4
push dword [esp + 0xcc]
push edi
push esi
call fcn.1002f5f0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10062b31
mov eax, dword [esi + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x10062ae7
cmp dword [ecx + 4], edi
jne 0x10062ae0
cmp dword [ecx], esi
je 0x10062b23
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x10062ad7
push 0
push 0x10
call fcn.1004d0c0
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x10062b0a
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
test ecx, ecx
jne 0x10062b11
mov edx, 7
jmp 0x10062b2d
mov edx, dword [esp + 0x70]
mov dword [ecx + 4], edi
mov dword [ecx], esi
mov eax, dword [edx + 0x48]
mov dword [ecx + 0xc], eax
mov dword [edx + 0x48], ecx
cmp bl, byte [ecx + 8]
jbe 0x10062b2b
mov byte [ecx + 8], bl
xor edx, edx
mov dword [esp + 0x54], edx
cmp byte [esi + 9], 0
je 0x10062b4a
add dword [esi + 0xc], 0xffffffff
jne 0x10062b4a
push esi
call fcn.100719e0
mov edx, dword [esp + 0x58]
add esp, 4
test edx, edx
je 0x1005d1c5
mov esi, dword [esp + 0x50]
cmp dl, 6
jne 0x100639bb
mov eax, dword [esp + 0x48]
push dword [eax + 0x10]
push str.database_table_is_locked:__s
push esi
call fcn.1005d010
mov edi, dword [esp + 0x58]
add esp, 0xc
mov edx, dword [esp + 0x54]
jmp 0x100605d8
mov edx, dword [esp + 0x48]
mov dword [esp + 0x54], 0
mov esi, dword [edx + 0x10]
mov edx, dword [edi + 0x154]
test edx, edx
jle 0x10062bb0
cmp dword [edi + 0x16c], 0
jne 0x10062bb0
mov dword [esp + 0x54], 6
jmp 0x10062c6c
test esi, esi
jne 0x10062bcb
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [esi + 8]
mov edi, dword [eax]
cmp dword [edi + 0x38], 0
je 0x10062c68
mov ebx, dword [esp + 0x4c]
xor ecx, ecx
test edx, edx
jle 0x10062c00
mov eax, dword [ebx + 0x16c]
lea ebx, [ebx]
cmp dword [eax], esi
je 0x10062c89
inc ecx
add eax, 4
cmp ecx, edx
jl 0x10062bf0
push ebx
call fcn.100257b0
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
jne 0x10062c68
push dword [esi + 8]
mov eax, dword [edi + 0x38]
call eax
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
jne 0x10062c68
mov ecx, dword [ebx + 0x154]
mov eax, dword [ebx + 0x16c]
mov edx, dword [ebx + 0x1d0]
add edx, dword [ebx + 0x1cc]
mov dword [eax + ecx*4], esi
inc dword [ebx + 0x154]
inc dword [esi + 0xc]
test edx, edx
je 0x10062c68
cmp dword [edi + 0x50], 0
je 0x10062c68
lea eax, [edx - 1]
mov dword [esi + 0x14], edx
push eax
push dword [esi + 8]
mov eax, dword [edi + 0x50]
call eax
add esp, 8
mov dword [esp + 0x54], eax
mov edi, dword [esp + 0x4c]
test esi, esi
je 0x10062c95
push dword [esi + 8]
mov esi, dword [esp + 0x54]
push esi
call fcn.100685c0
mov edx, dword [esp + 0x5c]
add esp, 8
jmp 0x1005fd71
mov dword [esp + 0x54], 0
mov edi, ebx
jmp 0x10062c6c
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
jmp 0x1005fd71
mov edx, dword [esp + 0x48]
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x1e0], eax
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], eax
mov dword [esp + 0x1f0], eax
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x1fc], eax
mov dword [esp + 0x204], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x200], edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
lea eax, [esp + 0x1e4]
push eax
call fcn.10065720
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x1e8]
push eax
call sym.sqlite3.dll_sqlite3_value_text
add esp, 0xc
test eax, eax
je 0x10062e3d
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
add esi, 0x7c
mov edx, dword [ecx + 4]
mov ecx, dword [edi + 0x10]
add edx, edx
push dword [ecx + edx*8]
push eax
push edi
call fcn.10044e10
mov ebx, eax
push 0
mov ecx, dword [ebx + 0x3c]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x5c]
add ecx, 0x158
push edi
push ecx
call fcn.10021270
add esp, 0x18
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10062e20
mov eax, dword [ecx]
mov edx, dword [eax + 4]
test edx, edx
je 0x10062e20
cmp dword [eax + 0x14], 0
je 0x10062e20
mov edi, dword [esp + 0x4c]
push esi
push edx
push ecx
push ebx
push edi
call fcn.100760a0
add esp, 0x14
mov dword [esp + 0x54], eax
test eax, eax
jne 0x10062e3d
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x10062e3d
lea esp, [esp]
cmp dword [eax], edi
je 0x10062dd4
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x10062db0
lea eax, [esp + 0x1e0]
push eax
call fcn.10065d40
mov edx, dword [esp + 0x58]
add esp, 4
jmp 0x1005f6e3
push edi
call fcn.100257b0
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
jne 0x10062e3d
push ebx
push edi
call fcn.10049340
mov edx, dword [edi + 0x154]
add esp, 8
mov ecx, dword [edi + 0x16c]
mov dword [ecx + edx*4], eax
inc dword [edi + 0x154]
inc dword [eax + 0xc]
lea eax, [esp + 0x1e0]
push eax
call fcn.10065d40
mov edx, dword [esp + 0x58]
add esp, 4
jmp 0x1005f6e3
push edi
mov edi, dword [esp + 0x50]
push str.no_such_module:__s
push edi
call fcn.1004d0a0
add esp, 0xc
mov dword [esi], eax
mov dword [esp + 0x54], 1
lea eax, [esp + 0x1e0]
push eax
call fcn.10065d40
mov edx, dword [esp + 0x58]
add esp, 4
jmp 0x1005f6e3
mov edx, dword [esp + 0x48]
inc dword [edi + 0xbc]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x54], 0
mov ecx, dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8]
push dword [edx + 0x10]
push edi
call fcn.10044e10
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10062f1f
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x10062f1f
jmp 0x10062ea0
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
jg 0x10062f2e
mov ecx, dword [ecx + 0x18]
test ecx, ecx
jne 0x10062ea0
push ebx
push edi
call fcn.100765f0
mov esi, eax
mov ecx, dword [esi + 4]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x14]
inc dword [ebx + 0x20]
push dword [esi + 8]
call ecx
add esp, 0xc
mov dword [esp + 0x54], eax
test eax, eax
jne 0x10062f06
mov dword [esi + 8], eax
mov dword [ebx + 0x40], eax
add dword [esi + 0xc], 0xffffffff
mov edi, dword [esi]
jne 0x10062f02
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10062ef8
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 0x10]
call eax
add esp, 4
push esi
push edi
call fcn.1003dd80
add esp, 8
mov edi, dword [esp + 0x4c]
cmp dword [edi + 0x1e8], 0
jne 0x10062f15
add dword [ebx + 0x20], 0xffffffff
jne 0x10062f1f
push ebx
push edi
call fcn.1001d2a0
add esp, 8
mov edx, dword [esp + 0x54]
dec dword [edi + 0xbc]
jmp 0x1005f6e3
dec dword [edi + 0xbc]
mov edx, 6
mov dword [esp + 0x54], edx
jmp 0x1005f6e3
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc4], 0
mov eax, dword [edx + 0x10]
mov esi, dword [eax + 8]
test esi, esi
je 0x10063a82
mov edi, dword [esi]
test edi, edi
je 0x10063a7e
lea eax, [esp + 0xc4]
push eax
mov eax, dword [edi + 0x18]
push esi
call eax
mov ebx, dword [esp + 0x58]
push esi
push ebx
mov dword [esp + 0x64], eax
call fcn.100685c0
mov edx, dword [esp + 0x64]
add esp, 0x10
test edx, edx
jne 0x10063cd6
mov eax, dword [esp + 0xc4]
push 2
push 0xffffffffffffffff
push edx
mov dword [eax], esi
mov eax, dword [esp + 0x54]
push dword [eax + 4]
push ebx
call fcn.10012df0
add esp, 0x14
test eax, eax
je 0x10063a64
mov ecx, dword [esp + 0xc4]
mov edi, dword [esp + 0x4c]
mov dword [eax + 0x28], ecx
inc dword [esi + 4]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 4]
lea edi, [eax + eax*4]
mov eax, dword [esi + 0x60]
mov esi, dword [esi + 0x5c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x5c], eax
mov ebx, dword [eax + 0x28]
mov edx, dword [ecx + edi*8 + 0x28]
mov eax, dword [ebx]
mov dword [esp + 0x78], eax
mov eax, dword [eax]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + edi*8]
mov dword [esp + 0x70], eax
xor eax, eax
test edx, edx
jle 0x10063032
lea ecx, [ecx + edi*8]
add ecx, 0x50
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x10063027
mov eax, dword [esp + 0x48]
push esi
mov esi, dword [esp + 0x68]
push edx
push dword [eax + 0x10]
push dword [esp + 0x7c]
mov eax, dword [esi + 0x20]
push ebx
call eax
push dword [esp + 0x8c]
mov dword [esp + 0x6c], eax
push dword [esp + 0x68]
call fcn.100685c0
mov edx, dword [esp + 0x70]
add esp, 0x1c
test edx, edx
jne 0x10063813
mov eax, dword [esi + 0x28]
push ebx
call eax
mov ecx, dword [esp + 0x60]
add esp, 4
mov byte [ecx + 2], 0
test eax, eax
je 0x1005d1c5
jmp 0x1005d1af
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov edi, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x58]
cmp byte [edi + 2], 0
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
je 0x100630ce
push esi
call fcn.10065e00
mov edi, dword [esp + 0x50]
add esp, 4
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov eax, dword [edi + 0x28]
mov ebx, dword [eax]
mov eax, dword [ebx]
mov dword [esp + 0x70], eax
xor eax, eax
test byte [edx + 2], 1
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x198], esi
je 0x10063133
push esi
call fcn.10065e00
mov edx, dword [esp + 0x4c]
add esp, 4
mov dword [esi], 0
mov eax, 0x4001
jmp 0x10063146
mov ax, word [esi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 1
movzx eax, ax
mov word [esi + 8], ax
lea eax, [esp + 0x198]
push dword [edx + 8]
push eax
mov eax, dword [esp + 0x78]
push dword [edi + 0x28]
mov eax, dword [eax + 0x2c]
call eax
push ebx
mov ebx, dword [esp + 0x60]
push ebx
mov dword [esp + 0x68], eax
call fcn.100685c0
add esp, 0x14
cmp dword [esp + 0x1ac], 0
jle 0x1006319d
push esi
call sym.sqlite3.dll_sqlite3_value_text
push eax
push 0x1008d970
push ebx
call fcn.1005d010
mov eax, dword [esp + 0x1bc]
add esp, 0x10
mov dword [esp + 0x54], eax
movzx eax, byte [esp + 0x80]
push eax
push esi
call fcn.1005c890
push esi
call fcn.10066330
add esp, 0xc
test eax, eax
jne 0x1005d4c2
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x4c]
test edx, edx
jne 0x10063cda
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0x60]
mov edi, dword [eax + ecx*4]
cmp byte [edi + 2], 0
jne 0x1005d1c5
mov eax, dword [edi + 0x28]
push eax
mov esi, dword [eax]
mov ebx, dword [esi]
mov eax, dword [ebx + 0x24]
call eax
push esi
mov esi, dword [esp + 0x58]
push esi
mov dword [esp + 0x60], eax
call fcn.100685c0
mov edx, dword [esp + 0x60]
add esp, 0xc
test edx, edx
jne 0x100639bb
push dword [edi + 0x28]
mov eax, dword [ebx + 0x28]
call eax
add esp, 4
test eax, eax
jne 0x1006105f
mov edi, dword [esp + 0x4c]
jmp 0x10061cda
mov ecx, dword [esp + 0x4c]
mov edi, dword [edi + 0x20]
push 1
and edi, 0x4000000
or dword [ecx + 0x20], 0x4000000
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x24], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 0x10]
mov esi, dword [eax + 8]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x5c]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
push ebx
call fcn.1005c890
mov edx, eax
add esp, 8
mov dword [esp + 0x54], edx
test edx, edx
jne 0x10063813
mov eax, dword [esi]
push dword [ebx + 0x10]
push esi
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
mov dword [esp + 0x54], eax
test edi, edi
mov edi, dword [esp + 0x4c]
jne 0x100632b3
mov eax, dword [edi + 0x24]
and dword [edi + 0x20], 0xfbffffff
mov dword [edi + 0x24], eax
push esi
mov esi, dword [esp + 0x54]
push esi
call fcn.100685c0
mov edx, dword [esp + 0x5c]
add esp, 8
and dword [esi + 0x98], 0xfffffffc
jmp 0x1005fd71
cmp byte [edi + 0x51], 0
jne 0x1005f0b1
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 0x10]
mov edi, dword [eax + 8]
test edi, edi
je 0x10063a8c
mov ebx, dword [edi]
test ebx, ebx
je 0x10063a8c
cmp dword [ebx + 0x34], 0
mov edx, dword [edx + 8]
je 0x1005d1c5
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
mov al, byte [eax + 0x56]
mov byte [esp + 0x6b], al
mov eax, dword [esp + 0x50]
mov esi, dword [eax + 0x5c]
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
xor eax, eax
test edx, edx
jle 0x1006333b
lea ecx, [ecx]
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x10063330
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov al, byte [eax + 2]
mov byte [ecx + 0x56], al
lea eax, [esp + 0x170]
push eax
mov eax, dword [ebx + 0x34]
push esi
push edx
push edi
call eax
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x64], eax
mov al, byte [esp + 0x7b]
push edi
push esi
mov byte [ecx + 0x56], al
call fcn.100685c0
mov edx, dword [esp + 0x6c]
add esp, 0x18
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
test edx, edx
jne 0x100633a3
cmp dword [eax + 4], edx
je 0x100633a3
mov eax, dword [esp + 0x170]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x174]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x48]
cmp dl, 0x13
jne 0x100633eb
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x10], 0
je 0x100633eb
mov eax, dword [esp + 0x48]
movzx eax, word [eax + 2]
cmp eax, 4
jne 0x100633d9
mov esi, dword [esp + 0x48]
mov dword [esp + 0x54], 0
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
cmp eax, 5
jne 0x100633e0
mov al, 2
mov byte [esi + 0x92], al
jmp 0x1005fd71
inc dword [esi + 0x2c]
jmp 0x1005fd71
push dword [esp + 0x48]
push dword [esp + 0x54]
call fcn.1002ab60
mov ecx, dword [esp + 0x50]
add esp, 8
mov esi, dword [esp + 0x48]
mov edx, dword [ecx + 4]
mov ecx, dword [edi + 0x10]
shl edx, 4
mov ecx, dword [edx + ecx + 4]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x2c]
mov dword [eax], ecx
mov dword [eax + 4], 0
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
push dword [esp + 0x48]
push dword [esp + 0x54]
call fcn.1002ab60
mov ecx, dword [edi + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x50]
add esp, 8
xor edi, edi
mov edx, dword [eax + 4]
add edx, edx
mov esi, dword [ecx + edx*8 + 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1006346d
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x2c]
cmp edi, ecx
jae 0x1006346d
mov edi, ecx
cmp byte [esi + 9], 0
je 0x10063485
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x10063485
push esi
call fcn.10017080
add esp, 4
mov eax, dword [esi + 4]
mov eax, dword [eax]
test edi, edi
jle 0x10063496
mov dword [eax + 0x9c], edi
jmp 0x1006349c
mov edi, dword [eax + 0x9c]
cmp byte [esi + 9], 0
je 0x100634b1
add dword [esi + 0xc], 0xffffffff
jne 0x100634b1
push esi
call fcn.100719e0
add esp, 4
mov esi, dword [esp + 0x48]
mov eax, edi
mov edi, dword [esp + 0x4c]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov edx, dword [esp + 0x48]
push 0
movzx ebx, word [edx + 2]
lea eax, [ebx*4 + 0x1c]
push eax
push edi
call fcn.1003de20
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005f0b1
mov edi, dword [esp + 0x48]
mov eax, 0x66666667
mov dword [esi], 0
mov ecx, dword [edi + 0x10]
mov dword [esi + 4], ecx
mov ecx, edi
sub ecx, dword [esp + 0x7c]
imul ecx
mov dword [esi + 0x14], 0
sar edx, 3
mov eax, edx
mov byte [esi + 0x19], bl
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0xc], eax
add byte [edi], 2
mov byte [edi + 1], 0xf0
mov dword [edi + 0x10], esi
jmp 0x10063540
mov edi, dword [esp + 0x48]
mov eax, dword [edi + 0xc]
mov ebx, dword [esp + 0x58]
mov esi, dword [edi + 0x10]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
mov dword [esp + 0x70], edi
cmp dword [esi], edi
je 0x10063589
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi], edi
js 0x10063589
mov edi, dword [esp + 0x48]
lea edx, [ecx + 7]
lea edx, [esi + edx*4]
lea ecx, [ecx]
mov eax, dword [edi + 8]
add eax, ecx
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [edx], eax
sub edx, 4
sub ecx, 1
jns 0x10063570
mov edi, dword [esp + 0x70]
mov ax, word [edi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 1
mov word [edi + 8], ax
lea eax, [esi + 0x1c]
mov ecx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x19]
push eax
mov eax, dword [ecx + 0x10]
push esi
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x10063611
jle 0x100635dd
push edi
call sym.sqlite3.dll_sqlite3_value_text
mov ebx, dword [esp + 0x54]
push eax
push 0x1008d970
push ebx
call fcn.1005d010
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [esp + 0x54], eax
jmp 0x100635e1
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
push dword [eax + 4]
lea eax, [ebx + 0xdc]
push dword [esi + 0x10]
push eax
push dword [esp + 0x58]
call fcn.1005ce70
mov edx, dword [esp + 0x64]
add esp, 0x10
mov dword [esi + 0x14], 0
test edx, edx
jne 0x10063813
test byte [edi + 8], 0x12
je 0x1005d1c5
movzx eax, byte [esp + 0x80]
push eax
push edi
call fcn.1005c890
push edi
call fcn.10066330
add esp, 0xc
test eax, eax
jne 0x10062555
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xb4]
add esi, 0x14
jmp 0x1005d158
mov cl, byte [edi + 0x58]
mov ebx, dword [esp + 0x50]
test cl, 0x41
je 0x10063704
test byte [ebx + 0x98], 0x10
jne 0x10063704
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x10063684
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x10063704
push eax
test cl, 0x40
je 0x100636b8
mov edi, dword [edi + 0xc8]
push ebx
call fcn.10064140
mov esi, eax
mov eax, dword [esp + 0x54]
push esi
push dword [eax + 0xcc]
call edi
push esi
call sym.sqlite3.dll_sqlite3_free
mov edi, dword [esp + 0x60]
add esp, 0x14
mov esi, dword [esp + 0x48]
jmp 0x10063704
cmp dword [edi + 0xb8], 1
jle 0x100636f0
push str.____s
push edi
call fcn.1004d0a0
mov ecx, dword [edi + 0xc8]
mov esi, eax
push esi
push ebx
push dword [edi + 0xcc]
push 1
call ecx
push esi
push edi
call fcn.1003dd80
mov esi, dword [esp + 0x6c]
add esp, 0x24
jmp 0x10063704
mov eax, dword [edi + 0xc8]
push ebx
push dword [edi + 0xcc]
push 1
call eax
add esp, 0x10
mov eax, dword [esi + 4]
cmp eax, dword [0x10094128]
jl 0x10063743
cmp byte [esi], 0xa8
je case.0x1005d176.86
mov edx, 1
cmp dword [ebx + 0x6c], edx
jle 0x10063741
mov eax, 0x14
mov ecx, dword [ebx + 0x68]
cmp byte [eax + ecx], 0x11
jne 0x10063738
mov dword [eax + ecx + 4], 0
inc edx
add eax, 0x14
cmp edx, dword [ebx + 0x6c]
jl 0x10063727
xor eax, eax
mov edi, dword [esp + 0x48]
inc eax
mov dword [edi + 4], eax
inc dword [ebx + 0xbc]
jmp 0x1005d1b3
mov edx, dword [esp + 0x48]
mov dword [ebx + 0x28], ecx
mov al, byte [edx + 8]
mov byte [ebx + 0x92], al
mov dword [ebx + 0x24], esi
test ecx, ecx
je 0x100637dc
movzx eax, word [edx + 2]
test ax, ax
je 0x100637ad
push dword [eax*4 + 0x10088084]
push str._s_constraint_failed
push ebx
call fcn.1005d010
mov eax, dword [esp + 0x54]
add esp, 0xc
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100637be
push eax
push dword [ebx + 0x7c]
push str._z:__s
push edi
call fcn.1004d0a0
add esp, 0x10
mov dword [ebx + 0x7c], eax
jmp 0x100637be
push dword [edx + 0x10]
push 0x1008d970
push ebx
call fcn.1005d010
add esp, 0xc
push dword [ebx + 0x7c]
mov eax, dword [esp + 0x4c]
push dword [ebx + 0xc0]
push esi
push str.abort_at__d_in___s_:__s
push dword [eax + 4]
call fcn.10010e10
add esp, 0x14
mov esi, dword [esp + 0x50]
push esi
call fcn.100649b0
mov ecx, eax
add esp, 4
mov dword [esp + 0x54], ecx
cmp ecx, 5
jne 0x10063c4e
mov dword [esi + 0x28], eax
jmp 0x10063dde
push 0x15240
call fcn.1003c810
mov edx, eax
add esp, 4
mov dword [esp + 0x54], edx
mov edi, dword [esp + 0x4c]
jmp 0x100605d4
mov esi, dword [esp + 0x50]
push str.cannot_open_savepoint___SQL_statements_in_progress
push esi
call fcn.1005d010
mov edx, 5
add esp, 8
mov dword [esp + 0x54], edx
jmp 0x100605d8
mov esi, dword [esp + 0x50]
push str.cannot_release_savepoint___SQL_statements_in_progress
push esi
call fcn.1005d010
mov edi, dword [esp + 0x54]
mov edx, 5
add esp, 8
mov dword [esp + 0x54], edx
jmp 0x100605d8
mov ecx, dword [esp + 0x48]
mov eax, 0x66666667
sub ecx, dword [esp + 0x7c]
mov ebx, 5
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x24], eax
mov byte [edi + 0x4f], 0
mov dword [esi + 0x28], ebx
jmp 0x10063df0
mov edx, 8
jmp 0x100605d0
mov esi, dword [esp + 0x50]
cmp dl, 5
jne 0x100605d8
mov ecx, dword [esp + 0x48]
mov eax, 0x66666667
sub ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x54]
imul ecx
mov dword [esi + 0x28], ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x24], eax
jmp 0x10063df0
push dword [ebx + 0x7c]
push edi
call fcn.1003dd80
push 0
push 0x1c
push edi
call fcn.1003de20
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10063900
push 0x1c
push str.database_schema_has_changed
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x7c], esi
mov edx, dword [eax + 4]
mov ecx, edx
mov eax, dword [edi + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov eax, dword [eax]
cmp eax, dword [esp + 0xc8]
je 0x1006392a
push edx
push edi
call fcn.10053c10
add esp, 8
mov esi, dword [esp + 0x50]
mov edx, 0x11
mov dword [esp + 0x54], edx
mov eax, dword [esi + 0x98]
and eax, 0xfffffffd
or eax, 1
mov dword [esi + 0x98], eax
jmp 0x100605d8
mov edx, 0x204
mov dword [esp + 0x54], edx
jmp 0x100605d8
test dword [esp + 0x210], 0x2400
jne 0x10063973
cmp dword [esp + 0x220], 0
je 0x10063983
lea eax, [esp + 0x208]
push eax
call fcn.100739f0
add esp, 4
push 0x10091874
push 0x13d23
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.10010e10
add esp, 0x14
mov edx, 0xb
jmp 0x100605cc
mov edx, 6
mov byte [esi + 0x92], 2
mov dword [esp + 0x54], edx
mov edi, dword [esp + 0x4c]
jmp 0x100605d8
mov dword [esp + 0x54], 7
push edi
call fcn.10053b90
mov edx, dword [esp + 0x58]
add esp, 4
mov esi, dword [esp + 0x50]
cmp edx, 7
je 0x1005f0b5
jmp 0x100605d8
push str.too_many_levels_of_trigger_recursion
push esi
mov dword [esp + 0x5c], 1
call fcn.1005d010
add esp, 8
mov edx, 1
jmp 0x100605d8
push esi
call sym.sqlite3.dll_sqlite3_value_text
mov esi, dword [esp + 0x54]
push eax
push 0x1008d970
push esi
call fcn.1005d010
mov edx, dword [esp + 0x64]
add esp, 0x10
jmp 0x100605d8
mov dword [esp + 0x54], 1
mov eax, str.into
cmp edi, 5
je 0x10063a44
mov eax, str.out_of
mov esi, dword [esp + 0x50]
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
push esi
call fcn.1005d010
mov edi, dword [esp + 0x58]
add esp, 0xc
mov edx, dword [esp + 0x54]
jmp 0x100605d8
push dword [esp + 0xc4]
mov eax, dword [edi + 0x1c]
call eax
add esp, 4
mov edi, dword [esp + 0x4c]
mov esi, ebx
jmp 0x1005f0b5
mov edi, dword [esp + 0x4c]
mov edx, 6
jmp 0x100605d0
mov edx, 6
jmp 0x100605cc
mov esi, dword [esp + 0x50]
cmp dword [esi + 0x44], 0
jl 0x10063ac0
jg 0x10063aa8
cmp dword [esi + 0x40], 0
jbe 0x10063ac0
mov dword [esi + 0x28], 0x313
mov byte [esi + 0x92], 2
push str.FOREIGN_KEY_constraint_failed
jmp 0x10063c82
push 1
push esi
call fcn.1005ccd0
mov eax, dword [esi + 0x20]
xor edi, edi
mov ecx, dword [esp + 0x50]
add eax, 2
mov edx, dword [esp + 0x60]
or eax, 1
mov dword [esi + 0x20], eax
add esp, 8
mov ebx, ecx
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
mov eax, dword [esp + 0x50]
mov dword [eax + 0x78], esi
cmp dword [ecx + 8], edi
jle 0x10063b2e
jmp 0x10063b00
mov eax, 0x1000
test word [esi + 8], ax
je 0x10063b1c
push esi
call fcn.10065b50
add esp, 4
test eax, eax
jne 0x1005f0ad
push esi
call fcn.10065be0
inc edi
add esp, 4
add esi, 0x28
cmp edi, dword [ebx + 8]
jl 0x10063b00
mov edi, dword [esp + 0x4c]
cmp byte [edi + 0x51], 0
jne 0x1005f0b1
test byte [edi + 0x58], 4
mov esi, dword [esp + 0x50]
je 0x10063b5c
mov eax, dword [edi + 0xc8]
push 0
push esi
push dword [edi + 0xcc]
push 4
call eax
add esp, 0x10
mov ecx, ebx
mov eax, 0x66666667
sub ecx, dword [esp + 0x7c]
mov ebx, 0x64
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
mov dword [esi + 0x24], eax
jmp 0x10063df0
mov edx, dword [esp + 0x48]
movzx eax, byte [edi + 0x4f]
mov ebx, dword [edx + 4]
mov ecx, dword [edx + 8]
cmp ebx, eax
je 0x10063c64
test ecx, ecx
je 0x10063bb1
push 0x204
push edi
call fcn.10054380
mov esi, dword [esp + 0x58]
add esp, 8
mov al, 1
jmp 0x10063c04
test ebx, ebx
je 0x10063bde
cmp dword [edi + 0xb4], 0
jle 0x10063bde
mov esi, dword [esp + 0x50]
push str.cannot_commit_transaction___SQL_statements_in_progress
push esi
call fcn.1005d010
mov edx, 5
add esp, 8
mov dword [esp + 0x54], edx
jmp 0x100605d8
mov esi, dword [esp + 0x50]
push 1
push esi
mov dword [esp + 0xd4], ebx
call fcn.1005ca70
mov ecx, eax
add esp, 8
mov dword [esp + 0x54], ecx
test ecx, ecx
jne 0x10063dde
mov eax, ebx
push esi
mov byte [edi + 0x4f], al
call fcn.100649b0
add esp, 4
cmp eax, 5
jne 0x10063c45
mov ecx, dword [esp + 0x48]
mov eax, 0x66666667
sub ecx, dword [esp + 0x7c]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x24], eax
mov al, 1
sub al, bl
mov ebx, 5
mov byte [edi + 0x4f], al
mov dword [esi + 0x28], ebx
jmp 0x10063df0
push edi
call fcn.1003b370
add esp, 4
mov ecx, dword [esi + 0x28]
neg ecx
sbb ecx, ecx
and ecx, 0xffffff9c
add ecx, 0x65
mov dword [esp + 0x54], ecx
jmp 0x10063dde
test ebx, ebx
jne 0x10063c6f
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x10063c7d
mov eax, str.cannot_rollback___no_transaction_is_active
test ecx, ecx
jne 0x10063c7d
mov eax, str.cannot_commit___no_transaction_is_active
mov esi, dword [esp + 0x50]
push eax
push esi
call fcn.1005d010
mov edx, 1
add esp, 8
mov dword [esp + 0x54], edx
jmp 0x100605d8
xor eax, eax
cmp byte [edi + 0x51], al
sete al
lea eax, [eax*2 + 7]
push eax
mov dword [esp + 0x58], eax
mov dword [esi + 0x28], eax
call fcn.10008070
push eax
push 0x1008d970
push esi
call fcn.1005d010
mov edx, dword [esp + 0x64]
add esp, 0x10
jmp 0x100605d8
mov edi, dword [esp + 0x4c]
jmp 0x1005f0b5
mov edi, dword [esp + 0x4c]
mov esi, ebx
jmp 0x100605d8
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x10063cf4
mov ecx, str.no_more_rows_available
jmp 0x10063cf4
mov ecx, str.another_row_available
push ecx
push 0x1008d970
push esi
call fcn.1005d010
mov edx, dword [esp + 0x60]
add esp, 0xc
mov dword [esi + 0x28], edx
cmp edx, 0xc0a
je 0x10063d39
movzx eax, dl
cmp eax, 0xe
je 0x10063d1f
cmp eax, 0xa
jne 0x10063d39
mov eax, dword [edi]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x10063d34
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x10063d36
xor eax, eax
mov dword [edi + 0x48], eax
mov ecx, dword [esp + 0x48]
mov eax, 0x66666667
sub ecx, dword [esp + 0x7c]
push dword [esi + 0x7c]
mov ebx, dword [esp + 0x58]
push dword [esi + 0xc0]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.statement_aborts_at__d:___s___s
push ebx
call fcn.10010e10
push esi
call fcn.100649b0
add esp, 0x18
cmp ebx, 0xc0a
jne 0x10063db6
cmp byte [edi + 0x51], 0
jne 0x10063db6
cmp byte [edi + 0x52], 0
jne 0x10063db6
cmp dword [edi + 0xb8], 0
mov byte [edi + 0x51], 1
jle 0x10063d9f
mov dword [edi + 0x110], 1
inc dword [edi + 0x118]
mov eax, dword [edi + 0xf0]
test eax, eax
je 0x10063db6
mov dword [eax + 0xc], 7
mov al, byte [esp + 0x97]
mov ebx, 1
test al, al
je 0x10063df0
movzx eax, al
dec eax
push eax
push edi
call fcn.10053c10
add esp, 8
jmp 0x10063df0
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
jmp 0x10063df0
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xb4]
cmp edx, ecx
jb 0x10063e40
mov eax, dword [edi + 0x148]
test eax, eax
je 0x10063e40
add ecx, dword [edi + 0x150]
push dword [edi + 0x14c]
mov dword [esp + 0xa0], ecx
call eax
add esp, 4
test eax, eax
je 0x10063df0
or ecx, 0xffffffff
mov edx, 9
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x54], edx
jmp 0x100605d8
add dword [esi + 0xb4], edx
cmp dword [esi + 0xa0], 0
je 0x10063e58
push esi
call fcn.10073940
add esp, 4
mov ecx, dword [esp + 0x33c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100843e0
mov esp, ebp
pop ebp
ret