Function at 0x10043540
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x134
mov eax, dword [0x103b2018]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, dword [edi]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi + 4]
mov edx, dword [ecx + 0xc]
mov ebx, dword [edi + 8]
mov ecx, dword [ebp + 0x20]
xor esi, esi
mov dword [esp + 0x54], eax
mov al, byte [edx + 0x4d]
mov edx, dword [ebp + 0x24]
push edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x3b], 0
mov byte [esp + 0x2c], al
mov dword [esp + 0x4c], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
call fcn.1003ef80
add esp, 4
cmp dword [edi + 0x5c], 7
je 0x10044d72
xor eax, eax
mov dword [edi + 0x5c], eax
mov dword [edi + 0x14], eax
mov ecx, dword [ebp + 0xe0]
mov dword [ebp + 0x1b4], eax
test ecx, ecx
jne 0x10048a6e
xor edx, edx
cmp dword [ebp + 0x114], eax
mov eax, dword [edi + 0x58]
setne dl
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], edx
cmp byte [ebp + 0x38], 0
jne 0x10044d72
cmp dword [esp + 0x58], 0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
lea ecx, [eax + eax*4]
lea ebp, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
je 0x1004364c
mov edx, dword [ecx + 0x11c]
cmp edx, dword [esp + 0x48]
jne 0x10043648
mov eax, ecx
mov ecx, dword [eax + 0x118]
mov edx, dword [eax + 0x114]
push ecx
call edx
add esp, 4
test eax, eax
jne 0x1004886e
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x48]
test byte [ebp + 2], 2
je 0x10043682
mov edx, dword [ebp + 8]
lea edx, [edx + edx*4]
lea esi, [ebx + edx*8]
mov edx, 0x2460
mov dword [esp + 0x20], esi
test word [esi + 0x1c], dx
je 0x10043679
mov eax, esi
call fcn.1003d310
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, 4
mov word [esi + 0x1c], dx
movzx edx, byte [ebp]
dec edx
cmp edx, 0x93
ja case.default.0x10043693
jmp dword [edx*4 + 0x10048aac]
mov eax, dword [ecx + 0xe0]
test eax, eax
jne 0x10048a6e
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov ecx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
lea ebx, [ebx + ecx*8]
mov edx, 4
mov word [ebx + 0x1c], dx
cdq
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
mov eax, dword [ebp + 8]
dec eax
mov dword [esp + 0x1c], eax
jmp case.default.0x10043693
mov ebp, dword [ebp + 4]
lea ecx, [ebp + ebp*4]
mov edx, dword [ebx + ecx*8 + 0x10]
mov dword [esp + 0x1c], edx
jmp case.default.0x10043693
mov ebp, dword [ebp + 4]
lea ecx, [ebp + ebp*4]
lea ebx, [ebx + ecx*8]
mov ecx, dword [ebx + 0x10]
mov edx, 4
mov word [ebx + 0x1c], dx
cdq
mov dword [esp + 0x70], ecx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x1c], edx
jmp case.default.0x10043693
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
test byte [ebx + ecx*8 + 0x1c], 1
je case.default.0x10043693
cmp dword [ebp + 4], 0
jne 0x1004887b
mov edx, dword [edi + 0xa8]
test edx, edx
je 0x1004887b
mov eax, dword [edx + 4]
mov ecx, dword [edi + 0x68]
dec dword [edi + 0xb0]
mov esi, dword [esp + 0x18]
mov dword [edi + 0xa8], eax
add dword [esi + 0x4c], ecx
mov eax, edx
mov dword [esi + 0x48], ecx
call fcn.1003f940
cmp dword [ebp + 8], 4
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
jne 0x10043790
mov ecx, dword [edi + 4]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*4 + 8]
dec edx
mov dword [esp + 0x1c], edx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], ecx
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
cdq
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp case.default.0x10043693
mov ebp, dword [ebp + 0x10]
mov edx, dword [ebp]
mov dword [esi + 0x10], edx
mov eax, dword [ebp + 4]
mov dword [esi + 0x14], eax
jmp case.default.0x10043693
mov ecx, 8
mov word [esi + 0x1c], cx
mov edx, dword [ebp + 0x10]
fld qword [edx]
fstp qword [esi + 8]
jmp case.default.0x10043693
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
mov byte [ebp], 9
call fcn.10025ea0
cmp byte [esp + 0x28], 1
mov dword [ebp + 4], eax
je 0x100438e4
test ebx, ebx
jne 0x10043807
mov esi, dword [esp + 0x20]
call fcn.1003d620
jmp 0x10043880
mov eax, dword [esi]
test eax, eax
je 0x10043812
mov eax, dword [eax + 0x50]
jmp 0x10043817
mov eax, 0x3b9aca00
xor edi, edi
mov dword [esp + 0x40], eax
test eax, eax
jl 0x1004382c
cmp byte [edi + ebx], 0
je 0x1004382c
inc edi
cmp edi, eax
jle 0x10043821
xor eax, eax
mov dword [esp + 0x30], 0x202
push esi
cmp eax, 0x10023e00
jne 0x10043848
call fcn.1003d380
mov dword [esi + 0x24], ebx
jmp 0x10043855
call fcn.1003d380
mov dword [esp + 0x34], 0xa02
mov cx, word [esp + 0x34]
add esp, 4
cmp edi, dword [esp + 0x40]
mov dword [esi + 0x20], 0
mov dword [esi + 4], ebx
mov dword [esi + 0x18], edi
mov word [esi + 0x1c], cx
mov byte [esi + 0x1f], 1
mov byte [esi + 0x1e], 3
jg 0x1004428c
movzx ecx, byte [esp + 0x28]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.1003cfa0
test eax, eax
jne 0x10044d72
mov esi, dword [esp + 0x20]
mov dx, word [esi + 0x1c]
mov dword [esi + 0x24], eax
mov eax, 0xfbff
and dx, ax
mov ecx, 0x800
or dx, cx
or bl, 0xff
mov word [esi + 0x1c], dx
cmp byte [ebp + 1], bl
jne 0x100438d1
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
call fcn.10023eb0
mov byte [ebp + 1], bl
mov edx, dword [esi + 4]
mov dword [ebp + 0x10], edx
mov eax, dword [esi + 0x18]
mov esi, dword [esp + 0x20]
mov dword [ebp + 4], eax
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x18]
cmp ecx, dword [edx + 0x50]
jg 0x1004428c
mov eax, 0xa02
mov word [esi + 0x1c], ax
mov ecx, dword [ebp + 0x10]
mov al, byte [esp + 0x28]
mov dword [esi + 4], ecx
mov edx, dword [ebp + 4]
mov dword [esi + 0x18], edx
mov byte [esi + 0x1f], al
jmp case.default.0x10043693
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp + 8]
mov dword [esp + 0x70], ecx
mov ebp, dword [ebp + 4]
neg ebp
sbb ebp, ebp
and ebp, 0x100
inc ebp
mov word [esp + 0x74], bp
mov word [esi + 0x1c], bp
cmp dword [esp + 0x70], 0
jle case.default.0x10043693
add esi, 0x28
mov edx, 0x2460
test word [esi + 0x1c], dx
je 0x10043956
mov eax, esi
call fcn.1003d310
mov ax, word [esp + 0x74]
mov word [esi + 0x1c], ax
mov ecx, dword [esp + 0x70]
dec ecx
mov dword [esp + 0x70], ecx
test ecx, ecx
jg 0x10043941
mov dword [esp + 0x20], esi
jmp case.default.0x10043693
mov edi, dword [ebp + 0x10]
mov ebp, dword [ebp + 4]
test edi, edi
jne 0x10043996
mov esi, dword [esp + 0x20]
call fcn.1003d620
mov al, byte [esp + 0x28]
mov ecx, esi
mov byte [ecx + 0x1f], al
jmp case.default.0x10043693
mov eax, dword [esi]
test eax, eax
je 0x100439a1
mov eax, dword [eax + 0x50]
jmp 0x100439a6
mov eax, 0x3b9aca00
mov ebx, 0x10
test ebp, ebp
jge 0x100439ca
xor ebp, ebp
test eax, eax
jl 0x100439c5
mov cl, byte [edi + ebp + 1]
or cl, byte [edi + ebp]
je 0x100439c5
add ebp, 2
cmp ebp, eax
jle 0x100439b5
mov ebx, 0x210
xor edx, edx
push esi
cmp edx, 0x10023e00
jne 0x100439e2
call fcn.1003d380
add esp, 4
mov dword [esi + 0x24], edi
jmp 0x100439f0
call fcn.1003d380
add esp, 4
or ebx, 0x800
mov al, byte [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov byte [esi + 0x1f], 1
mov dword [esi + 0x20], 0
mov dword [esi + 4], edi
mov dword [esi + 0x18], ebp
mov word [esi + 0x1c], bx
mov byte [esi + 0x1e], 4
mov byte [ecx + 0x1f], al
jmp case.default.0x10043693
mov ebp, dword [ebp + 4]
mov eax, dword [edi + 0x48]
lea edx, [ebp + ebp*4]
lea edi, [eax + edx*8 - 0x28]
mov ecx, edi
mov dword [esp + 0x70], edi
call fcn.1003d860
test eax, eax
jne 0x1004428c
push 0x800
push edi
mov ebx, esi
call fcn.1003d890
add esp, 8
jmp case.default.0x10043693
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [esp + 0x74], eax
mov ecx, dword [ebp + 4]
mov dword [esp + 0x78], ecx
mov ebp, dword [ebp + 8]
lea ecx, [ecx + ecx*4]
lea edx, [ebp + ebp*4]
lea edi, [ebx + ecx*8]
lea ecx, [ebx + edx*8]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x20], ecx
je 0x10043ab1
mov esi, ecx
dec eax
mov dword [esp + 0x74], eax
mov edx, dword [esi + 0x24]
mov dword [esp + 0x70], edx
mov ebx, edi
mov eax, esi
mov dword [esi + 0x24], 0
call fcn.1003d950
mov eax, dword [esp + 0x70]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x74]
add edi, 0x28
add esi, 0x28
test eax, eax
jne 0x10043a7c
mov dword [esp + 0x20], esi
dec eax
mov dword [esp + 0x74], eax
jmp case.default.0x10043693
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x70], ecx
mov eax, dword [ebp + 4]
mov ebp, dword [ebp + 8]
lea edx, [eax + eax*4]
lea eax, [ebp + ebp*4]
lea esi, [ebx + edx*8]
lea ebx, [ebx + eax*8]
push 0x1000
push esi
mov dword [esp + 0x28], ebx
call fcn.1003d890
mov ecx, 0x1000
add esp, 8
test word [ebx + 0x1c], cx
je 0x10043b01
mov eax, ebx
call fcn.1003d0e0
test eax, eax
jne 0x10044d72
mov eax, dword [esp + 0x70]
mov edx, eax
dec eax
mov dword [esp + 0x70], eax
test edx, edx
je case.default.0x10043693
add ebx, 0x28
add esi, 0x28
jmp 0x10043ad5
mov eax, dword [ebp + 8]
mov ebp, dword [ebp + 4]
lea eax, [eax + eax*4]
lea ecx, [ebp + ebp*4]
lea eax, [ebx + eax*8]
lea edx, [ebx + ecx*8]
push 0x1000
push edx
mov ebx, eax
mov dword [esp + 0x28], eax
call fcn.1003d890
add esp, 8
jmp case.default.0x10043693
push 0
mov ecx, edi
call fcn.100403a0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne case.default.0x10043693
push 1
push edi
call fcn.100402a0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne case.default.0x10043693
mov eax, dword [edi + 0x54]
add eax, 2
or eax, 1
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
lea ebx, [ebx + ecx*8]
xor ecx, ecx
mov dword [edi + 0x14], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
cmp dword [ebp + 8], ecx
jle 0x10043bf4
mov eax, dword [esp + 0x70]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*8]
mov edx, 0x1000
test word [eax + 0x1c], dx
je 0x10043bc4
call fcn.1003d0e0
test eax, eax
jne 0x10044d72
mov ecx, dword [esp + 0x74]
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x70]
lea eax, [ecx + eax*8]
call fcn.1003d1a0
mov eax, dword [esp + 0x74]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x70]
lea ecx, [eax + edx*8]
call fcn.100432b0
mov ecx, dword [esp + 0x74]
inc ecx
mov dword [esp + 0x74], ecx
cmp ecx, dword [ebp + 8]
jl 0x10043b9e
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x38], 0
jne 0x10044d72
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
inc edx
mov dword [edi + 0x58], edx
mov esi, 0x64
jmp 0x1004432f
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
mov eax, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
lea ecx, [eax + eax*4]
movzx eax, word [esi + 0x1c]
lea edi, [ebx + ecx*8]
mov cl, byte [edi + 0x1c]
lea edx, [ebp + ebp*4]
or cl, al
lea ebx, [ebx + edx*8]
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x20], ebx
test cl, 1
je 0x10043c5a
mov esi, ebx
call fcn.1003d620
jmp case.default.0x10043693
test eax, 0x4000
je 0x10043c70
mov eax, esi
call fcn.1003d140
test eax, eax
jne 0x10044d72
mov edx, 0x4000
test word [edi + 0x1c], dx
je 0x10043c8a
mov eax, edi
call fcn.1003d140
test eax, eax
jne 0x10044d72
mov bl, 0x12
test byte [esi + 0x1c], bl
jne 0x10043ca7
movzx esi, byte [esp + 0x28]
mov eax, dword [esp + 0x30]
call fcn.1003d1f0
test eax, eax
jne 0x10044d72
mov eax, dword [esp + 0x40]
test byte [eax + 0x1c], bl
jne 0x10043cc6
movzx esi, byte [esp + 0x28]
call fcn.1003d1f0
test eax, eax
jne 0x10044d72
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x30]
add eax, dword [ecx + 0x18]
cdq
mov ecx, edx
mov edx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ecx
mov eax, dword [edx + 0x50]
cdq
cmp ecx, edx
jg 0x1004428c
jl 0x10043cf7
cmp esi, eax
ja 0x1004428c
mov edi, dword [esp + 0x20]
mov ax, word [edi + 0x1c]
mov ecx, 0xbe02
and ax, cx
or ax, 2
xor edx, edx
cmp edi, dword [esp + 0x40]
mov word [edi + 0x1c], ax
mov eax, dword [esp + 0x70]
sete dl
add eax, 2
push edx
call fcn.1003cfd0
add esp, 4
test eax, eax
jne 0x10044d72
mov esi, edi
mov edi, dword [esp + 0x40]
cmp esi, edi
je 0x10043d4e
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [esi + 4]
add eax, dword [edi + 0x18]
push ecx
push edx
push eax
call sub.MSVCR90.dll_memcpy
mov edx, dword [esp + 0x7c]
mov ecx, dword [esi + 4]
mov byte [edx + ecx], 0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esi + 4]
mov byte [eax + ecx + 1], 0
mov cl, byte [esp + 0x34]
mov edx, 0x200
add esp, 0xc
or word [esi + 0x1c], dx
mov eax, dword [esp + 0x70]
mov dword [esi + 0x18], eax
mov byte [esi + 0x1f], cl
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
lea edi, [ebx + edx*8]
mov esi, edi
call fcn.100433a0
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
call fcn.100433a0
mov eax, dword [ebp + 0xc]
lea ecx, [eax + eax*4]
movzx eax, word [esi + 0x1c]
lea edx, [ebx + ecx*8]
movzx ecx, word [edi + 0x1c]
or eax, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x74], eax
test al, 1
jne 0x10044066
mov dl, byte [esi + 0x1c]
and dl, byte [edi + 0x1c]
test dl, 4
je 0x10043f31
mov eax, dword [edi + 0x10]
mov dword [esp + 0x78], eax
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x7c], ecx
mov ebx, dword [esi + 0x10]
mov dword [esp + 0x80], ebx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x84], edx
mov byte [esp + 0x70], 1
movzx edx, byte [ebp]
add edx, 0xffffffaa
cmp edx, 3
ja case.default.0x10043e23
jmp dword [edx*4 + 0x10048cfc]
push ecx
push eax
lea eax, [esp + 0x88]
push eax
call fcn.10026d30
add esp, 0xc
test eax, eax
jne 0x10043f36
jmp 0x10043f00
push ecx
push eax
lea edx, [esp + 0x88]
call fcn.10026dc0
add esp, 8
test eax, eax
jne 0x10043f36
jmp 0x10043f00
push ecx
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.10026e10
add esp, 0xc
test eax, eax
jne 0x10043f36
jmp 0x10043f00
mov edx, eax
or edx, ecx
je 0x10044066
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
jne 0x10043eae
test ebx, ebx
jne 0x10043eae
cmp dword [esp + 0x84], 0x80000000
je 0x10043f36
push ecx
push eax
mov eax, dword [esp + 0x8c]
push eax
push ebx
call fcn.1012a8e0
jmp 0x10043ef2
mov edx, eax
or edx, ecx
je 0x10044066
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
jne 0x10043ee2
mov eax, 1
xor ecx, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
push ecx
push eax
mov eax, dword [esp + 0x8c]
push eax
push ebx
call fcn.1012a9b0
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x84]
mov cx, word [eax + 0x1c]
mov dword [eax + 0x14], edx
mov edx, 0xbe04
and cx, dx
or cx, 4
mov word [eax + 0x1c], cx
jmp case.default.0x10043693
mov byte [esp + 0x70], 0
mov eax, edi
call fcn.1003d490
fstp qword [esp + 0x88]
mov eax, esi
call fcn.1003d490
fst qword [esp + 0x90]
movzx eax, byte [ebp]
add eax, 0xffffffaa
cmp eax, 3
ja case.default.0x10043f5e
jmp dword [eax*4 + 0x10048d0c]
fadd qword [esp + 0x88]
jmp 0x10044007
fsub qword [esp + 0x88]
jmp 0x10044007
fmul qword [esp + 0x88]
jmp 0x10044007
fldz
fld qword [esp + 0x88]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x10044062
fdivp st(1)
jmp 0x10044007
fld qword [esp + 0x88]
call fcn.1012aaa6
mov esi, eax
mov edi, edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
call fcn.1012aaa6
mov ecx, esi
or ecx, edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
je 0x10044066
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x10043ff2
mov esi, 1
xor edi, edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
push edi
push esi
push edx
push eax
call fcn.1012a9b0
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
fild qword [esp + 0x60]
sub esp, 8
fst qword [esp + 0x98]
fstp qword [esp]
call fcn.10025e60
add esp, 8
test eax, eax
jne 0x10044066
mov esi, dword [esp + 0x20]
fld qword [esp + 0x90]
mov dx, word [esi + 0x1c]
fstp qword [esi + 8]
mov eax, 0xbe08
and dx, ax
or dx, 8
mov word [esi + 0x1c], dx
test byte [esp + 0x74], 8
jne case.default.0x10043693
cmp byte [esp + 0x70], 0
jne case.default.0x10043693
call fcn.1003d4e0
jmp case.default.0x10043693
fstp st(0)
fstp st(0)
mov esi, dword [esp + 0x20]
call fcn.1003d620
jmp case.default.0x10043693
mov ebp, dword [ebp + 4]
test ebp, ebp
je case.default.0x10043693
lea ecx, [ebp + ebp*4]
push 0
push 0
lea esi, [ebx + ecx*8]
call fcn.1003d6d0
add esp, 8
jmp case.default.0x10043693
movzx edx, byte [ebp + 3]
mov eax, dword [edi + 0xc]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edx
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
lea eax, [ebx + ecx*8]
mov ecx, dword [ebp + 8]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x20], eax
xor eax, eax
lea ebx, [ebx + ecx*8]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], eax
test edx, edx
jle 0x1004411e
mov edx, dword [esp + 0xb8]
mov dword [edx + eax*4], ebx
mov eax, dword [esp + 0x74]
mov ecx, 0x1000
test word [eax + 0x1c], cx
je 0x100440fa
call fcn.1003d0e0
test eax, eax
jne 0x10044d72
mov eax, dword [esp + 0x74]
mov ecx, eax
call fcn.100432b0
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
inc eax
add ebx, 0x28
cmp eax, dword [esp + 0xbc]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebx
jl 0x100440d0
cmp byte [ebp + 1], 0xfb
jne 0x10044133
mov edx, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
jmp 0x10044142
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x7c], eax
mov eax, dword [eax]
mov dword [esp + 0x78], eax
xor eax, eax
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov ecx, 1
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov ebx, edi
lea eax, [esp + 0x80]
mov word [esp + 0x9c], cx
mov dword [esp + 0x80], esi
call fcn.1003d950
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
and edx, 0xbe01
or edx, 1
mov word [esp + 0x9c], dx
mov dword [esp + 0xb0], 0
test byte [eax + 3], 8
je 0x100441b1
mov ecx, dword [ebp - 4]
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], edx
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [ecx + 0xc]
lea eax, [esp + 0x80]
push eax
call edx
mov ebx, dword [esp + 0x88]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
add esp, 0xc
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
test ebx, ebx
je 0x10044216
mov edx, dword [ebp + 4]
push edx
call fcn.10040920
mov eax, dword [esp + 0x80]
add esp, 4
mov dword [ebp + 0x10], eax
mov byte [ebp + 1], 0xf9
cmp byte [esi + 0x38], 0
jne 0x1004890b
cmp dword [esp + 0xb0], 0
je 0x1004425e
mov bl, 1
lea edi, [esp + 0x80]
call fcn.1003ded0
mov edi, dword [esp + 0x24]
push eax
push 0x1036f938
add edi, 0x38
mov eax, esi
call fcn.10024270
mov ecx, dword [esp + 0xb8]
mov edi, dword [esp + 0x28]
add esp, 8
mov dword [esp + 0x14], ecx
movzx ecx, byte [esp + 0x28]
lea eax, [esp + 0x80]
call fcn.1003cfa0
lea ebx, [esp + 0x80]
mov eax, edi
call fcn.1003d950
mov ecx, edi
call fcn.1003d860
test eax, eax
je case.default.0x10043693
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
push str.string_or_blob_too_big
add edi, 0x38
call fcn.10024270
mov dword [esp + 0x18], 0x12
add esp, 4
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0xa0]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
push ecx
push edx
push eax
push str.statement_aborts_at__d:___s___s
push esi
mov dword [edi + 0x5c], esi
call sym.NirvanaBiz.dll_sqlite3_log
add esp, 0x14
push edi
call fcn.10040400
add esp, 4
cmp esi, 0xc0a
jne 0x100442ee
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x38], 1
mov al, byte [esp + 0x37]
mov esi, 1
test al, al
jbe 0x1004432f
movzx ebx, al
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
dec ebx
mov edx, ebx
shl edx, 4
mov edx, dword [edx + ecx + 0xc]
push edx
call fcn.1005ab60
add esp, 4
cmp ebx, esi
je 0x1004432f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.1005ab60
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
push edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
call fcn.1003efe0
mov ecx, dword [esp + 0x140]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10126cba
add esp, 0x134
ret
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov eax, dword [ebp + 0xc]
lea edi, [ebx + edx*8]
lea edx, [eax + eax*4]
mov al, byte [ecx + 0x1c]
or al, byte [edi + 0x1c]
lea esi, [ebx + edx*8]
mov dword [esp + 0x20], esi
test al, 1
je 0x10044398
call fcn.1003d620
jmp case.default.0x10043693
call fcn.1003d420
mov ecx, edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
call fcn.1003d420
mov edi, eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edx
mov al, byte [ebp]
mov byte [esp + 0x88], al
cmp al, 0x52
jne 0x100443d7
and dword [esp + 0x70], edi
and dword [esp + 0x74], edx
jmp 0x100444e6
cmp al, 0x53
jne 0x100443e8
or dword [esp + 0x70], edi
or dword [esp + 0x74], edx
jmp 0x100444e6
mov ecx, edi
or ecx, edx
je 0x100444e6
test edx, edx
jg 0x10044435
jl 0x100443fc
test edi, edi
jae 0x1004442a
mov cl, 0xa9
sub cl, al
cmp edx, 0xffffffff
mov al, cl
mov byte [esp + 0x88], al
jl 0x1004445a
jg 0x10044415
cmp edi, 0xffffffc0
jbe 0x1004445a
neg edi
adc edx, 0
neg edx
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edx
test edx, edx
jl 0x1004447f
jg 0x10044435
cmp edi, 0x40
jb 0x1004447f
cmp dword [esp + 0x74], 0
jg 0x10044472
jl 0x10044445
cmp dword [esp + 0x70], 0
jae 0x10044472
cmp al, 0x54
je 0x10044472
or eax, 0xffffffff
cdq
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
jmp 0x100444e6
mov dword [esp + 0x80], 0x40
mov dword [esp + 0x84], 0
jmp 0x10044435
xor eax, eax
cdq
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
jmp 0x100444e6
cmp al, 0x54
mov eax, dword [esp + 0x70]
mov ecx, edi
jne 0x10044498
mov edx, dword [esp + 0x74]
call fcn.1012a990
mov ebp, eax
mov esi, edx
jmp 0x100444d2
mov ebx, dword [esp + 0x74]
mov edx, ebx
call fcn.1012add0
mov ebp, eax
mov esi, edx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], esi
test ebx, ebx
jg 0x100444da
jl 0x100444bc
cmp dword [esp + 0x70], 0
jae 0x100444da
mov ecx, 0x40
sub ecx, edi
or eax, 0xffffffff
or edx, 0xffffffff
call fcn.1012a990
or ebp, eax
or esi, edx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x70], ebp
mov edx, dword [esp + 0x70]
mov cx, word [esi + 0x1c]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x74]
mov edx, 0xbe04
and cx, dx
or cx, 4
mov dword [esi + 0x14], eax
mov word [esi + 0x1c], cx
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
call fcn.1003d540
mov eax, dword [ebp + 8]
cdq
add dword [esi + 0x10], eax
adc dword [esi + 0x14], edx
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
lea esi, [ebx + ecx*8]
call fcn.100433a0
test byte [esi + 0x1c], 8
je 0x10044543
call fcn.1003d4e0
movzx eax, word [esi + 0x1c]
test al, 4
jne 0x10044560
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x10048920
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
and eax, 0xbe04
or eax, 4
mov word [esi + 0x1c], ax
jmp case.default.0x10043693
mov ebp, dword [ebp + 4]
lea edx, [ebp + ebp*4]
test byte [ebx + edx*8 + 0x1c], 4
lea esi, [ebx + edx*8]
je case.default.0x10043693
call fcn.1003d570
jmp case.default.0x10043693
mov ebp, dword [ebp + 4]
lea eax, [ebp + ebp*4]
movzx edx, word [ebx + eax*8 + 0x1c]
lea ebx, [ebx + eax*8]
test dl, 1
jne case.default.0x10043693
mov ecx, edx
shr ecx, 3
and ecx, 2
or ecx, edx
mov word [ebx + 0x1c], cx
test cl, 2
jne 0x100445cc
test cl, 0xc
je 0x100445cc
movzx esi, byte [esp + 0x28]
mov eax, ebx
call fcn.1003d1f0
mov ecx, 0xfff3
and word [ebx + 0x1c], cx
movzx eax, word [ebx + 0x1c]
test eax, 0x4000
je 0x100445f9
mov eax, ebx
call fcn.1003d140
mov edx, 0xbfe3
and word [ebx + 0x1c], dx
mov dword [esp + 0x14], eax
jmp case.default.0x10043693
mov edx, 0xbfe3
and word [ebx + 0x1c], dx
mov dword [esp + 0x14], 0
jmp case.default.0x10043693
mov ebp, dword [ebp + 4]
lea eax, [ebp + ebp*4]
lea edi, [ebx + eax*8]
movzx eax, word [edi + 0x1c]
test al, 1
jne case.default.0x10043693
test al, 0x10
jne 0x10044656
test al, 2
jne 0x1004463d
test al, 0xc
je 0x1004463d
movzx esi, byte [esp + 0x28]
mov eax, edi
call fcn.1003d1f0
mov cx, word [edi + 0x1c]
mov edx, 0xbe10
and cx, dx
or cx, 0x10
mov word [edi + 0x1c], cx
jmp case.default.0x10043693
and eax, 0xfe10
mov word [edi + 0x1c], ax
jmp case.default.0x10043693
mov ebp, dword [ebp + 4]
lea eax, [ebp + ebp*4]
lea eax, [ebx + eax*8]
call fcn.1003d5a0
jmp case.default.0x10043693
mov ebp, dword [ebp + 4]
lea ecx, [ebp + ebp*4]
test byte [ebx + ecx*8 + 0x1c], 1
lea esi, [ebx + ecx*8]
jne case.default.0x10043693
call fcn.1003d540
jmp case.default.0x10043693
mov ebp, dword [ebp + 4]
lea edx, [ebp + ebp*4]
test byte [ebx + edx*8 + 0x1c], 1
lea esi, [ebx + edx*8]
jne case.default.0x10043693
call fcn.1003d570
jmp case.default.0x10043693
mov ecx, dword [ebp + 4]
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp + 0xc]
mov dx, word [ebx + eax*8 + 0x1c]
lea esi, [ebx + eax*8]
lea ecx, [ecx + ecx*4]
lea edi, [ebx + ecx*8]
mov word [esp + 0x76], dx
mov ax, word [edi + 0x1c]
mov dl, al
mov word [esp + 0x78], ax
mov al, byte [esp + 0x76]
mov cl, dl
or cl, al
mov dword [esp + 0x30], edi
test cl, 1
je 0x1004475c
mov cl, byte [ebp + 3]
test cl, cl
jns 0x10044719
test al, 1
je 0x1004470f
test dl, 1
je 0x1004470f
test dword [esp + 0x78], 0x100
jne 0x1004470f
xor ecx, ecx
jmp 0x100447cf
mov ecx, 1
jmp 0x100447cf
test cl, 0x10
je 0x10044746
mov ebp, dword [ebp + 8]
lea edx, [ebp + ebp*4]
mov ax, word [ebx + edx*8 + 0x1c]
lea ebx, [ebx + edx*8]
mov ecx, 0xbe01
and ax, cx
or ax, 1
mov dword [esp + 0x20], ebx
mov word [ebx + 0x1c], ax
jmp case.default.0x10043693
test cl, 8
je case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov al, byte [ebp + 3]
and al, 0x67
mov byte [esp + 0x74], al
je 0x10044799
mov ebx, dword [esp + 0x28]
push ebx
mov edi, esi
call fcn.10043470
mov al, byte [esp + 0x78]
mov edi, dword [esp + 0x34]
add esp, 4
push ebx
call fcn.10043470
mov edx, dword [esp + 0x1c]
add esp, 4
cmp byte [edx + 0x38], 0
jne 0x10044d72
mov ebx, dword [esp + 0x2c]
mov eax, 0x4000
test word [esi + 0x1c], ax
je 0x100447ab
mov eax, esi
call fcn.1003d140
mov ecx, 0x4000
test word [edi + 0x1c], cx
je 0x100447bd
mov eax, edi
call fcn.1003d140
mov edx, dword [ebp + 0x10]
push edx
mov eax, esi
mov ecx, edi
call fcn.1003db30
add esp, 4
mov ecx, eax
mov dword [esp + 0x70], ecx
movzx eax, byte [ebp]
add eax, 0xffffffb5
cmp eax, 4
ja case.default.0x100447df
jmp dword [eax*4 + 0x10048d1c]
xor eax, eax
test ecx, ecx
sete al
mov ecx, eax
jmp 0x10044822
xor edx, edx
test ecx, ecx
setne dl
jmp 0x10044820
xor eax, eax
test ecx, ecx
setl al
mov ecx, eax
jmp 0x10044822
xor edx, edx
test ecx, ecx
setle dl
jmp 0x10044820
xor eax, eax
test ecx, ecx
setg al
mov ecx, eax
jmp 0x10044822
xor edx, edx
test ecx, ecx
setge dl
mov ecx, edx
mov dword [esp + 0x70], ecx
test byte [ebp + 3], 0x10
je 0x1004485c
mov ebp, dword [ebp + 8]
lea eax, [ebp + ebp*4]
mov cx, word [ebx + eax*8 + 0x1c]
lea ebx, [ebx + eax*8]
mov edx, 0xbe04
and cx, dx
or cx, 4
mov word [ebx + 0x1c], cx
mov eax, dword [esp + 0x70]
cdq
mov dword [esp + 0x20], ebx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
jmp 0x10044868
test ecx, ecx
je 0x10044868
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
mov ax, word [esi + 0x1c]
xor ax, word [esp + 0x76]
mov ecx, 0x1ff
and ax, cx
xor word [esi + 0x1c], ax
mov dx, word [edi + 0x1c]
xor dx, word [esp + 0x78]
mov eax, ecx
and dx, ax
xor word [edi + 0x1c], dx
jmp case.default.0x10043693
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x4c], ecx
jmp case.default.0x10043693
test byte [ebp + 3], 1
jne 0x100448ae
mov dword [esp + 0x4c], 0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x70], ecx
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x80], esi
mov edx, dword [ebp + 4]
mov dword [esp + 0x78], edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x74], eax
test ecx, ecx
jle 0x10044970
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x2c]
jmp 0x100448ec
mov esi, dword [esp + 0x80]
test ebx, ebx
je 0x100448f5
mov ecx, dword [ebx + eax*4]
jmp 0x100448f7
mov ecx, eax
mov dword [esp + 0x84], ecx
mov edx, dword [esi + eax*4 + 0xc]
mov dword [esp + 0x88], edx
mov esi, dword [esi + 8]
movzx eax, byte [esi + eax]
push edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x90], eax
lea eax, [ecx + edx]
mov edx, dword [esp + 0x7c]
add ecx, edx
lea eax, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea eax, [edi + eax*8]
lea ecx, [edi + ecx*8]
call fcn.1003db30
add esp, 4
mov dword [esp + 0x50], eax
test eax, eax
jne 0x10044960
mov eax, dword [esp + 0x74]
inc eax
cmp eax, dword [esp + 0x70]
mov dword [esp + 0x74], eax
jl 0x100448e5
mov dword [esp + 0x4c], 0
jmp case.default.0x10043693
cmp dword [esp + 0x8c], 0
je 0x10044970
neg eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], 0
jmp case.default.0x10043693
mov eax, dword [esp + 0x50]
test eax, eax
jge 0x10044992
mov ebp, dword [ebp + 4]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
jne 0x100449a1
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov ebp, dword [ebp + 0xc]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
test byte [ebx + edx*8 + 0x1c], 1
lea ecx, [ebx + edx*8]
je 0x100449c5
mov edx, 2
jmp 0x100449d7
call fcn.1003d420
or eax, edx
je 0x100449d5
mov edx, 1
jmp 0x100449d7
xor edx, edx
mov dword [esp + 0x70], edx
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 0x1c], 1
lea ecx, [ebx + eax*8]
je 0x100449f2
mov eax, 2
jmp 0x10044a08
call fcn.1003d420
or eax, edx
mov edx, dword [esp + 0x70]
je 0x10044a06
mov eax, 1
jmp 0x10044a08
xor eax, eax
mov dword [esp + 0x74], eax
cmp byte [ebp], 0x45
jne 0x10044a1f
lea ecx, [eax + edx*2]
movzx eax, byte [edx + ecx + 0x103698ec]
jmp 0x10044a2a
lea eax, [eax + edx*2]
movzx eax, byte [edx + eax + 0x10369920]
mov dword [esp + 0x70], eax
mov ebp, dword [ebp + 0xc]
lea ecx, [ebp + ebp*4]
lea ebx, [ebx + ecx*8]
mov dword [esp + 0x20], ebx
cmp eax, 2
jne 0x10044a5a
mov dx, word [ebx + 0x1c]
mov eax, 0xbe01
and dx, ax
or dx, 1
mov word [ebx + 0x1c], dx
jmp case.default.0x10043693
mov cx, word [ebx + 0x1c]
cdq
mov dword [ebx + 0x14], edx
mov edx, 0xbe04
and cx, dx
or cx, 4
mov dword [ebx + 0x10], eax
mov word [ebx + 0x1c], cx
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
mov ebp, dword [ebp + 8]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 0x1c], 1
lea edx, [ebp + ebp*4]
lea ecx, [ebx + eax*8]
lea esi, [ebx + edx*8]
mov dword [esp + 0x20], esi
je 0x10044aa2
call fcn.1003d620
jmp case.default.0x10043693
call fcn.1003d420
or eax, edx
jne 0x10044ac0
mov eax, 1
cdq
push edx
push eax
call fcn.1003d6d0
add esp, 8
jmp case.default.0x10043693
xor eax, eax
cdq
push edx
push eax
call fcn.1003d6d0
add esp, 8
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
mov ebp, dword [ebp + 8]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 0x1c], 1
lea edx, [ebp + ebp*4]
lea ecx, [ebx + eax*8]
lea esi, [ebx + edx*8]
mov dword [esp + 0x20], esi
je 0x10044afa
call fcn.1003d620
jmp case.default.0x10043693
call fcn.1003d420
not edx
not eax
push edx
push eax
call fcn.1003d6d0
add esp, 8
jmp case.default.0x10043693
mov eax, dword [edi + 0xc0]
mov ecx, dword [ebp + 4]
add eax, ecx
cmp byte [eax], 0
je 0x10044b2f
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov byte [eax], 1
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
test byte [ebx + edx*8 + 0x1c], 1
lea eax, [ebx + edx*8]
je 0x10044b4c
mov eax, dword [ebp + 0xc]
jmp 0x10044b7a
call fcn.1003d490
fcomp qword [0x1038bd48]
fnstsw ax
test ah, 0x44
jnp 0x10044b65
mov eax, 1
jmp 0x10044b67
xor eax, eax
mov dword [esp + 0x70], eax
cmp byte [ebp], 0x1c
jne 0x10044b7e
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov dword [esp + 0x70], eax
test eax, eax
je case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
test byte [ebx + edx*8 + 0x1c], 1
je case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 0x1c], 1
jne case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov edx, dword [ebp + 4]
mov dword [esp + 0x80], edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov esi, dword [ebp + 0xc]
lea eax, [esi + esi*4]
mov esi, dword [edi + 0x44]
lea eax, [ebx + eax*8]
mov dword [esp + 0xac], eax
mov dword [esp + 0x8c], 0
mov esi, dword [esi + edx*4]
mov dword [esp + 0x88], esi
mov edx, dword [esi]
mov dword [esp + 0x90], edx
test edx, edx
je 0x10044d14
call fcn.10040ac0
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10048a01
mov edx, dword [esp + 0x88]
cmp byte [edx + 0x1c], al
je 0x10044c8e
mov dword [esp + 0x70], eax
jmp 0x10044cde
mov ecx, dword [edx + 0x50]
cmp ecx, dword [edi + 0x54]
jne 0x10044ca9
mov eax, dword [edx + 0x54]
mov dword [esp + 0x70], eax
mov ecx, dword [edx + 0x60]
mov dword [esp + 0x8c], ecx
jmp 0x10044cce
cmp byte [edx + 0x1f], 0
je 0x10044cfe
mov eax, dword [esp + 0x90]
lea edi, [esp + 0x78]
call fcn.10036760
mov edx, dword [esp + 0x78]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x10044ddf
mov eax, dword [esp + 0xac]
mov cx, word [eax + 0x1c]
mov edx, 0xbe01
and cx, dx
or cx, 1
mov word [eax + 0x1c], cx
jmp case.default.0x10043693
mov esi, dword [esp + 0x90]
lea eax, [esp + 0x70]
push eax
call fcn.10036790
add esp, 4
jmp 0x10044cc7
mov edx, dword [esi + 0x10]
test edx, edx
jle 0x10044dd2
lea edx, [edx + edx*4]
lea ebx, [ebx + edx*8]
mov dword [esp + 0xf4], ebx
cmp byte [esi + 0x22], 0
je 0x10044d98
mov ecx, dword [esp + 0x84]
lea ecx, [ecx + ecx*4]
lea edx, [ebx + ecx*8]
push 0x1000
push edx
mov ebx, eax
call fcn.1003d890
mov eax, dword [esp + 0xb4]
mov ecx, 0x1000
add esp, 8
test word [eax + 0x1c], cx
je case.default.0x10043693
call fcn.1003d0e0
test eax, eax
je case.default.0x10043693
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
push str.out_of_memory
add edi, 0x38
mov byte [eax + 0x38], 1
call fcn.10024270
mov dword [esp + 0x18], 7
jmp 0x100442a9
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x70], edx
mov eax, dword [ebx + 4]
mov dword [esp + 0x8c], eax
test byte [ebp + 3], 0x20
je 0x10044dc0
xor edi, edi
mov dword [esi + 0x50], edi
mov edx, dword [esp + 0x88]
jmp 0x10044cd2
mov edi, dword [edi + 0x54]
mov dword [esi + 0x50], edi
mov edx, dword [esp + 0x88]
jmp 0x10044cd2
mov dword [esp + 0x70], 0
jmp 0x10044ce5
cmp eax, dword [ecx + 0x50]
ja 0x1004428c
mov eax, dword [edx + 0x14]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x9c], eax
mov edi, dword [edx + 0x58]
mov dword [esp + 0x94], edi
mov esi, dword [edx + 0x50]
cmp esi, dword [ecx + 0x54]
jne 0x10044e17
mov eax, dword [edx + 0x5c]
mov dword [esp + 0x98], eax
jmp 0x100450f5
lea eax, [edi + eax*4]
mov dword [esp + 0x98], eax
mov dword [esp + 0xec], 0
mov dword [edx + 0x5c], eax
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x70]
mov dword [edx + 0x54], eax
mov ecx, dword [ecx + 0x54]
mov edx, dword [esp + 0x88]
mov dword [edx + 0x50], ecx
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x10044e61
mov dword [esp + 0xa8], ecx
jmp 0x10044ed7
mov eax, dword [esp + 0x88]
cmp byte [eax + 0x1f], 0
je 0x10044e84
mov esi, dword [esp + 0x90]
lea ecx, [esp + 0xec]
push ecx
call fcn.10036d90
jmp 0x10044e98
mov eax, dword [esp + 0x90]
lea edx, [esp + 0xec]
push edx
call fcn.10036df0
mov ecx, dword [esp + 0x74]
add esp, 4
mov dword [esp + 0xa8], eax
cmp ecx, dword [esp + 0xec]
ja 0x10044ec2
mov edx, dword [esp + 0x88]
mov dword [esp + 0x8c], eax
mov dword [edx + 0x60], eax
jmp 0x10044ed0
mov eax, dword [esp + 0x88]
mov dword [eax + 0x60], 0
mov ecx, dword [esp + 0xa8]
mov al, byte [ecx]
cmp al, 0x80
jae 0x10044eee
movzx edx, al
mov dword [esp + 0xe0], edx
mov eax, 1
jmp 0x10044f0b
lea esi, [esp + 0xe0]
call fcn.10026b50
mov edx, dword [esp + 0xe0]
mov ecx, dword [esp + 0xa8]
movzx eax, al
movzx eax, al
mov dword [esp + 0xe8], eax
cmp edx, 0x18003
jbe 0x10044f30
mov eax, 0x1037f
call fcn.10084190
mov dword [esp + 0x14], eax
jmp case.default.0x10043693
mov esi, dword [esp + 0x9c]
lea eax, [esi + esi*4 + 3]
cmp eax, edx
mov dword [esp + 0xa0], eax
jle 0x10044f4f
mov eax, edx
mov dword [esp + 0xa0], eax
cmp dword [esp + 0x8c], 0
jne 0x10044fcb
cmp dword [esp + 0xec], eax
jge 0x10044fcb
mov edx, dword [esp + 0x88]
xor ecx, ecx
mov word [esp + 0xcc], cx
mov dword [esp + 0xb0], ecx
movzx ecx, byte [edx + 0x1f]
push ecx
mov ecx, dword [esp + 0x94]
push eax
lea eax, [esp + 0xb8]
xor ebx, ebx
call fcn.1003ddd0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne case.default.0x10043693
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xa8], ecx
add eax, ecx
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xe8]
add eax, ecx
mov dword [esp + 0xd8], eax
xor eax, eax
mov dword [esp + 0xa4], eax
test esi, esi
jle 0x1004509c
mov ecx, dword [esp + 0xdc]
cmp dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x98]
jae 0x10045175
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0xd8]
mov al, byte [ecx]
cmp al, 0x80
jae 0x10045034
movzx edx, al
inc ecx
mov dword [esp + 0xf0], edx
mov dword [esp + 0xd8], ecx
jmp 0x1004504a
lea esi, [esp + 0xf0]
call fcn.10026b50
movzx eax, al
add dword [esp + 0xd8], eax
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x94]
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0xf0]
call fcn.10040c80
mov edx, dword [esp + 0xe0]
add edx, eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe0], edx
cmp edx, eax
jae 0x10045183
mov edx, dword [esp + 0xdc]
inc edx
mov dword [esp + 0xd8], edx
lea eax, [esp + 0xb0]
push eax
call fcn.1003d380
mov eax, dword [esp + 0xdc]
mov ecx, 1
mov word [esp + 0xd0], cx
mov ecx, dword [esp + 0xe0]
add esp, 4
cmp eax, ecx
ja 0x10045306
mov edx, dword [esp + 0xe0]
mov esi, dword [esp + 0x70]
cmp edx, esi
ja 0x10045306
cmp eax, ecx
jne 0x100450ee
cmp edx, esi
jne 0x10045306
mov edi, dword [esp + 0x94]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x98]
cmp dword [eax + edx*4], 0
je 0x1004526a
cmp dword [esp + 0x8c], 0
je 0x100451a4
mov eax, dword [esp + 0xac]
mov ecx, 0x2460
test word [eax + 0x1c], cx
je 0x10045147
call fcn.1003d310
mov eax, dword [esp + 0xac]
mov edi, dword [esp + 0x94]
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx + edx*4]
add ecx, dword [esp + 0x8c]
mov esi, eax
mov eax, dword [edi + edx*4]
call fcn.10040d50
mov eax, dword [esp + 0xac]
mov cl, byte [esp + 0x28]
mov byte [eax + 0x1f], cl
jmp 0x100452a5
mov dword [ecx + eax*4], 0
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0xa4]
inc eax
cmp eax, dword [esp + 0x9c]
mov dword [esp + 0xa4], eax
jl 0x10044ff5
jmp 0x1004509c
mov eax, dword [edi + edx*4]
mov dword [esp + 0xf0], eax
mov cl, byte [ebp + 3]
test cl, 0xc0
je 0x100451d3
cmp eax, 0xc
jb 0x100451bf
test al, 1
je 0x100451c3
test cl, cl
jns 0x100451d3
cmp eax, 0xc
sbb ecx, ecx
lea edx, [esp + 0x78]
and ecx, edx
jmp 0x10045247
call fcn.10040c80
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xb0]
call fcn.1003d950
mov eax, dword [esp + 0x88]
movzx ecx, byte [eax + 0x1f]
mov edx, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x8c]
mov ebx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x98]
lea eax, [esp + 0xb8]
call fcn.1003ddd0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne case.default.0x10043693
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xf0]
mov esi, dword [esp + 0xac]
mov dword [esp + 0xa8], ecx
call fcn.10040d50
mov eax, dword [esp + 0xac]
mov cl, byte [esp + 0x28]
mov byte [eax + 0x1f], cl
jmp 0x100452a5
cmp byte [ebp + 1], 0xf8
jne 0x1004528a
mov edx, dword [ebp + 0x10]
mov ebx, dword [esp + 0xac]
push 0x800
push edx
call fcn.1003d890
add esp, 8
jmp 0x100452a5
mov eax, dword [esp + 0xac]
mov cx, word [eax + 0x1c]
mov edx, 0xbe01
and cx, dx
or cx, 1
mov word [eax + 0x1c], cx
cmp dword [esp + 0xd4], 0
je 0x100452f1
mov eax, dword [esp + 0xac]
mov ecx, 0xe7ff
and word [eax + 0x1c], cx
mov eax, dword [esp + 0xac]
mov edx, 0x200
or word [eax + 0x1c], dx
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0xac]
mov dword [eax + 0x24], edx
mov eax, dword [esp + 0xac]
call fcn.1003d0e0
mov dword [esp + 0x14], eax
jmp case.default.0x10043693
mov eax, 0x103cf
call fcn.10084190
mov dword [esp + 0x14], eax
jmp case.default.0x10043693
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x70], ecx
mov ebp, dword [ebp + 4]
mov al, byte [ecx]
lea edx, [ebp + ebp*4]
lea edi, [ebx + edx*8]
mov byte [esp + 0x74], al
test al, al
je 0x1004536d
inc ecx
mov dword [esp + 0x70], ecx
mov ecx, 0x4000
test word [edi + 0x1c], cx
je 0x1004534f
mov eax, edi
call fcn.1003d140
mov al, byte [esp + 0x74]
mov edx, dword [esp + 0x28]
push edx
call fcn.10043470
mov ecx, dword [esp + 0x74]
mov al, byte [ecx]
add esp, 4
add edi, 0x28
mov byte [esp + 0x74], al
test al, al
jne 0x10045334
inc ecx
mov dword [esp + 0x70], ecx
jmp case.default.0x10043693
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0xa4], eax
mov ecx, dword [ebp + 0x10]
lea edx, [eax + eax*4]
lea esi, [ebx + edx*8]
mov dword [esp + 0xa8], ecx
movzx ecx, byte [edi + 0x61]
mov dword [esp + 0x9c], esi
mov eax, dword [ebp + 8]
mov dword [esp + 0xa4], eax
lea eax, [eax + eax*4]
lea eax, [esi + eax*8 - 0x28]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa0], eax
mov ebp, dword [ebp + 0xc]
lea edx, [ebp + ebp*4]
lea ecx, [ebx + edx*8]
mov edi, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x74], edi
cmp esi, eax
ja 0x100454d5
nop
cmp dword [esp + 0xa8], 0
je 0x10045431
mov edx, dword [esp + 0x28]
mov ecx, edi
sub ecx, esi
push edx
mov eax, 0x66666667
imul ecx
mov ecx, dword [esp + 0xac]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov al, byte [eax + ecx]
call fcn.10043470
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0x78]
add esp, 4
mov edx, 0x4000
test word [edi + 0x1c], dx
je 0x10045454
cmp dword [edi + 0x18], 0
jle 0x10045454
mov eax, edi
call fcn.1003d140
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0xac]
push eax
mov edx, edi
call fcn.10040b70
mov ecx, eax
add esp, 4
mov dword [esp + 0x98], ecx
call fcn.10040c80
mov ebx, eax
cdq
add dword [esp + 0x78], eax
push 0
push ecx
adc dword [esp + 0x84], edx
mov dword [esp + 0xbc], ebx
call fcn.10026bd0
add dword [esp + 0x88], eax
mov ecx, 0x4000
add esp, 8
test word [edi + 0x1c], cx
je 0x100454b2
mov edx, dword [edi + 0x10]
add dword [esp + 0x90], edx
jmp 0x100454c1
test ebx, ebx
je 0x100454c1
mov dword [esp + 0x90], 0
add edi, 0x28
mov dword [esp + 0x74], edi
cmp edi, dword [esp + 0xa0]
jbe 0x100453f0
mov esi, dword [esp + 0x80]
mov eax, esi
cdq
push edx
push eax
call fcn.10026bd0
mov edi, eax
add esi, edi
mov eax, esi
cdq
push edx
push eax
mov dword [esp + 0xa4], edi
mov dword [esp + 0x90], esi
call fcn.10026bd0
add esp, 0x10
cmp edi, eax
jge 0x10045511
inc esi
mov dword [esp + 0x80], esi
mov eax, dword [esp + 0x90]
cdq
mov edi, eax
mov eax, esi
mov ebx, edx
cdq
mov esi, eax
mov eax, dword [esp + 0x18]
sub esi, edi
mov ecx, edx
sbb ecx, ebx
add esi, dword [esp + 0x78]
adc ecx, dword [esp + 0x7c]
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ecx
mov eax, dword [eax + 0x50]
cdq
cmp ecx, edx
jg 0x1004428c
jl 0x10045558
cmp esi, eax
ja 0x1004428c
mov edi, dword [esp + 0x20]
push 0
mov eax, esi
call fcn.1003cfd0
add esp, 4
test eax, eax
jne 0x10044d72
mov eax, dword [esp + 0x80]
mov ecx, dword [edi + 4]
mov dword [esp + 0x70], ecx
cmp eax, 0x80
jae 0x10045590
mov dl, al
mov byte [ecx], dl
mov eax, 1
jmp 0x10045595
call fcn.100269a0
mov ecx, dword [esp + 0x9c]
movzx esi, al
mov eax, dword [esp + 0xa0]
mov edx, ecx
mov dword [esp + 0xb0], esi
mov dword [esp + 0x74], edx
cmp ecx, eax
ja 0x10045629
jmp 0x100455c0
mov eax, dword [esp + 0xac]
push eax
call fcn.10040b70
add esp, 4
mov dword [esp + 0x98], eax
cmp eax, 0x80
jae 0x100455ee
mov edx, dword [esp + 0x70]
mov cl, al
mov byte [esi + edx], cl
mov eax, 1
jmp 0x100455f9
mov ecx, dword [esp + 0x70]
add ecx, esi
call fcn.100269a0
mov esi, dword [esp + 0xb0]
movzx edx, al
mov eax, dword [esp + 0xa0]
add esi, edx
mov edx, dword [esp + 0x74]
add edx, 0x28
mov dword [esp + 0xb0], esi
mov dword [esp + 0x74], edx
cmp edx, eax
jbe 0x100455c0
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x74], ecx
cmp ecx, eax
ja 0x10045675
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x70]
sub eax, esi
push eax
mov eax, dword [esp + 0xb0]
lea ebx, [esi + edx]
call fcn.10040ca0
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0xb4]
add ecx, 0x28
add esi, eax
add esp, 4
mov dword [esp + 0xb0], esi
mov dword [esp + 0x74], ecx
cmp ecx, dword [esp + 0xa0]
jbe 0x10045631
mov eax, dword [esp + 0x88]
mov ecx, 0x410
mov dword [edi + 0x18], eax
mov word [edi + 0x1c], cx
mov dword [edi + 0x20], 0
mov eax, dword [esp + 0x90]
test eax, eax
je 0x100456a6
mov edx, 0x4410
mov dword [edi + 0x10], eax
mov word [edi + 0x1c], dx
mov byte [edi + 0x1f], 1
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
mov ecx, dword [edi + 0x44]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx]
xor ecx, ecx
mov dword [esp + 0x78], eax
cmp eax, ecx
je 0x100456e8
lea ecx, [esp + 0x70]
push ecx
call fcn.1003aa10
mov edx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x78]
add esp, 4
mov dword [esi + 0x14], eax
jmp case.default.0x10043693
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], ecx
mov edx, ecx
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x74]
mov dword [esi + 0x14], eax
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
mov dword [esp + 0x70], eax
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x74], esi
test eax, eax
jne 0x10045800
cmp dword [ecx + 0x88], eax
jle 0x10045744
push str.cannot_open_savepoint___SQL_statements_in_progress
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add edi, 0x38
call fcn.10024270
add esp, 4
mov dword [esp + 0x14], 5
jmp case.default.0x10043693
mov ecx, esi
call fcn.10025ea0
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1e4]
add ecx, dword [eax + 0x1e0]
push ecx
push 0
push eax
call fcn.10076b40
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10048a01
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x18]
add ecx, 0x19
call fcn.100240e0
mov dword [esp + 0x7c], eax
test eax, eax
je case.default.0x10043693
lea edx, [eax + 0x18]
mov dword [eax], edx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
inc eax
push eax
mov eax, dword [edx]
push ecx
push eax
call sub.MSVCR90.dll_memcpy
mov eax, esi
add esp, 0xc
cmp byte [eax + 0x36], 0
je 0x100457c4
mov byte [eax + 0x36], 0
mov byte [eax + 0x3d], 1
jmp 0x100457ca
inc dword [eax + 0x1e0]
mov ecx, dword [eax + 0x1d8]
mov edx, dword [esp + 0x7c]
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 0x7c]
mov edx, dword [eax + 0x1e8]
mov dword [eax + 0x1d8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0x1ec]
mov eax, dword [esp + 0x7c]
mov dword [eax + 0xc], edx
jmp case.default.0x10043693
xor ebp, ebp
mov dword [esp + 0x88], ebp
mov ebx, dword [ecx + 0x1d8]
mov dword [esp + 0x80], ebx
test ebx, ebx
je 0x10045846
lea ebx, [ebx]
mov ecx, dword [ebx]
push esi
push ecx
call sym.NirvanaBiz.dll_sqlite3_stricmp
add esp, 8
test eax, eax
je 0x1004586c
inc ebp
mov dword [esp + 0x88], ebp
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x80], ebx
test ebx, ebx
jne 0x10045820
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
push esi
push str.no_such_savepoint:__s
add edi, 0x38
call fcn.10024270
add esp, 8
mov dword [esp + 0x14], 1
jmp case.default.0x10043693
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x88], 0
mov eax, 1
jle 0x100458a7
cmp dword [esp + 0x70], eax
jne 0x100458a7
mov edi, dword [esp + 0x24]
push str.cannot_release_savepoint___SQL_statements_in_progress
add edi, 0x38
mov eax, esi
call fcn.10024270
add esp, 4
mov dword [esp + 0x14], 5
jmp case.default.0x10043693
cmp dword [ebx + 0x10], 0
jne 0x100458fd
cmp byte [esi + 0x3d], 0
je 0x100458fd
mov dword [esp + 0x30], eax
cmp dword [esp + 0x70], eax
jne 0x10045905
push 1
mov ecx, edi
call fcn.100403a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x1004432f
mov esi, dword [esp + 0x18]
push edi
mov byte [esi + 0x36], 1
call fcn.10040400
add esp, 4
cmp eax, 5
je 0x1004892d
mov byte [esi + 0x3d], 0
mov edx, dword [edi + 0x5c]
mov dword [esp + 0x14], edx
jmp 0x100459ed
mov dword [esp + 0x30], 0
mov ecx, dword [esi + 0x1e0]
sub ecx, ebp
sub ecx, eax
cmp dword [esp + 0x70], 2
mov dword [esp + 0x88], ecx
jne 0x10045967
xor eax, eax
mov dword [esp + 0x8c], eax
cmp dword [esi + 0x14], eax
jle 0x10045967
jmp 0x10045930
mov ecx, dword [esi + 0x10]
shl eax, 4
mov edx, dword [eax + ecx + 4]
push 4
push edx
call fcn.10036180
mov eax, dword [esp + 0x94]
inc eax
add esp, 8
mov dword [esp + 0x8c], eax
cmp eax, dword [esi + 0x14]
jl 0x10045930
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x80]
xor eax, eax
mov dword [esp + 0x8c], eax
cmp dword [esi + 0x14], eax
jle 0x100459c7
jmp 0x10045987
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x70]
push edx
mov edx, dword [esi + 0x10]
shl eax, 4
mov eax, dword [eax + edx + 4]
mov ebx, ecx
call fcn.10036480
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100489fd
mov eax, dword [esp + 0x8c]
inc eax
mov dword [esp + 0x8c], eax
cmp eax, dword [esi + 0x14]
jl 0x10045980
mov ebx, dword [esp + 0x80]
mov esi, dword [esp + 0x18]
mov edi, 2
cmp dword [esp + 0x70], edi
jne 0x100459f4
test byte [esi + 0x18], 2
je 0x100459f4
mov eax, esi
call fcn.100414b0
mov eax, esi
call fcn.10055b20
or dword [esi + 0x18], edi
mov ebx, dword [esp + 0x80]
cmp dword [esi + 0x1d8], ebx
je 0x10045a39
lea esp, [esp]
mov eax, dword [esi + 0x1d8]
mov dword [esp + 0x84], eax
mov eax, dword [eax + 0x10]
mov dword [esi + 0x1d8], eax
mov eax, dword [esp + 0x84]
mov ecx, esi
call fcn.10023eb0
dec dword [esi + 0x1e0]
mov ebx, dword [esp + 0x80]
cmp dword [esi + 0x1d8], ebx
jne 0x10045a00
cmp dword [esp + 0x70], 1
jne 0x10045a6e
mov ecx, dword [ebx + 0x10]
mov dword [esi + 0x1d8], ecx
mov eax, dword [esp + 0x80]
mov ecx, esi
call fcn.10023eb0
cmp dword [esp + 0x30], 0
jne case.default.0x10043693
mov eax, dword [esp + 0x18]
dec dword [eax + 0x1e0]
jmp 0x10045a8f
cmp dword [esp + 0x30], 0
mov edx, dword [ebx + 8]
mov dword [esi + 0x1e8], edx
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x1ec], eax
jne case.default.0x10043693
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x70]
push ecx
push edx
push eax
call fcn.10076b40
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100489fd
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
mov dword [esp + 0x70], eax
mov ebp, dword [ebp + 8]
mov dword [esp + 0x74], ebp
test eax, eax
je 0x10045aec
cmp byte [ecx + 0x36], 0
jne 0x10045aec
mov dword [esp + 0x78], 1
test ebp, ebp
jne 0x10045af4
cmp dword [ecx + 0x88], ebp
jle 0x10045af4
push str.cannot_commit_transaction___SQL_statements_in_progress
jmp 0x10045724
mov dword [esp + 0x78], 0
movzx ecx, byte [ecx + 0x36]
cmp eax, ecx
jne 0x10048945
test eax, eax
jne 0x10045b0b
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x10045b19
mov eax, str.cannot_rollback___no_transaction_is_active
test ebp, ebp
jne 0x10045b19
mov eax, str.cannot_commit___no_transaction_is_active
mov edi, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
add edi, 0x38
call fcn.10024270
add esp, 4
mov dword [esp + 0x14], 1
jmp case.default.0x10043693
mov edx, dword [ebp + 4]
mov eax, dword [ecx + 0x10]
shl edx, 4
mov ecx, dword [edx + eax + 4]
mov dword [esp + 0x70], ecx
test ecx, ecx
je case.default.0x10043693
mov edx, dword [ebp + 8]
push edx
push ecx
call fcn.100351b0
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, 5
je 0x100489c7
test eax, eax
jne 0x100489fd
cmp dword [ebp + 8], eax
je case.default.0x10043693
test byte [edi + 0x64], 0x80
je case.default.0x10043693
mov esi, dword [esp + 0x18]
cmp byte [esi + 0x36], al
je 0x10045b9e
cmp dword [esi + 0x84], 1
jle case.default.0x10043693
cmp dword [edi + 0x74], 0
jne 0x10045bbb
inc dword [esi + 0x1e4]
mov eax, dword [esi + 0x1e4]
mov ecx, dword [esi + 0x1e0]
add ecx, eax
mov dword [edi + 0x74], ecx
mov edx, dword [edi + 0x74]
dec edx
push edx
push 0
push esi
call fcn.10076b40
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10045be7
mov eax, dword [edi + 0x74]
push eax
mov eax, dword [esp + 0x74]
call fcn.10036430
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x1e8]
mov dword [edi + 0x98], ecx
mov edx, dword [esi + 0x1ec]
mov dword [edi + 0x9c], edx
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov ebp, dword [ebp + 0xc]
lea ecx, [esp + 0x70]
mov dword [esp + 0x78], ebp
push ecx
mov ecx, dword [edx + 0x10]
shl eax, 4
mov eax, dword [eax + ecx + 4]
push ebp
call fcn.1003a920
mov eax, dword [esp + 0x78]
cdq
add esp, 8
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp case.default.0x10043693
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x18]
shl edx, 4
add edx, dword [eax + 0x10]
mov dword [esp + 0x70], edx
mov eax, dword [ebp + 0xc]
lea ecx, [eax + eax*4]
lea esi, [ebx + ecx*8]
call fcn.1003d540
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x70]
mov ebx, dword [ebp + 8]
mov eax, dword [eax + 4]
push edx
call fcn.1003a990
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
add esp, 4
cmp eax, 1
jne 0x10045c95
mov ecx, dword [esp + 0x70]
mov eax, dword [esi + 0x10]
mov edx, dword [ecx + 0xc]
mov dword [edx], eax
mov eax, dword [esp + 0x18]
or dword [eax + 0x18], 2
jmp 0x10045ca7
cmp eax, 2
jne 0x10045ca7
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0xc]
mov al, byte [esi + 0x10]
mov byte [edx + 0x4c], al
cmp dword [ebp + 4], 1
jne case.default.0x10043693
mov eax, dword [esp + 0x18]
call fcn.100414b0
and dword [edi + 0x64], 0xffffffdf
jmp case.default.0x10043693
mov edx, dword [ebp + 4]
mov eax, dword [ecx + 0x10]
shl edx, 4
mov ecx, dword [edx + eax + 4]
xor eax, eax
mov dword [esp + 0x78], ecx
cmp ecx, eax
je 0x10045d01
lea edx, [esp + 0x70]
push edx
push 1
mov eax, ecx
call fcn.1003a920
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x10]
add esp, 8
shl eax, 4
mov eax, dword [eax + edx + 0xc]
mov eax, dword [eax + 4]
jmp 0x10045d05
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x74], eax
cmp ecx, dword [ebp + 8]
jne 0x10045d1b
cmp eax, dword [ebp + 0xc]
je case.default.0x10043693
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 0x38]
mov ecx, esi
call fcn.10023eb0
push esi
mov ebx, str.database_schema_has_changed
call fcn.100241f0
mov dword [edi + 0x38], eax
mov ebp, dword [ebp + 4]
mov eax, dword [esi + 0x10]
mov edx, ebp
shl edx, 4
mov ecx, dword [edx + eax + 0xc]
mov edx, dword [ecx]
add esp, 4
cmp edx, dword [esp + 0x70]
je 0x10045d60
mov edi, dword [esp + 0x18]
mov esi, ebp
call fcn.10055af0
mov edi, dword [esp + 0x24]
or dword [edi + 0x64], 0x20
mov dword [esp + 0x14], 0x11
jmp case.default.0x10043693
test byte [edi + 0x64], 0x20
je 0x10045d84
mov dword [esp + 0x14], 4
jmp case.default.0x10043693
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov esi, dword [ebp + 8]
mov dword [esp + 0x78], esi
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x7c], edx
shl edx, 4
add edx, dword [ecx + 0x10]
mov dword [esp + 0x8c], edx
mov ecx, dword [edx + 4]
mov dword [esp + 0x84], ecx
cmp byte [ebp], 0x28
jne 0x10045dd4
mov dword [esp + 0x80], 1
mov edx, dword [edx + 0xc]
mov cl, byte [edx + 0x4c]
cmp cl, byte [edi + 0x61]
jae 0x10045ddf
mov byte [edi + 0x61], cl
jmp 0x10045ddf
mov dword [esp + 0x80], 0
test byte [ebp + 3], 2
je 0x10045e04
lea eax, [esi + esi*4]
lea esi, [ebx + eax*8]
call fcn.1003d540
mov esi, dword [esi + 0x10]
cmp esi, 2
mov dword [esp + 0x78], esi
jl 0x100489db
mov eax, dword [esp + 0x70]
mov cl, byte [ebp + 1]
cmp cl, 0xfa
jne 0x10045e2c
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi]
mov dword [esp + 0x74], eax
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0xc]
mov dl, byte [ecx + 0x4d]
mov byte [eax + 4], dl
mov eax, dword [esp + 0x74]
movzx eax, word [eax + 6]
inc eax
jmp 0x10045e34
cmp cl, 0xf2
jne 0x10045e38
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x7c]
mov edx, dword [ebp + 4]
push 1
push ecx
push eax
push edx
mov ebx, edi
call fcn.100432e0
add esp, 0x10
mov dword [esp + 0x88], eax
test eax, eax
je 0x10044d72
mov bl, 1
mov byte [eax + 0x1c], bl
mov eax, dword [esp + 0x88]
mov byte [eax + 0x20], bl
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x8c]
push ecx
push edx
call fcn.100365a0
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x98]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x98]
mov dl, byte [ebp + 3]
mov ecx, dword [eax]
and dl, bl
mov byte [ecx + 0x5d], dl
mov eax, dword [esp + 0x98]
add esp, 0x10
cmp byte [ebp + 1], 0xfa
setne dl
mov byte [eax + 0x1e], dl
mov eax, dword [esp + 0x88]
cmp byte [eax + 0x1e], 0
sete cl
mov byte [eax + 0x1f], cl
jmp case.default.0x10043693
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
push 1
push 0xffffffffffffffff
push edx
push eax
mov ebx, edi
call fcn.100432e0
add esp, 0x10
mov dword [esp + 0x70], eax
test eax, eax
je 0x10044d72
mov edx, dword [esp + 0x18]
mov ebx, 1
mov byte [eax + 0x1c], bl
movzx ecx, byte [ebp + 3]
mov eax, dword [edx]
or ecx, 5
push 0x41e
push ecx
mov ecx, dword [esp + 0x78]
push 0
add ecx, 4
push eax
call fcn.10034190
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10046000
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 4]
push ebx
push edx
call fcn.100351b0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10046000
cmp dword [ebp + 0x10], eax
je 0x10045fdc
movzx eax, byte [ebp + 3]
mov edx, dword [esp + 0x70]
or eax, 2
push eax
mov eax, dword [edx + 4]
lea ecx, [esp + 0x60]
push ecx
call fcn.1003a430
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10045fd2
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x10]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push ebx
push ecx
call fcn.100365a0
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
mov dword [eax + 8], edx
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 8]
mov cl, byte [ecx + 0x4d]
add esp, 0x10
mov byte [eax + 4], cl
mov edx, dword [esp + 0x70]
mov byte [edx + 0x1e], 0
jmp 0x10046000
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ecx
push 0
push ebx
push ebx
call fcn.100365a0
mov edx, dword [esp + 0x80]
add esp, 0x10
mov dword [esp + 0x14], eax
mov byte [edx + 0x1e], bl
cmp byte [ebp + 3], 8
mov ecx, dword [esp + 0x70]
setne al
mov byte [ecx + 0x20], al
mov eax, dword [esp + 0x70]
cmp byte [eax + 0x1e], 0
sete dl
mov byte [eax + 0x1f], dl
jmp case.default.0x10043693
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
push 1
push 0xffffffffffffffff
push eax
push ecx
mov ebx, edi
call fcn.100432e0
add esp, 0x10
mov dword [esp + 0x70], eax
test eax, eax
je 0x10044d72
mov edx, dword [ebp + 0x10]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 8]
mov al, byte [eax + 0x4d]
mov byte [edx + 4], al
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x18]
mov byte [ecx + 0x21], 1
mov eax, dword [esp + 0x70]
push edx
call fcn.10049e20
add esp, 4
mov dword [esp + 0x14], eax
jmp case.default.0x10043693
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 4]
push 0
push 0xffffffffffffffff
push eax
push ecx
mov ebx, edi
call fcn.100432e0
add esp, 0x10
mov dword [esp + 0x70], eax
test eax, eax
je 0x10044d72
mov cl, 1
mov byte [eax + 0x1c], cl
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x70]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x70]
mov byte [edx + 0x1e], cl
mov eax, dword [esp + 0x70]
mov byte [eax + 0x1f], 0
mov cl, byte [ebp + 3]
mov edx, dword [esp + 0x70]
mov byte [edx + 0x22], cl
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx + eax*4]
push edi
call fcn.1003f8e0
mov edx, dword [ebp + 4]
mov eax, dword [edi + 0x44]
add esp, 4
mov dword [eax + edx*4], 0
jmp case.default.0x10043693
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 0x44]
mov ecx, dword [edx + ecx*4]
mov dword [esp + 0x78], ecx
cmp dword [ecx], 0
je 0x100436a8
movzx eax, byte [ebp]
mov dword [esp + 0x74], eax
mov byte [ecx + 0x1c], 0
mov ecx, dword [esp + 0x78]
cmp byte [ecx + 0x1e], 0
je 0x100462d3
mov eax, dword [ebp + 0xc]
lea ecx, [eax + eax*4]
lea esi, [ebx + ecx*8]
call fcn.100433a0
mov ecx, esi
call fcn.1003d420
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0xa0], eax
mov byte [edx + 0x19], 0
movzx eax, word [esi + 0x1c]
test al, 4
jne 0x1004626c
test al, 8
jne 0x1004616f
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
xor ecx, ecx
cmp dword [esp + 0xa0], ecx
jne 0x10046218
mov eax, 0x80000000
cmp dword [esp + 0xa4], eax
jne 0x10046218
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
fild qword [esp + 0x68]
fcomp qword [esi + 8]
fnstsw ax
test ah, 0x41
je 0x100461b2
fldz
fcomp qword [esi + 8]
fnstsw ax
test ah, 5
jp 0x10046218
fldz
mov dword [esp + 0x70], 1
fcomp qword [esi + 8]
fnstsw ax
test ah, 0x41
jne 0x100461de
cmp dword [esp + 0x74], 0x30
jl 0x1004620b
mov eax, dword [esp + 0x78]
mov esi, dword [eax]
lea edi, [esp + 0x70]
call fcn.10037140
jmp 0x100461f4
cmp dword [esp + 0x74], 0x2f
jg 0x1004620b
mov ecx, dword [esp + 0x78]
mov esi, dword [ecx]
lea edi, [esp + 0x70]
call fcn.10037170
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100489fd
cmp dword [esp + 0x70], 0
je case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov eax, dword [esp + 0x74]
cmp eax, 0x2e
je 0x1004624c
cmp eax, 0x30
je 0x1004624c
fild qword [esp + 0xa0]
fcomp qword [esi + 8]
fnstsw ax
test ah, 0x41
jne 0x1004626c
mov eax, 0xffffffff
add dword [esp + 0xa0], eax
adc dword [esp + 0xa4], eax
jmp 0x1004626c
fild qword [esp + 0xa0]
fcomp qword [esi + 8]
fnstsw ax
test ah, 5
jp 0x1004626c
add dword [esp + 0xa0], 1
adc dword [esp + 0xa4], ecx
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x70]
push edx
mov edx, dword [esp + 0x7c]
push 0
push eax
mov eax, dword [edx]
push ecx
push 0
push eax
call fcn.100371b0
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100489fd
cmp dword [esp + 0x70], eax
jne 0x10046352
mov ecx, dword [esp + 0x78]
mov byte [ecx + 0x19], 1
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x78]
mov dword [eax + 0x40], edx
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x78]
mov dword [edx + 0x44], ecx
jmp 0x10046352
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x98], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x80], edx
mov dl, byte [esp + 0x74]
and dl, 1
mov word [esp + 0x84], ax
mov byte [esp + 0x86], dl
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov edx, 0x4000
mov dword [esp + 0x90], eax
test word [eax + 0x1c], dx
je 0x10046321
call fcn.1003d140
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x70]
push eax
mov eax, dword [ecx]
push 0
push 0
push 0
lea edx, [esp + 0x90]
push edx
push eax
call fcn.100371b0
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100489fd
mov ecx, dword [esp + 0x78]
mov byte [ecx + 0x19], al
mov edx, dword [esp + 0x78]
mov byte [edx + 0x1d], 0
mov eax, dword [esp + 0x78]
xor esi, esi
mov dword [eax + 0x50], esi
mov ecx, dword [esp + 0x74]
cmp ecx, 0x30
mov eax, dword [esp + 0x70]
jl 0x100463b1
cmp eax, esi
jl 0x10046384
jne 0x1004637b
cmp ecx, 0x31
je 0x10046384
mov dword [esp + 0x70], esi
jmp case.default.0x10043693
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
lea ecx, [esp + 0x70]
push ecx
push eax
call fcn.10037560
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, esi
jne 0x100489fd
mov ecx, dword [esp + 0x78]
mov byte [ecx + 0x19], 0
jmp 0x10046200
cmp eax, esi
jg 0x100463d4
jne 0x100463bc
cmp ecx, 0x2e
je 0x100463d4
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
xor ecx, ecx
cmp byte [eax + 0x5b], 1
setne cl
mov dword [esp + 0x70], ecx
jmp 0x10046200
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
lea edx, [esp + 0x70]
push edx
push ecx
call fcn.100376c0
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, esi
jne 0x100489fd
mov edx, dword [esp + 0x78]
mov byte [edx + 0x19], 0
jmp 0x10046200
mov eax, dword [ebp + 4]
mov ecx, dword [edi + 0x44]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x70], ecx
cmp dword [ecx], 0
je case.default.0x10043693
mov byte [ecx + 0x1c], 0
mov ebp, dword [ebp + 8]
lea edx, [ebp + ebp*4]
lea ecx, [ebx + edx*8]
call fcn.1003d420
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x70]
mov dword [eax + 0x3c], edx
mov ecx, dword [esp + 0x70]
mov byte [ecx + 0x19], 0
mov edx, dword [esp + 0x70]
mov byte [edx + 0x1d], 1
jmp case.default.0x10043693
mov edx, dword [edi + 0x44]
xor eax, eax
mov dword [esp + 0x70], eax
mov ecx, dword [ebp + 4]
mov ecx, dword [edx + ecx*4]
mov dword [esp + 0x74], ecx
mov edx, dword [ebp + 0xc]
lea edx, [edx + edx*4]
lea esi, [ebx + edx*8]
cmp dword [ecx], eax
je 0x1004655f
cmp dword [ebp + 0x10], eax
jle 0x100464ab
mov eax, dword [ecx + 8]
mov dword [esp + 0x88], eax
mov dx, word [ebp + 0x10]
lea eax, [esp + 0x88]
mov word [esp + 0x8c], dx
mov dword [esp + 0x98], esi
mov byte [esp + 0x8e], 2
mov dword [esp + 0x80], eax
jmp 0x10046500
mov edi, dword [ecx + 8]
push 0x97
lea ebx, [esp + 0x80]
lea edx, [esp + 0xa4]
call fcn.10040f70
add esp, 4
mov dword [esp + 0x80], eax
test eax, eax
je 0x10044d72
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x18]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [eax + 8]
push edx
push ecx
call fcn.10040fc0
mov eax, dword [esp + 0x90]
add esp, 0x10
or byte [eax + 6], 2
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x80]
mov ecx, dword [ecx]
lea edx, [esp + 0x78]
push edx
push 0
push 0
push 0
push eax
push ecx
call fcn.100371b0
add esp, 0x18
cmp dword [ebp + 0x10], 0
mov esi, eax
mov dword [esp + 0x14], esi
jne 0x10046537
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x18]
call fcn.10023eb0
test esi, esi
jne case.default.0x10043693
mov eax, dword [esp + 0x74]
xor edx, edx
cmp dword [esp + 0x78], edx
sete dl
mov dword [esp + 0x70], edx
mov byte [eax + 0x1d], 0
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x50], esi
mov eax, dword [esp + 0x70]
cmp byte [ebp], 0x34
jne 0x1004656c
test eax, eax
jmp 0x10046205
test eax, eax
jne case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp + 0x10]
lea eax, [ecx + ecx*4]
lea ecx, [ebx + eax*8]
mov eax, dword [edi + 0x44]
mov dword [esp + 0x80], ecx
lea esi, [ebx + edx*8]
mov edx, dword [ebp + 4]
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x74], ecx
xor eax, eax
mov dword [ecx + 0x4c], eax
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x50], eax
mov edi, dword [esp + 0x74]
mov edx, dword [edi]
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x78], edx
mov eax, dword [edi + 8]
mov dx, word [eax + 6]
xor ecx, ecx
xor eax, eax
mov word [esp + 0x7c], dx
mov word [esp + 0x70], cx
cmp ax, dx
jae 0x100465fd
mov edi, edi
movzx eax, cx
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 0x1c], 1
jne 0x100466b5
inc cx
mov word [esp + 0x70], cx
cmp cx, dx
jb 0x100465e0
cmp dword [esp + 0x78], 0
je case.default.0x10043693
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x7c]
inc edx
mov dword [esp + 0x88], ecx
mov word [esp + 0x8c], dx
mov byte [esp + 0x8e], 4
mov dword [esp + 0x98], ebx
call fcn.1003d540
mov edx, dword [esp + 0x74]
mov eax, dword [esi + 0x10]
add edx, 0x4c
push edx
push 0
mov dword [esp + 0xa8], eax
mov ecx, dword [esi + 0x14]
push 0
push 0
lea eax, [esp + 0x98]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x88]
push eax
push ecx
call fcn.100371b0
add esp, 0x18
test byte [esp + 0x8e], 4
mov dword [esp + 0x14], eax
jne 0x100436a8
mov eax, dword [esp + 0x90]
cmp eax, dword [esp + 0xa0]
jne 0x100466a3
mov edx, dword [esp + 0x94]
cmp edx, dword [esp + 0xa4]
je 0x100436a8
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x94]
mov dword [esi + 0x14], eax
jmp case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x78], 0
jmp case.default.0x10043693
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 4]
mov eax, dword [edi + 0x44]
mov edx, dword [eax + edx*4]
lea ecx, [ecx + ecx*4]
lea ebx, [ebx + ecx*8]
mov dword [esp + 0x70], edx
mov ecx, dword [edx]
mov dword [esp + 0x74], ecx
test ecx, ecx
je 0x1004677c
xor esi, esi
mov dword [esp + 0x78], esi
mov eax, dword [ebx + 0x10]
lea edi, [esp + 0x78]
push edi
push esi
mov dword [esp + 0x88], eax
mov edx, dword [ebx + 0x14]
push edx
push eax
push esi
push ecx
mov dword [esp + 0x9c], edx
call fcn.100371b0
mov edx, dword [esp + 0x88]
mov ecx, dword [ebx + 0x10]
mov dword [edx + 0x40], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x88]
add esp, 0x18
cmp dword [esp + 0x78], esi
sete dl
mov byte [eax + 0x19], dl
mov ecx, dword [esp + 0x70]
mov byte [ecx + 0x1c], 0
mov edx, dword [esp + 0x70]
mov dword [edx + 0x50], esi
mov eax, dword [esp + 0x70]
mov byte [eax + 0x1d], 0
mov eax, dword [esp + 0x78]
cmp eax, esi
je 0x10046770
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x4c], eax
jmp case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
mov dword [edx + 0x4c], 0
jmp case.default.0x10043693
mov edx, dword [ebp + 4]
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + edx*4]
mov edx, dword [ecx + 0x30]
mov dword [esi + 0x10], edx
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x14], eax
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 0x44]
mov ecx, dword [edx + ecx*4]
add dword [ecx + 0x30], 1
adc dword [ecx + 0x34], 0
jmp case.default.0x10043693
mov ecx, dword [edi + 0x44]
xor edx, edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x7c], edx
mov eax, dword [ebp + 4]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x78], eax
mov ecx, dword [eax]
cmp ecx, edx
je 0x10046a85
cmp byte [eax + 0x1b], dl
jne 0x1004696f
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x70], edx
mov ecx, dword [ecx + 0x24]
mov esi, edx
or esi, ecx
mov dword [esp + 0x74], ecx
jne 0x10046877
mov esi, dword [eax]
lea edi, [esp + 0x7c]
call fcn.10037170
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100489fd
cmp dword [esp + 0x7c], eax
je 0x10046825
lea edx, [eax + 1]
xor ecx, ecx
jmp 0x10046867
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
lea edi, [esp + 0x70]
call fcn.10036760
mov ecx, dword [esp + 0x74]
cmp ecx, 0x7fffffff
mov edx, dword [esp + 0x70]
mov dword [esp + 0x14], eax
jl 0x10046861
jg 0x1004684f
cmp edx, 0xffffffff
jb 0x10046861
mov eax, dword [esp + 0x78]
mov byte [eax + 0x1b], 1
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
jmp 0x1004686f
add edx, 1
adc ecx, 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], edx
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10046933
mov edx, dword [edi + 0xa8]
test edx, edx
je 0x100468bf
mov dword [esp + 0x88], edx
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x100468b0
lea ebx, [ebx]
mov edx, ecx
mov dword [esp + 0x88], edx
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x100468a0
mov ebp, dword [ebp + 0xc]
mov edx, dword [edx + 0xc]
lea ecx, [ebp + ebp*4]
lea esi, [edx + ecx*8]
jmp 0x100468c5
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
mov dword [esp + 0x84], esi
call fcn.1003d540
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
add edx, 0x10
cmp eax, 0xffffffff
jne 0x100468f2
cmp ecx, 0x7fffffff
je 0x100489eb
mov esi, dword [esp + 0x78]
cmp byte [esi + 0x1b], 0
jne 0x100489eb
mov esi, dword [esp + 0x74]
add eax, 1
adc ecx, 0
cmp esi, ecx
jg 0x1004691e
jl 0x10046916
cmp dword [esp + 0x70], eax
jae 0x1004691e
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x70]
mov dword [edx], ecx
mov eax, dword [esp + 0x74]
mov dword [edx + 4], eax
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
cmp ecx, 0x7fffffff
jg 0x1004694a
jl 0x10046942
cmp edx, 0xffffffff
jae 0x1004694a
add edx, 1
adc ecx, 0
jmp 0x1004694e
xor edx, edx
xor ecx, ecx
push ecx
mov ecx, dword [esp + 0x7c]
mov esi, dword [ecx]
push edx
call fcn.100365f0
mov eax, dword [esp + 0x80]
add esp, 8
cmp byte [eax + 0x1b], 0
je 0x10046a6a
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
and eax, 0x3fffffff
add ecx, 1
lea edx, [esp + 0x7c]
push edx
adc eax, 0
push 0
push eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x84]
push ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x90], 0
mov ecx, dword [eax]
push 0
push ecx
call fcn.100371b0
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10046a66
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jne 0x10046a57
mov eax, dword [esp + 0x80]
inc eax
cmp eax, 0x64
mov dword [esp + 0x80], eax
jge 0x10046a57
lea edx, [esp + 0x70]
push edx
push 8
call sym.NirvanaBiz.dll_sqlite3_randomness
mov eax, dword [esp + 0x78]
add esp, 8
cmp dword [esp + 0x80], 5
jge 0x10046a0e
and eax, 0xffffff
xor ecx, ecx
jmp 0x10046a18
mov ecx, dword [esp + 0x74]
and ecx, 0x3fffffff
add eax, 1
lea edx, [esp + 0x7c]
push edx
adc ecx, 0
push 0
push ecx
push eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x84], ecx
mov ecx, dword [eax]
push 0
push ecx
call fcn.100371b0
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
je 0x100469c4
jmp 0x10046a66
cmp dword [esp + 0x14], 0
jne 0x10046a66
test ecx, ecx
je 0x100489f5
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x20]
mov byte [eax + 0x19], 0
mov edx, dword [esp + 0x78]
mov byte [edx + 0x1d], 0
mov eax, dword [esp + 0x78]
mov dword [eax + 0x50], 0
mov ecx, dword [esp + 0x70]
mov dword [esi + 0x10], ecx
mov edx, dword [esp + 0x74]
mov dword [esi + 0x14], edx
jmp case.default.0x10043693
mov edx, dword [ebp + 8]
lea eax, [edx + edx*4]
lea esi, [ebx + eax*8]
mov eax, dword [edi + 0x44]
mov dword [esp + 0x70], esi
mov edx, dword [ebp + 4]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x80], edx
cmp byte [ebp], 0x39
jne 0x10046ad4
mov edx, dword [ebp + 0xc]
lea eax, [edx + edx*4]
lea edx, [ebx + eax*8]
mov dword [esp + 0x74], edx
mov ebx, dword [edx + 0x10]
mov dword [esp + 0x78], ebx
mov edx, dword [edx + 0x14]
jmp 0x10046ade
mov eax, dword [ebp + 0xc]
cdq
mov ebx, eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edx
test byte [ebp + 3], 1
je 0x10046aeb
inc dword [edi + 0x68]
test byte [ebp + 3], 2
je 0x10046b07
mov dword [ecx + 0x20], ebx
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x7c]
mov dword [ecx + 0x24], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 0x38], ebx
xor eax, eax
test byte [esi + 0x1c], 1
je 0x10046b1d
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x18], eax
mov esi, dword [esp + 0x70]
test byte [ebp + 3], 0x10
je 0x10046b36
mov edx, dword [esp + 0x80]
mov ecx, dword [edx + 0x4c]
mov dword [esp + 0x88], ecx
jmp 0x10046b3d
mov dword [esp + 0x88], eax
mov edx, 0x4000
test word [esi + 0x1c], dx
je 0x10046b4b
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x84], eax
mov esi, dword [ecx]
push 0
push 0
call fcn.100365f0
movzx eax, byte [ebp + 3]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
push edx
and eax, 8
push eax
mov eax, dword [esp + 0x80]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x9c]
mov esi, dword [eax]
push ecx
push edx
push 0
call fcn.10039cf0
mov ecx, dword [esp + 0xa8]
mov byte [ecx + 0x19], 0
mov edx, dword [esp + 0xa8]
mov byte [edx + 0x1d], 0
mov ecx, dword [esp + 0xa8]
add esp, 0x28
mov dword [esp + 0x14], eax
mov dword [ecx + 0x50], 0
test eax, eax
jne case.default.0x10043693
mov edx, dword [esp + 0x18]
cmp dword [edx + 0xbc], eax
je case.default.0x10043693
cmp dword [ebp + 0x10], eax
je case.default.0x10043693
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0xc]
mov edi, dword [esp + 0x7c]
mov esi, edx
mov edx, dword [esi + 0x10]
shl ecx, 4
mov ecx, dword [ecx + edx]
mov dword [esp + 0x8c], ecx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x90], edx
mov al, byte [ebp + 3]
and al, 4
movzx eax, al
push edi
mov edi, dword [esp + 0x7c]
neg eax
sbb eax, eax
push edi
push edx
and eax, 5
add eax, 0x12
push ecx
mov dword [esp + 0xa4], eax
mov ecx, dword [esi + 0xb8]
mov edx, dword [esi + 0xbc]
push eax
push ecx
call edx
add esp, 0x18
jmp case.default.0x10043693
mov esi, dword [edi + 0x44]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov edx, dword [ebp + 4]
mov esi, dword [esi + edx*4]
mov dword [esp + 0x78], esi
cmp dword [ecx + 0xbc], eax
je 0x10046c8c
cmp dword [ebp + 0x10], eax
je 0x10046c8c
mov eax, dword [esi + 0x40]
mov dword [esp + 0x70], eax
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x74], ecx
call fcn.10040ac0
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100489fd
mov edx, dword [esp + 0x78]
mov esi, dword [edx]
push eax
push eax
call fcn.100365f0
mov eax, dword [esp + 0x80]
mov esi, dword [eax]
add esp, 8
call fcn.10039f10
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov dword [ecx + 0x50], 0
test eax, eax
jne 0x10046d10
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xbc]
test ecx, ecx
je 0x10046d10
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10046d10
mov esi, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x74]
push esi
mov esi, dword [edx + 0x10]
mov edx, dword [edx + 0xb8]
push eax
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 0xc]
shl eax, 4
mov eax, dword [eax + esi]
push eax
push 9
push edx
call ecx
add esp, 0x18
test byte [ebp + 8], 1
je case.default.0x10043693
inc dword [edi + 0x68]
jmp case.default.0x10043693
mov edx, dword [edi + 0x68]
add dword [ecx + 0x4c], edx
mov dword [ecx + 0x48], edx
mov dword [edi + 0x68], 0
jmp case.default.0x10043693
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x44]
mov eax, dword [ebp + 4]
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x70], eax
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
lea edi, [edx + ecx*8]
lea ebx, [esp + 0x74]
call fcn.1004aa30
cmp dword [esp + 0x74], 0
mov dword [esp + 0x14], eax
je case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 4]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov eax, dword [edi + 0x44]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x70], eax
call fcn.1004a9c0
mov dword [esp + 0x14], eax
jmp case.default.0x10043693
mov eax, dword [ebp + 8]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 4]
lea edx, [ebx + ecx*8]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx + eax*4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x70], esi
mov edx, dword [esi]
mov dword [esp + 0x74], edx
call fcn.10040ac0
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100489fd
mov eax, dword [esp + 0x70]
cmp byte [eax + 0x1f], 0
je 0x10046e1d
mov eax, dword [esp + 0x74]
lea edi, [esp + 0x80]
call fcn.10036760
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x50]
mov ecx, dword [esp + 0x84]
cdq
cmp ecx, edx
jg 0x1004428c
mov ecx, dword [esp + 0x80]
jl 0x10046e15
cmp ecx, eax
ja 0x1004428c
mov eax, ecx
mov dword [esp + 0x78], eax
jmp 0x10046e3f
mov esi, dword [esp + 0x74]
lea edx, [esp + 0x78]
push edx
call fcn.10036790
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp eax, dword [ecx + 0x50]
ja 0x1004428c
mov edi, dword [esp + 0x20]
push 0
call fcn.1003cfd0
add esp, 4
test eax, eax
jne 0x10044d72
mov edx, dword [esp + 0x78]
mov esi, edi
mov ax, word [esi + 0x1c]
mov ecx, 0xbe10
and ax, cx
or ax, 0x10
mov dword [esi + 0x18], edx
mov word [esi + 0x1c], ax
mov edx, dword [esp + 0x70]
cmp byte [edx + 0x1f], 0
mov ecx, dword [esp + 0x74]
je 0x10046ea6
mov eax, dword [esi + 4]
push 0
push eax
mov eax, dword [esp + 0x80]
push eax
push 0
push ecx
call fcn.10036970
add esp, 0x14
mov dword [esp + 0x14], eax
mov byte [esi + 0x1f], 1
jmp case.default.0x10043693
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x78]
push edx
push eax
push 0
push ecx
call fcn.10036cd0
add esp, 0x10
mov dword [esp + 0x14], eax
mov byte [esi + 0x1f], 1
jmp case.default.0x10043693
mov edx, dword [ebp + 4]
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x70], ecx
cmp byte [ecx + 0x1c], 0
je 0x10046ee8
mov ecx, 1
mov word [esi + 0x1c], cx
jmp case.default.0x10043693
cmp byte [ecx + 0x1d], 0
je 0x10046f01
mov edx, dword [ecx + 0x38]
mov dword [esp + 0x78], edx
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x7c], eax
jmp 0x10046f7d
cmp dword [ecx + 0x24], 0
je 0x10046f41
mov edx, dword [ecx + 0x24]
mov eax, dword [edx]
mov dword [esp + 0x80], eax
mov eax, dword [eax]
mov dword [esp + 0x84], eax
mov ecx, dword [ecx + 0x24]
lea edx, [esp + 0x78]
push edx
mov edx, dword [eax + 0x30]
push ecx
call edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x88]
push eax
push edi
call fcn.100434c0
add esp, 0x10
jmp 0x10046f7d
mov esi, ecx
call fcn.10040ac0
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100489fd
mov eax, dword [esp + 0x70]
cmp byte [eax + 0x19], 0
je 0x10046f6e
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x78], ecx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x7c], edx
jmp 0x10046f7d
mov eax, dword [eax]
lea edi, [esp + 0x78]
call fcn.10036760
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x20]
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x14], edx
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
mov ecx, dword [edi + 0x44]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x70], ecx
mov byte [ecx + 0x1c], 1
mov edx, dword [esp + 0x70]
mov byte [edx + 0x19], 0
mov eax, dword [esp + 0x70]
mov esi, dword [eax]
test esi, esi
je case.default.0x10043693
call fcn.10032fc0
jmp case.default.0x10043693
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 0x44]
mov ecx, dword [edx + ecx*4]
mov dword [esp + 0x70], ecx
mov esi, dword [ecx]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], 0
test esi, esi
je 0x10046ff5
lea edi, [esp + 0x78]
call fcn.10037170
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x78]
mov byte [ecx + 0x1c], al
mov ecx, dword [esp + 0x70]
mov byte [ecx + 0x1d], 0
mov edx, dword [esp + 0x70]
mov byte [edx + 0x19], 0
mov eax, dword [esp + 0x70]
mov dword [eax + 0x50], 0
mov ebp, dword [ebp + 8]
test ebp, ebp
jle case.default.0x10043693
cmp dword [esp + 0x78], 0
je case.default.0x10043693
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
inc dword [edi + 0x7c]
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 0x44]
mov ecx, dword [edx + ecx*4]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], 1
cmp dword [ecx + 0x48], 0
je 0x1004706c
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x78]
push eax
call fcn.1004a600
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x100470ab
mov ecx, dword [ecx]
lea edi, [esp + 0x78]
mov esi, ecx
mov dword [esp + 0x74], ecx
call fcn.10037140
cmp dword [esp + 0x78], 0
mov edx, dword [esp + 0x70]
sete cl
mov byte [edx + 0x1a], cl
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov byte [eax + 0x1d], 0
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x50], 0
mov edx, dword [esp + 0x70]
mov byte [edx + 0x19], 0
mov al, byte [esp + 0x78]
mov ecx, dword [esp + 0x70]
mov byte [ecx + 0x1c], al
cmp dword [esp + 0x78], 0
je case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov edx, dword [ecx + 0xe0]
test edx, edx
jne 0x10048a6e
mov eax, dword [ebp + 4]
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x70], eax
test eax, eax
je case.default.0x10043693
cmp dword [eax + 0x48], edx
je 0x10047107
lea edx, [esp + 0x74]
push edx
push eax
mov eax, dword [esp + 0x20]
call fcn.1004a900
jmp 0x1004711c
mov dword [esp + 0x74], 1
mov edx, dword [eax]
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x74]
push ecx
push edx
call eax
mov ecx, dword [esp + 0x78]
mov dl, byte [esp + 0x7c]
mov byte [ecx + 0x1c], dl
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
add esp, 8
mov dword [eax + 0x50], 0
cmp dword [esp + 0x74], 0
jne 0x1004715a
mov eax, dword [ebp + 8]
dec eax
mov dword [esp + 0x1c], eax
mov al, byte [ebp + 3]
test al, al
je 0x1004715a
movzx ecx, al
inc dword [edi + ecx*4 + 0x74]
lea edi, [edi + ecx*4 + 0x74]
mov edx, dword [esp + 0x70]
mov byte [edx + 0x19], 0
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
mov ecx, dword [edi + 0x44]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x70], edx
mov ecx, dword [ebp + 8]
mov esi, dword [edx]
lea eax, [ecx + ecx*4]
lea ebx, [ebx + eax*8]
mov dword [esp + 0x74], esi
test esi, esi
je case.default.0x10043693
mov ecx, 0x4000
test word [ebx + 0x1c], cx
je 0x100471b1
mov eax, ebx
call fcn.1003d140
mov dword [esp + 0x14], eax
test eax, eax
jne case.default.0x10043693
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
cmp dword [edx + 0x48], 0
je 0x100471cf
push ebx
push edx
mov edx, dword [esp + 0x20]
push edx
call fcn.1004a4b0
add esp, 0xc
mov dword [esp + 0x14], eax
jmp case.default.0x10043693
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x78], eax
mov ebx, dword [ebx + 4]
mov dword [esp + 0x7c], ebx
test byte [ebp + 3], 0x10
je 0x100471e8
mov edx, dword [edx + 0x4c]
jmp 0x100471ea
xor edx, edx
mov ecx, dword [ebp + 0xc]
push edx
push ecx
push 0
push 0
cdq
push 0x10138e32
push edx
push eax
push ebx
call fcn.10039cf0
mov edx, dword [esp + 0x90]
add esp, 0x20
mov dword [esp + 0x14], eax
mov dword [edx + 0x50], 0
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
mov ecx, dword [edi + 0x44]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x70], ecx
mov edx, dword [ecx]
mov dword [esp + 0x74], edx
test edx, edx
je case.default.0x10043693
mov eax, dword [ecx + 8]
mov dword [esp + 0x80], eax
mov cx, word [ebp + 0xc]
mov word [esp + 0x84], cx
mov byte [esp + 0x86], 0
mov ebp, dword [ebp + 8]
lea eax, [ebp + ebp*4]
lea ecx, [ebx + eax*8]
lea eax, [esp + 0x78]
push eax
push 0
push 0
mov dword [esp + 0x9c], ecx
push 0
lea ecx, [esp + 0x90]
push ecx
push edx
call fcn.100371b0
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1004729c
cmp dword [esp + 0x78], eax
jne 0x1004729c
mov esi, dword [esp + 0x74]
call fcn.10039f10
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x70]
mov dword [edx + 0x50], 0
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
mov ecx, dword [edi + 0x44]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x74], ecx
mov edx, dword [ecx]
mov dword [esp + 0x70], edx
mov eax, 1
mov word [esi + 0x1c], ax
cmp dword [esp + 0x70], 0
je case.default.0x10043693
mov esi, dword [esp + 0x74]
call fcn.10040ac0
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10048a01
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0x1c], al
jne case.default.0x10043693
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x78]
push edx
call fcn.10041260
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10048a01
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x20]
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x7c]
mov ecx, 4
mov dword [eax + 0x14], edx
mov word [eax + 0x1c], cx
jmp case.default.0x10043693
mov edx, dword [ebp + 4]
mov eax, dword [edi + 0x44]
mov edi, dword [eax + edx*4]
mov dword [esp + 0x70], edi
cmp dword [edi], 0
je case.default.0x10043693
mov ecx, dword [edi + 8]
mov dword [esp + 0x78], ecx
mov dx, word [ebp + 0x10]
mov word [esp + 0x7c], dx
cmp byte [ebp + 3], 0
mov edx, dword [esp + 0x2c]
setne al
add al, 2
mov byte [esp + 0x7e], al
mov eax, dword [ebp + 0xc]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x90], eax
call fcn.100413d0
add esp, 8
cmp byte [ebp], 0x64
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
jne 0x1004739d
neg eax
jmp 0x1004739e
inc eax
mov dword [esp + 0x74], eax
test eax, eax
jle case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov dword [esp + 0x74], 0
mov ecx, dword [ecx + 4]
mov dword [esp + 0x78], ecx
test ecx, ecx
je 0x100473f5
mov eax, 0xbdf20da3
nop
cmp dword [ecx + 0x34], eax
jne 0x100473ea
mov edx, dword [ecx + 0x64]
and dl, 0xc
cmp dl, 8
jae 0x100473ea
cmp dword [ecx + 0x58], 0
jl 0x100473ea
inc dword [esp + 0x74]
mov ecx, dword [ecx + 0x40]
mov dword [esp + 0x78], ecx
test ecx, ecx
jne 0x100473d0
mov eax, 1
mov word [esi + 0x1c], ax
cmp dword [esp + 0x74], eax
jle 0x10047415
mov dword [esp + 0x14], 6
mov byte [edi + 0x60], 2
jmp case.default.0x10043693
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x7c], eax
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [ecx + 0x10]
shl eax, 4
mov eax, dword [eax + edx + 4]
call fcn.1003a8d0
mov ecx, eax
mov eax, 4
mov word [esi + 0x1c], ax
mov eax, dword [esp + 0x78]
cdq
add esp, 8
mov dword [esp + 0x14], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
test ecx, ecx
jne case.default.0x10043693
mov esi, dword [esp + 0x70]
test esi, esi
je case.default.0x10043693
mov edi, dword [ebp + 4]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x18]
call fcn.10057a10
mov al, byte [esp + 0x7c]
inc al
mov byte [esp + 0x37], al
jmp case.default.0x10043693
mov dword [esp + 0x70], 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x70]
and ecx, edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [edx + 0x10]
shl ecx, 4
mov ecx, dword [ecx + eax + 4]
push ecx
call fcn.1003a620
add esp, 0xc
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x14], eax
je case.default.0x10043693
mov eax, dword [esp + 0x70]
add dword [edi + 0x68], eax
mov ebp, dword [ebp + 0xc]
test ebp, ebp
jle case.default.0x10043693
lea edx, [ebp + ebp*4]
lea ecx, [ebx + edx*8 + 0x10]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
jmp case.default.0x10043693
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], 0
mov eax, dword [ebp + 4]
shl eax, 4
add eax, dword [ecx + 0x10]
xor ecx, ecx
mov dword [esp + 0x78], eax
cmp byte [ebp], 0x69
lea edx, [esp + 0x70]
setne cl
inc ecx
push ecx
mov dword [esp + 0x78], ecx
mov eax, dword [eax + 4]
push edx
call fcn.1003a430
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
cdq
add esp, 8
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
mov dword [esp + 0x70], eax
mov ecx, str.sqlite_temp_master
cmp eax, 1
je 0x10047551
mov ecx, str.sqlite_master
mov esi, dword [esp + 0x18]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], esi
mov edx, dword [ebp + 4]
mov dword [esp + 0x84], edx
add edi, 0x38
mov dword [esp + 0x80], edi
mov edx, dword [ebp + 0x10]
push edx
push ecx
mov ecx, dword [esi + 0x10]
shl eax, 4
mov edx, dword [eax + ecx]
push edx
push str.SELECT_name__rootpage__sql_FROM__q._s_WHERE__s_ORDER_BY_rowid
call fcn.10025410
add esp, 0x10
mov dword [esp + 0x78], eax
test eax, eax
jne 0x1004759f
mov dword [esp + 0x14], 7
jmp 0x100475fe
push 0
lea eax, [esp + 0x80]
push eax
mov byte [esi + 0x81], 1
mov ecx, dword [esp + 0x80]
push fcn.10068700
push ecx
push esi
mov dword [esp + 0x9c], 0
call sym.NirvanaBiz.dll_sqlite3_exec
mov edi, eax
add esp, 0x14
mov dword [esp + 0x14], edi
test edi, edi
jne 0x100475e8
mov edx, dword [esp + 0x88]
mov dword [esp + 0x14], edx
mov edi, edx
mov eax, dword [esp + 0x78]
mov ecx, esi
call fcn.10023eb0
mov byte [esi + 0x81], 0
test edi, edi
je 0x10047605
mov eax, esi
call fcn.10055b20
cmp dword [esp + 0x14], 7
je 0x10044d72
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
call fcn.100542e0
mov dword [esp + 0x14], eax
jmp case.default.0x10043693
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 4]
call fcn.10055d80
add esp, 4
jmp case.default.0x10043693
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 4]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.10055950
add esp, 4
jmp case.default.0x10043693
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 4]
push edx
call fcn.10073100
add esp, 4
jmp case.default.0x10043693
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x18]
lea ecx, [eax*4 + 4]
mov dword [esp + 0x70], eax
call fcn.100240e0
mov dword [esp + 0x74], eax
test eax, eax
je 0x10044d72
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*8]
mov dword [esp + 0x84], ecx
mov ecx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
lea esi, [edx + ecx*8]
xor ecx, ecx
cmp dword [esp + 0x70], ecx
mov dword [esp + 0x78], ecx
jle 0x100476e9
mov edi, edi
lea edx, [ecx + ecx*4]
lea ecx, [esi + edx*8]
call fcn.1003d420
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov dword [edx + ecx*4], eax
mov ecx, dword [esp + 0x78]
inc ecx
cmp ecx, dword [esp + 0x70]
mov dword [esp + 0x78], ecx
jl 0x100476c0
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esp + 0x74]
push edx
movzx edx, byte [ebp + 3]
push eax
mov eax, dword [edi + 0x10]
shl edx, 4
mov edx, dword [edx + eax + 4]
call fcn.1003b600
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x80]
add esp, 0xc
mov ecx, edi
call fcn.10023eb0
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
cdq
add ecx, 0x10
sub dword [ecx], eax
sbb dword [ecx + 4], edx
call fcn.1003d620
cmp dword [esp + 0x7c], 0
je 0x1004777b
mov eax, dword [esp + 0x80]
test eax, eax
je 0x10044d72
push 1
push 0xffffffffffffffff
push eax
mov eax, sym.NirvanaBiz.dll_sqlite3_free
mov ecx, esi
call fcn.1003d9a0
add esp, 0xc
movzx ecx, byte [esp + 0x28]
mov eax, esi
call fcn.1003cfa0
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
mov ebp, dword [ebp + 8]
lea ecx, [eax + eax*4]
lea edx, [ebp + ebp*4]
lea edi, [ebx + ecx*8]
lea esi, [ebx + edx*8]
mov bl, 0x20
test byte [edi + 0x1c], bl
jne 0x100477b4
call fcn.1003d7a0
test byte [edi + 0x1c], bl
je 0x10044d72
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edi, dword [edi + 0x10]
push eax
push ecx
call fcn.1002b8d0
add esp, 8
jmp case.default.0x10043693
mov edx, dword [ecx + 0xe0]
test edx, edx
jne 0x10048a6e
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 0x1c], 0x20
lea edi, [ebx + eax*8]
je 0x1004781b
mov eax, dword [edi + 0x10]
lea esi, [esp + 0x70]
call fcn.1002bbd0
test eax, eax
je 0x1004781b
mov ecx, dword [esp + 0x74]
mov ebp, dword [ebp + 0xc]
mov edx, dword [esp + 0x70]
push ecx
lea eax, [ebp + ebp*4]
push edx
lea esi, [ebx + eax*8]
call fcn.1003d6d0
add esp, 8
jmp case.default.0x10043693
mov esi, edi
call fcn.1003d620
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x10]
lea edi, [ebx + ecx*8]
lea esi, [ebx + edx*8]
mov bl, 0x20
mov dword [esp + 0x70], eax
test byte [edi + 0x1c], bl
jne 0x10047861
call fcn.1003d7a0
test byte [edi + 0x1c], bl
je 0x10044d72
mov eax, dword [esp + 0x70]
test eax, eax
je 0x100477b4
jl 0x10047870
and eax, 0xf
jmp 0x10047875
mov eax, 0xff
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push ecx
push edx
push eax
mov eax, dword [edi + 0x10]
call fcn.1002bc20
add esp, 0xc
mov dword [esp + 0x74], eax
test eax, eax
je 0x1004789e
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov eax, dword [esp + 0x70]
test eax, eax
jl case.default.0x10043693
jmp 0x100477b4
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x88], edx
mov esi, dword [ebp + 0xc]
lea eax, [esi + esi*4]
lea ebx, [ebx + eax*8]
mov dword [esp + 0x78], ebx
cmp byte [ebp + 3], 0
je 0x100478fe
mov esi, dword [edi + 0xa8]
mov eax, dword [edx + 0x14]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x84], esi
test esi, esi
je 0x100478fe
cmp dword [esi + 0x18], eax
je case.default.0x10043693
mov esi, dword [esi + 4]
mov dword [esp + 0x84], esi
test esi, esi
jne 0x100478e7
mov eax, dword [edi + 0xb0]
cmp eax, dword [ecx + 0x78]
jl 0x1004792e
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
push str.too_many_levels_of_trigger_recursion
add edi, 0x38
mov dword [esp + 0x18], 1
call fcn.10024270
add esp, 4
jmp case.default.0x10043693
test byte [ebx + 0x1c], 0x40
jne 0x10047aac
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
mov dword [esp + 0x70], eax
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x18]
lea edi, [edx + ecx*4 + 0x48]
mov dword [esp + 0x74], edi
call fcn.100240c0
mov dword [esp + 0x84], eax
test eax, eax
je 0x10044d72
mov eax, dword [esp + 0x78]
push eax
call fcn.1003d380
mov edx, dword [esp + 0x7c]
mov ecx, 0x40
mov word [edx + 0x1c], cx
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x7c]
mov dword [ecx + 0x10], eax
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x28]
mov dword [edx], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x74]
mov dword [ecx + 0x3c], edx
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x40], edx
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x20]
mov dword [edx + 0x2c], ecx
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x18]
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x34], edx
mov edx, dword [eax + 0x44]
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x14], edx
mov edx, dword [eax + 0x30]
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x28], edx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x88]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0x1c]
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x30], edx
mov edx, dword [esp + 0x8c]
mov ecx, dword [edx + 0x14]
mov edx, dword [esp + 0x88]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax + 0xc0]
mov edx, dword [esp + 0x88]
mov dword [edx + 0x10], ecx
mov ecx, dword [eax + 0xbc]
mov edx, dword [esp + 0x88]
mov dword [edx + 0x38], ecx
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x3c]
lea edx, [edx + edx*4]
lea esi, [ecx + edx*8 + 0x48]
lea edx, [ecx + 0x48]
add esp, 4
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], edx
cmp edx, esi
je 0x10047aba
mov ecx, dword [esp + 0x18]
lea esp, [esp]
mov esi, 0x80
mov word [edx + 0x1c], si
mov edx, dword [esp + 0x7c]
mov dword [edx], ecx
mov edx, dword [esp + 0x7c]
add edx, 0x28
mov dword [esp + 0x7c], edx
cmp edx, dword [esp + 0x80]
jne 0x10047a80
mov ecx, dword [esp + 0x84]
jmp 0x10047aba
mov ecx, dword [ebx + 0x10]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x84], ecx
inc dword [eax + 0xb0]
mov edx, dword [eax + 0xa8]
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x38]
mov dword [ecx + 0x20], edx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x24], edx
mov ecx, dword [eax + 0x68]
mov edx, dword [esp + 0x84]
mov dword [edx + 0x44], ecx
mov ecx, dword [esp + 0x84]
lea edx, [ecx + 0x20]
mov dword [eax + 0xa8], ecx
mov dword [eax + 8], edx
mov dword [eax + 0x68], 0
mov esi, dword [ecx + 0x3c]
mov dword [eax + 0x18], esi
movzx ecx, word [ecx + 0x40]
mov dword [eax + 0x30], ecx
mov ecx, esi
inc ecx
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*8]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x88]
mov dword [eax + 0x44], ecx
mov esi, dword [edx]
mov dword [eax + 4], esi
mov dword [esp + 0x54], esi
mov esi, dword [edx + 4]
mov dword [eax + 0x1c], esi
mov esi, dword [eax + 0x30]
lea ecx, [ecx + esi*4]
mov dword [eax + 0xc0], ecx
mov edx, dword [edx + 0x10]
push edx
push 0
push ecx
mov dword [eax + 0xbc], edx
mov dword [esp + 0x28], 0xffffffff
call fcn.1012a6a0
add esp, 0xc
jmp case.default.0x10043693
mov edi, dword [edi + 0xa8]
mov dword [esp + 0x70], edi
mov eax, dword [edi + 0x2c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 8]
mov eax, dword [eax + edx*4 + 4]
add eax, dword [ebp + 4]
mov edx, dword [edi + 0xc]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
push 0x1000
push eax
mov ebx, esi
mov dword [esp + 0x7c], eax
call fcn.1003d890
add esp, 8
jmp case.default.0x10043693
cmp dword [ebp + 4], 0
mov eax, dword [ebp + 8]
cdq
je 0x10047bc4
add dword [ecx + 0x1e8], eax
adc dword [ecx + 0x1ec], edx
jmp case.default.0x10043693
add dword [edi + 0x90], eax
adc dword [edi + 0x94], edx
jmp case.default.0x10043693
cmp dword [ebp + 4], 0
je 0x10047bfa
mov eax, dword [ecx + 0x1e8]
or eax, dword [ecx + 0x1ec]
jne case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov ecx, dword [edi + 0x90]
or ecx, dword [edi + 0x94]
jne case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov edi, dword [edi + 0xa8]
test edi, edi
je 0x10047c4b
mov edx, edi
mov dword [esp + 0x74], edx
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x10047c3d
mov edx, ecx
mov dword [esp + 0x74], edx
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x10047c30
mov eax, dword [ebp + 4]
mov ecx, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
jmp 0x10047c54
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
lea esi, [ebx + edx*8]
mov dword [esp + 0x70], esi
call fcn.1003d540
mov ebp, dword [ebp + 8]
lea eax, [ebp + ebp*4]
lea esi, [ebx + eax*8]
call fcn.1003d540
mov eax, dword [esp + 0x70]
mov ecx, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
mov edx, dword [eax + 0x14]
add eax, 0x10
cmp edx, esi
jg case.default.0x10043693
jl 0x10047c90
mov edx, dword [eax]
cmp edx, ecx
jae case.default.0x10043693
mov dword [eax], ecx
mov dword [eax + 4], esi
jmp case.default.0x10043693
mov ecx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
cmp dword [ebx + ecx*8 + 0x14], 0
jl case.default.0x10043693
jg 0x10047cb8
cmp dword [ebx + ecx*8 + 0x10], 0
jbe case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov ecx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
cmp dword [ebx + ecx*8 + 0x14], 0
jg case.default.0x10043693
jl 0x10047ce3
cmp dword [ebx + ecx*8 + 0x10], 0
jae case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
lea ebx, [ebx + eax*8]
mov eax, dword [ebp + 0xc]
cdq
add dword [ebx + 0x10], eax
mov ecx, dword [ebx + 0x10]
adc dword [ebx + 0x14], edx
or ecx, dword [ebx + 0x14]
jne case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
movzx edx, byte [ebp + 3]
mov dword [esp + 0x70], edx
mov ecx, dword [ebp + 8]
lea eax, [ecx + ecx*4]
mov ecx, dword [edi + 0xc]
lea ebx, [ebx + eax*8]
xor eax, eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x74], eax
test edx, edx
jle 0x10047d72
mov edx, dword [esp + 0xc0]
mov dword [edx + eax*4], ebx
mov ecx, dword [esp + 0x7c]
call fcn.100432b0
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x7c]
inc eax
add ebx, 0x28
cmp eax, dword [esp + 0x70]
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], ebx
jl 0x10047d45
mov eax, dword [ebp + 0x10]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0xc]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov dword [esp + 0x78], eax
mov dword [esp + 0xb0], eax
inc dword [eax + 0x18]
xor edi, edi
mov eax, 1
mov word [esp + 0xa4], ax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x8c], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0x88], esi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xbc], edi
test byte [eax + 3], 8
je 0x10047df2
mov ecx, dword [ebp - 4]
mov dword [esp + 0xb4], ecx
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x70]
mov eax, dword [eax + 0x10]
push edx
push ecx
lea edx, [esp + 0x88]
push edx
call eax
add esp, 0xc
cmp dword [esp + 0xb8], edi
je 0x10047e4a
mov bl, 1
lea edi, [esp + 0x88]
call fcn.1003ded0
mov edi, dword [esp + 0x24]
push eax
push 0x1036f938
add edi, 0x38
mov eax, esi
call fcn.10024270
mov ecx, dword [esp + 0xc0]
add esp, 8
mov dword [esp + 0x14], ecx
xor edi, edi
cmp dword [esp + 0xbc], edi
je 0x10047e75
mov ebp, dword [ebp - 0x10]
mov dword [esp + 0x74], ebp
cmp ebp, edi
je 0x10047e75
mov eax, dword [esp + 0x2c]
lea edx, [ebp + ebp*4]
push 0
push 1
lea esi, [eax + edx*8]
call fcn.1003d6d0
add esp, 8
lea ecx, [esp + 0x88]
push ecx
call fcn.1003d380
add esp, 4
jmp case.default.0x10043693
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
lea ecx, [ebx + edx*8]
mov dword [esp + 0x70], ecx
mov eax, dword [ebp + 0x10]
call fcn.1003d2a0
mov dword [esp + 0x14], eax
test eax, eax
je 0x10047ecb
mov edi, dword [esp + 0x70]
mov bl, 1
call fcn.1003ded0
mov edi, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push 0x1036f938
add edi, 0x38
call fcn.10024270
add esp, 8
movzx ecx, byte [esp + 0x28]
mov eax, dword [esp + 0x70]
call fcn.1003cfa0
mov ecx, dword [esp + 0x70]
call fcn.1003d860
test eax, eax
jne 0x1004428c
jmp case.default.0x10043693
mov esi, dword [esp + 0x18]
or eax, 0xffffffff
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], eax
xor edi, edi
mov dword [esp + 0x74], edi
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 4]
lea eax, [esp + 0x7c]
push eax
push ecx
push edx
lea ecx, [esp + 0x84]
call fcn.10082eb0
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, 5
jne 0x10047f35
mov dword [esp + 0x14], edi
mov dword [esp + 0x74], 1
xor eax, eax
mov dword [esp + 0x70], eax
mov ebp, dword [ebp + 0xc]
lea ecx, [ebp + ebp*4]
lea ebx, [ebx + ecx*8]
mov dword [esp + 0x80], ebx
lea esp, [esp]
mov eax, dword [esp + eax*4 + 0x74]
cdq
push edx
push eax
mov esi, ebx
call fcn.1003d6d0
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x88]
inc eax
add ebx, 0x28
add esp, 8
cmp eax, 3
mov dword [esp + 0x70], eax
mov dword [esp + 0x80], ebx
jl 0x10047f50
jmp case.default.0x10043693
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x78], edx
mov eax, dword [ebp + 4]
mov ecx, dword [ecx + 0x10]
shl eax, 4
mov eax, dword [eax + ecx + 4]
mov dword [esp + 0x70], eax
mov eax, dword [eax + 4]
mov esi, dword [eax]
mov dword [esp + 0x74], esi
movzx edi, byte [esi + 5]
mov dword [esp + 0x7c], edi
cmp edx, 0xffffffff
jne 0x10047fb9
mov edx, edi
mov dword [esp + 0x78], edx
cmp byte [esi + 0xf], 3
jae 0x10047fd5
mov ecx, dword [esi + 0x40]
cmp dword [ecx], 0
je 0x10047fdb
cmp dword [esi + 0x4c], 0
jl 0x10047fdb
jg 0x10047fd5
cmp dword [esi + 0x48], 0
jbe 0x10047fdb
mov edx, edi
mov dword [esp + 0x78], edx
cmp byte [esi + 0xe], 0
mov ecx, 0x10138e32
jne 0x10047fec
mov ecx, dword [esi + 0x90]
mov dword [esp + 0x80], ecx
cmp edx, 5
jne 0x10048017
call fcn.10025ea0
test eax, eax
je 0x1004800c
mov eax, esi
call fcn.10030330
test eax, eax
jne 0x10048017
mov edx, edi
mov dword [esp + 0x78], edx
jmp 0x100480db
cmp edx, edi
je 0x100480db
cmp edi, 5
je 0x1004802d
cmp edx, 5
jne 0x100480db
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x36], 0
je 0x1004809e
cmp dword [eax + 0x84], 1
jg 0x1004809e
cmp edi, 5
jne 0x10048062
mov eax, esi
call fcn.10030470
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10048094
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
jmp 0x1004806c
cmp edi, 4
jne 0x10048075
lea ecx, [edi - 2]
mov eax, esi
call fcn.10030180
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
xor eax, eax
cmp edx, 5
sete al
inc eax
push eax
push ecx
call fcn.1003bbd0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x100480d3
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x78], edx
jmp 0x100480d7
mov dword [esp + 0x14], 1
mov eax, str.into
cmp edx, 5
je 0x100480b5
mov eax, str.out_of
mov edi, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push str.cannot_change__s_wal_mode_from_within_a_transaction
add edi, 0x38
call fcn.10024270
add esp, 8
jmp case.default.0x10043693
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov ecx, edx
mov eax, esi
call fcn.10030180
mov dword [esp + 0x78], eax
mov ebp, dword [ebp + 8]
lea edx, [ebp + ebp*4]
lea ebx, [ebx + edx*8]
mov eax, 0xa02
mov word [ebx + 0x1c], ax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x20], ebx
cmp eax, 6
jne 0x1004810c
xor ecx, ecx
jmp 0x10048113
mov ecx, dword [eax*4 + 0x10369e08]
mov dword [ebx + 4], ecx
call fcn.10025ea0
movzx ecx, byte [esp + 0x28]
mov dword [ebx + 0x18], eax
mov eax, ebx
mov byte [ebx + 0x1f], 1
call fcn.1003cfa0
jmp case.default.0x10043693
mov ecx, dword [esp + 0x18]
push ecx
lea eax, [edi + 0x38]
call fcn.100757d0
add esp, 4
mov dword [esp + 0x14], eax
jmp case.default.0x10043693
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
shl edx, 4
mov eax, dword [edx + ecx + 4]
push eax
mov dword [esp + 0x74], eax
call fcn.10035c80
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x65
jne case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], 0
jmp case.default.0x10043693
cmp dword [ebp + 4], 0
jne 0x100481a0
mov eax, dword [esp + 0x18]
call fcn.100414b0
jmp case.default.0x10043693
or dword [edi + 0x64], 0x20
jmp case.default.0x10043693
mov dl, byte [ebp + 0xc]
test dl, dl
jne 0x100481bd
test dword [ecx + 0x18], 0x800
jne case.default.0x10043693
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 4]
push ecx
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0x10]
shl eax, 4
mov esi, dword [eax + esi + 4]
mov cl, dl
call fcn.1003bb10
add esp, 4
mov dword [esp + 0x14], eax
cmp al, 6
jne case.default.0x10043693
mov edx, dword [ebp + 0x10]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
push edx
push str.database_table_is_locked:__s
add edi, 0x38
call fcn.10024270
add esp, 8
jmp case.default.0x10043693
mov ebp, dword [ebp + 0x10]
mov eax, dword [esp + 0x18]
mov edi, ebp
mov dword [esp + 0x70], ebp
call fcn.10076ab0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
test eax, eax
je case.default.0x10043693
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call fcn.100434c0
add esp, 8
jmp case.default.0x10043693
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
add edi, 0x38
push edi
push edx
call fcn.10076650
add esp, 8
mov dword [esp + 0x14], eax
jmp case.default.0x10043693
mov eax, dword [edi + 0x64]
and eax, 0xfffffffb
or eax, 8
mov dword [edi + 0x64], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 4]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.10076920
add esp, 4
and dword [edi + 0x64], 0xfffffff3
mov dword [esp + 0x14], eax
jmp case.default.0x10043693
xor ebx, ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 8]
mov dword [esp + 0x78], eax
mov ecx, dword [eax]
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x80], ecx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov ecx, dword [esp + 0x80]
push ecx
mov esi, eax
push edi
mov dword [esp + 0x24], esi
call fcn.100434c0
add esp, 0x10
cmp esi, ebx
jne case.default.0x10043693
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push ebx
push 0xffffffffffffffff
mov dword [eax], edx
mov ecx, dword [ebp + 4]
push ebx
push ecx
mov ebx, edi
call fcn.100432e0
add esp, 0x10
mov dword [esp + 0x70], eax
test eax, eax
je 0x10048313
mov edx, dword [esp + 0x74]
mov dword [eax + 0x24], edx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [esp + 0x70]
mov dword [eax + 0x28], edx
jmp case.default.0x10043693
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x38], 1
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x1c]
push edx
call ecx
add esp, 4
jmp case.default.0x10043693
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0x44]
lea edx, [eax + eax*4]
mov edi, dword [edi + 0xc]
lea ebx, [ebx + edx*8]
mov dword [esp + 0x7c], ebx
lea esi, [ebx + 0x28]
mov dword [esp + 0x80], esi
mov eax, dword [ebp + 4]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x8c], eax
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x84], ecx
mov eax, dword [ecx]
mov dword [esp + 0x88], eax
mov edx, dword [eax]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x70], edx
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x74], eax
xor eax, eax
cmp edx, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], eax
jle 0x100483ec
jmp 0x100483a7
mov esi, dword [esp + 0x80]
lea ecx, [eax + eax*4 + 5]
lea edx, [esi + ecx*8]
mov ecx, dword [esp + 0x98]
mov dword [ecx + eax*4], edx
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + edx*4]
call fcn.100432b0
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x70]
inc eax
cmp eax, edx
mov dword [esp + 0x94], eax
jl 0x100483a0
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x64]
and eax, 0xfffffff7
or eax, 4
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x78]
push edx
mov edx, dword [ebp + 0x10]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x20]
call edx
and dword [esi + 0x64], 0xfffffff3
mov edi, eax
mov eax, dword [esp + 0x9c]
add esp, 0x14
push eax
push esi
mov dword [esp + 0x1c], edi
call fcn.100434c0
add esp, 8
test edi, edi
jne 0x10048458
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0x28]
push ecx
call eax
add esp, 4
mov dword [esp + 0x90], eax
cmp dword [esp + 0x90], 0
je 0x1004846a
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
mov ecx, dword [esp + 0x8c]
mov byte [ecx + 0x1c], 0
jmp case.default.0x10043693
mov edx, dword [ebp + 4]
mov eax, dword [edi + 0x44]
mov esi, dword [eax + edx*4]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + eax*4]
lea ebx, [ebx + ecx*8]
mov dword [esp + 0x78], ebx
cmp byte [esi + 0x1c], 0
je 0x100484a2
mov esi, ebx
call fcn.1003d620
jmp case.default.0x10043693
mov edx, dword [esi + 0x24]
mov eax, dword [edx]
push 0x40
mov dword [esp + 0x74], eax
mov eax, dword [eax]
lea ecx, [esp + 0x84]
push 0
push ecx
mov dword [esp + 0x80], eax
call fcn.1012a6a0
mov ebx, dword [esp + 0x84]
add esp, 0xc
lea eax, [esp + 0x88]
call fcn.1003d950
mov edx, dword [esp + 0xa4]
and edx, 0xbe01
or edx, 1
mov word [esp + 0xa4], dx
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x24]
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [eax + 0x2c]
push edx
call ecx
mov edx, dword [esp + 0x7c]
add esp, 0xc
push edx
push edi
mov dword [esp + 0x1c], eax
call fcn.100434c0
mov eax, dword [esp + 0xc0]
add esp, 8
test eax, eax
je 0x10048530
mov dword [esp + 0x14], eax
movzx ecx, byte [esp + 0x28]
lea eax, [esp + 0x88]
call fcn.1003cfa0
mov eax, dword [esp + 0x78]
lea ebx, [esp + 0x88]
call fcn.1003d950
mov ecx, dword [esp + 0x78]
call fcn.1003d860
test eax, eax
jne 0x1004428c
jmp case.default.0x10043693
mov ecx, dword [edi + 0x44]
mov dword [esp + 0x78], 0
mov eax, dword [ebp + 4]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x7c], eax
cmp byte [eax + 0x1c], 0
jne case.default.0x10043693
mov edx, dword [eax + 0x24]
mov ecx, dword [edx]
mov edx, dword [edi + 0x64]
mov dword [esp + 0x70], ecx
mov ecx, dword [ecx]
and edx, 0xfffffff7
or edx, 4
mov dword [esp + 0x74], ecx
mov dword [edi + 0x64], edx
mov eax, dword [eax + 0x24]
mov ecx, dword [ecx + 0x24]
push eax
call ecx
mov edx, dword [esp + 0x74]
and dword [edi + 0x64], 0xfffffff3
add esp, 4
push edx
mov esi, eax
push edi
mov dword [esp + 0x1c], esi
call fcn.100434c0
add esp, 8
test esi, esi
jne 0x100485e1
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 0x28]
push ecx
call eax
add esp, 4
mov dword [esp + 0x78], eax
cmp dword [esp + 0x78], 0
jne case.default.0x10043693
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x1c], ebp
jmp case.default.0x10043693
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 8]
mov dword [esp + 0x70], edx
mov ebp, dword [ebp + 4]
lea eax, [ebp + ebp*4]
lea eax, [ebx + eax*8]
mov ecx, 1
mov dword [esp + 0x74], eax
call fcn.1003cfa0
mov dword [esp + 0x14], eax
test eax, eax
jne case.default.0x10043693
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov edx, dword [edx + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x4c]
call eax
mov ecx, dword [esp + 0x78]
push ecx
push edi
mov dword [esp + 0x24], eax
call fcn.100434c0
add esp, 0x10
and dword [edi + 0x64], 0xffffffdf
jmp case.default.0x10043693
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 8]
mov dword [esp + 0x70], eax
mov eax, dword [eax]
mov dword [esp + 0x74], eax
mov edx, dword [ebp + 8]
mov dword [esp + 0x78], edx
cmp dword [eax + 0x34], 0
je case.default.0x10043693
mov al, byte [ecx + 0x3c]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x88], ecx
mov ecx, dword [ebp + 0xc]
mov byte [esp + 0x47], al
lea eax, [ecx + ecx*4]
lea ebx, [ebx + eax*8]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x7c], 0
test edx, edx
jle 0x100486e0
mov ecx, ebx
call fcn.100432b0
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x88]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x8c]
inc eax
add ebx, 0x28
cmp eax, dword [esp + 0x78]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x7c], eax
jl 0x100486a4
mov cl, byte [ebp + 3]
mov esi, dword [esp + 0x18]
mov byte [esi + 0x3c], cl
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x80]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [eax + 0x34]
push edx
call ecx
mov dl, byte [esp + 0x57]
mov ebx, eax
mov byte [esi + 0x3c], dl
mov eax, dword [esp + 0x80]
push eax
push edi
mov dword [esp + 0x2c], ebx
call fcn.100434c0
add esp, 0x18
test ebx, ebx
jne 0x10048757
cmp dword [ebp + 4], ebx
je 0x10048757
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esi + 0x20], eax
mov edx, dword [esp + 0x84]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esi + 0x24], edx
cmp bl, 0x13
jne 0x10046d1a
mov eax, dword [ebp + 0x10]
cmp byte [eax + 0x10], 0
je 0x10046d1a
mov al, byte [ebp + 3]
cmp al, 4
jne 0x10048781
mov dword [esp + 0x14], 0
jmp case.default.0x10043693
cmp al, 5
jne 0x10048792
mov eax, 2
mov byte [edi + 0x60], al
jmp case.default.0x10043693
movzx eax, al
mov byte [edi + 0x60], al
jmp case.default.0x10043693
mov edx, dword [ebp + 4]
mov eax, dword [ecx + 0x10]
shl edx, 4
mov ecx, dword [edx + eax + 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x2c]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
jmp case.default.0x10043693
mov edx, dword [ebp + 4]
mov eax, dword [ecx + 0x10]
mov ebp, dword [ebp + 0xc]
shl edx, 4
mov ecx, dword [edx + eax + 4]
xor eax, eax
test ebp, ebp
je 0x100487e1
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x2c]
cmp eax, ebp
jae 0x100487e1
mov eax, ebp
call fcn.10034b60
cdq
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp case.default.0x10043693
cmp dword [ecx + 0x98], 0
je case.default.0x10043693
test dword [edi + 0x64], 0x400
jne case.default.0x10043693
mov ebp, dword [ebp + 0x10]
mov ecx, ebp
test ebp, ebp
jne 0x10048813
mov ecx, dword [edi + 0xa0]
mov dword [esp + 0x70], ecx
test ecx, ecx
je case.default.0x10043693
push edi
call fcn.10042fc0
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x74], eax
mov ecx, dword [esi + 0x98]
push eax
mov eax, dword [esi + 0x9c]
push eax
call ecx
mov eax, dword [esp + 0x7c]
add esp, 8
mov ecx, esi
call fcn.10023eb0
inc dword [esp + 0x1c]
cmp dword [esp + 0x14], 0
mov edi, dword [esp + 0x24]
jne 0x100442b0
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x18]
jmp 0x100435f1
mov dword [esp + 0x14], 9
jmp 0x100442b0
mov edx, dword [ebp + 4]
mov dword [edi + 0x5c], edx
mov cl, byte [ebp + 8]
mov byte [edi + 0x60], cl
mov dword [edi + 0x58], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100488cc
mov esi, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push 0x1036f938
lea edi, [esi + 0x38]
call fcn.10024270
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 0xa0]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [ebp + 4]
push eax
push ecx
push str.abort_at__d_in___s_:__s
push edx
call sym.NirvanaBiz.dll_sqlite3_log
add esp, 0x1c
mov edi, esi
jmp 0x100488ed
test edx, edx
je 0x100488ed
mov eax, dword [edi + 0xa0]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 4]
push eax
push ecx
push str.constraint_failed_at__d_in___s_
push edx
call sym.NirvanaBiz.dll_sqlite3_log
add esp, 0x10
push edi
call fcn.10040400
mov esi, 5
add esp, 4
cmp eax, esi
jne 0x10048969
mov dword [edi + 0x5c], esi
jmp 0x1004432f
lea eax, [esp + 0x80]
push eax
call fcn.1003d380
add esp, 4
jmp 0x10044d72
mov dword [esp + 0x14], 0x14
jmp 0x10048a01
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x58], ecx
mov byte [esi + 0x36], 0
mov esi, 5
mov dword [edi + 0x5c], esi
jmp 0x1004432f
test ebp, ebp
je 0x1004897b
mov esi, dword [esp + 0x18]
push 0x204
mov eax, esi
call fcn.10082410
add esp, 4
mov byte [esi + 0x36], 1
mov esi, dword [esp + 0x18]
call fcn.10081ec0
mov esi, dword [edi + 0x5c]
neg esi
sbb esi, esi
and esi, 0xffffff9c
add esi, 0x65
jmp 0x1004432f
push 1
mov ecx, edi
call fcn.100403a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x1004432f
mov dl, byte [esp + 0x70]
mov esi, dword [esp + 0x18]
push edi
mov byte [esi + 0x36], dl
call fcn.10040400
add esp, 4
cmp eax, 5
jne 0x10048960
mov eax, dword [esp + 0x1c]
mov cl, 1
sub cl, byte [esp + 0x70]
mov dword [edi + 0x58], eax
mov byte [esi + 0x36], cl
mov esi, 5
mov dword [edi + 0x5c], esi
jmp 0x1004432f
mov edx, dword [esp + 0x1c]
mov esi, 5
mov dword [edi + 0x58], edx
mov dword [edi + 0x5c], esi
jmp 0x1004432f
mov eax, 0x106fb
call fcn.10084190
mov dword [esp + 0x14], eax
jmp 0x10048a01
mov dword [esp + 0x14], 0xd
jmp 0x10048a01
mov dword [esp + 0x14], 0xd
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x38], 0
je 0x10048a23
mov dword [esp + 0x14], 7
mov ecx, dword [esp + 0x14]
mov eax, str.unknown_error
call fcn.100824f0
jmp 0x10048a50
cmp dword [esp + 0x14], 0xc0a
je 0x100442b0
cmp dword [esp + 0x14], 0x204
je 0x10048a4b
mov ecx, dword [esp + 0x14]
mov eax, str.unknown_error
call fcn.100824f0
jmp 0x10048a50
mov eax, str.abort_due_to_ROLLBACK
mov edi, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push 0x1036f938
add edi, 0x38
call fcn.10024270
add esp, 8
jmp 0x100442ac
mov eax, 9
mov dword [edi + 0x5c], eax
mov ecx, dword [str.interrupted]
mov dword [esp + 0x14], eax
mov eax, str.unknown_error
test ecx, ecx
je 0x10048a8b
mov eax, ecx
mov edi, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push 0x1036f938
add edi, 0x38
call fcn.10024270
add esp, 8
jmp 0x100442ac