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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
mov ebp, dword [esp + 0x58]
xor eax, eax
push esi
push edi
mov dword [esp + 0x20], 0
mov ebx, dword [ebp]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], eax
cmp byte [ebx + 0x51], al
jne 0x1003d06a
cmp dword [ebp + 0x24], eax
jg 0x1003d06a
cmp byte [ebp + 0xc8], 1
jne 0x1003cf91
cmp byte [esp + 0x88], 2
jne 0x1003d06a
push ebp
call fcn.10053110
add esp, 4
test eax, eax
jne 0x1003d06a
cmp dword [esp + 0x6c], eax
je 0x1003d088
mov esi, dword [esp + 0x68]
lea eax, [esp + 0x2c]
push eax
push esi
push dword [esp + 0x6c]
push ebp
call fcn.10059a00
mov edi, eax
add esp, 0x10
mov dword [esp + 0x1c], edi
test edi, edi
js 0x1003d06a
cmp byte [ebx + 0xa5], 0
jne 0x1003d005
push dword [esp + 0x6c]
push ebp
call fcn.10058b70
add esp, 8
cmp dword [esi + 4], 0
jne 0x1003d005
test eax, eax
je 0x1003d005
mov ecx, dword [ebx + 0x10]
mov eax, dword [eax + 0x48]
cmp eax, dword [ecx + 0x1c]
jne 0x1003d005
mov edi, 1
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x44]
push edx
push str.index
push edi
push ebp
push eax
call fcn.100457d0
mov esi, dword [esp + 0x80]
lea eax, [esp + 0x58]
push esi
push eax
call fcn.10045920
lea eax, [esi + 8]
push eax
push 0
push ebp
call fcn.1004cde0
mov edi, eax
add esp, 0x28
mov dword [esp + 0x10], edi
test edi, edi
je 0x1003d06a
mov edx, dword [esp + 0x1c]
cmp edx, 1
jne 0x1003d073
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edi + 0x48]
je 0x1003d073
push dword [edi]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebp
call fcn.1003fb40
add esp, 0xc
mov edi, dword [esp + 0x70]
jmp 0x1003d8a8
test byte [edi + 0x24], 0x20
je 0x1003d0a8
push edi
call fcn.10053080
add esp, 4
mov dword [esp + 0x28], eax
jmp 0x1003d0a8
mov edi, dword [ebp + 0xe4]
mov dword [esp + 0x10], edi
test edi, edi
je 0x1003d06a
push dword [edi + 0x48]
push ebx
call fcn.10055670
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x10]
mov ecx, edx
mov esi, dword [edi]
mov edx, 7
shl ecx, 4
add eax, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x1003d143
mov edi, str.sqlite_
mov edi, edi
mov al, byte [esi]
dec edx
test al, al
je 0x1003d0f2
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x10087c80]
cmp al, byte [ecx + 0x10087c80]
jne 0x1003d0f2
inc esi
inc edi
test edx, edx
jg 0x1003d0d0
dec edx
test edx, edx
js 0x1003d10e
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x10087c80]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x10087c80]
sub eax, ecx
jne 0x1003d13b
cmp byte [ebx + 0xa5], 0
jne 0x1003d13b
cmp dword [esp + 0x6c], 0
je 0x1003d13b
mov eax, dword [esp + 0x10]
push dword [eax]
push str.table__s_may_not_be_indexed
push ebp
call fcn.1003fb40
mov edi, dword [esp + 0x7c]
add esp, 0xc
jmp 0x1003d8a8
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
cmp dword [edi + 0xc], 0
je 0x1003d160
push str.views_may_not_be_indexed
push ebp
call fcn.1003fb40
mov edi, dword [esp + 0x78]
add esp, 8
jmp 0x1003d8a8
cmp dword [edi + 0x38], 0
je 0x1003d17d
push str.virtual_tables_may_not_be_indexed
push ebp
call fcn.1003fb40
mov edi, dword [esp + 0x78]
add esp, 8
jmp 0x1003d8a8
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1003d245
push eax
push ebx
call fcn.1004d6c0
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
test esi, esi
je 0x1003d06a
push esi
push ebp
call fcn.1003ae40
add esp, 8
test eax, eax
jne 0x1003d06a
cmp byte [ebp + 0xc8], 2
jae 0x1003d283
cmp byte [ebx + 0xa5], al
jne 0x1003d1ef
push eax
push esi
push ebx
call fcn.10044e10
add esp, 0xc
test eax, eax
je 0x1003d1ef
push esi
push str.there_is_already_a_table_named__s
push ebp
call fcn.1003fb40
mov edi, dword [esp + 0x7c]
add esp, 0xc
jmp 0x1003d8a8
mov esi, dword [esp + 0x24]
push dword [esi]
push dword [esp + 0x24]
push ebx
call fcn.10044d70
add esp, 0xc
test eax, eax
je 0x1003d287
cmp dword [esp + 0x84], 0
jne 0x1003d22f
push dword [esp + 0x20]
push str.index__s_already_exists
push ebp
call fcn.1003fb40
mov edi, dword [esp + 0x7c]
add esp, 0xc
jmp 0x1003d8a8
push dword [esp + 0x1c]
push ebp
call fcn.1003bfe0
mov edi, dword [esp + 0x78]
add esp, 8
jmp 0x1003d8a8
mov eax, dword [edi + 8]
mov ecx, 1
test eax, eax
je 0x1003d259
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x1003d251
push ecx
push esi
push str.sqlite_autoindex__s__d
push ebx
call fcn.1004d0a0
mov esi, eax
add esp, 0x10
mov dword [esp + 0x20], esi
test esi, esi
je 0x1003d06a
cmp byte [ebp + 0xc8], 0
je 0x1003d283
inc byte [esi + 7]
mov esi, dword [esp + 0x24]
cmp byte [ebp + 0xc8], 2
jae 0x1003d2e2
cmp dword [esp + 0x1c], 1
mov eax, str.sqlite_temp_master
mov esi, dword [esi]
je 0x1003d2a3
mov eax, str.sqlite_master
push esi
push 0
push eax
push 0x12
push ebp
call fcn.10036c80
add esp, 0x14
test eax, eax
jne 0x1003d06a
cmp dword [esp + 0x1c], 1
push esi
push dword [edi]
sete al
push dword [esp + 0x28]
lea eax, [eax*2 + 1]
push eax
push ebp
call fcn.10036c80
add esp, 0x14
test eax, eax
jne 0x1003d06a
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1003d345
movsx ecx, word [edi + 0x2a]
mov eax, dword [edi + 4]
add ecx, ecx
push dword [eax + ecx*8 - 0x10]
or byte [eax + ecx*8 - 1], 8
lea eax, [esp + 0x40]
push eax
call fcn.10059750
push 0
lea eax, [esp + 0x48]
push eax
push 0x3b
push ebx
call fcn.1003fe50
push eax
push 0
push ebp
call fcn.10043930
mov edi, eax
add esp, 0x24
mov dword [esp + 0x14], edi
test edi, edi
je 0x1003d8a8
push dword [esp + 0x80]
push edi
call fcn.10043e60
add esp, 8
jmp 0x1003d360
push str.index
mov edi, eax
push edi
push ebp
call fcn.10043b50
add esp, 0xc
cmp dword [ebp + 0x24], 0
jne 0x1003d8a8
mov edi, dword [edi]
movzx esi, di
test edi, edi
jle 0x1003d39e
mov esi, dword [esp + 0x14]
add esi, 4
xor ebp, ebp
mov eax, dword [esi]
cmp byte [eax], 0x6a
jne 0x1003d387
push dword [eax + 8]
call fcn.100594c0
inc ebp
add esp, 4
add ebp, eax
add esi, 0x18
sub edi, 1
jne 0x1003d372
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x60]
movzx esi, word [eax]
push dword [esp + 0x20]
call fcn.100594c0
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1003d3ba
movzx ecx, word [eax + 0x32]
jmp 0x1003d3bf
mov ecx, 1
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
inc eax
add eax, edi
push eax
lea eax, [ecx + esi]
push eax
push ebx
call fcn.10035760
mov esi, dword [esp + 0x28]
add esp, 0x10
mov ebx, eax
cmp byte [esi + 0x51], 0
jne 0x1003d607
mov ecx, dword [esp + 0x34]
mov dword [ebx], ecx
lea eax, [ecx + 1]
lea ecx, [edi + 1]
add eax, edi
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x3c], eax
push dword [ebx]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x80]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov byte [ebx + 0x36], al
neg eax
mov dword [ebx + 0xc], edx
sbb ecx, ecx
mov eax, dword [ebx + 0x38]
and eax, 0xfffffff7
and ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x88]
and eax, 3
and ecx, 0xfffffffc
or ecx, eax
mov dword [ebx + 0x38], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x7c]
mov eax, dword [eax + ecx + 0xc]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
mov word [ebx + 0x32], ax
mov ecx, eax
test esi, esi
je 0x1003d482
push 0
push esi
push 2
push edx
push ebp
call fcn.100541e0
movzx ecx, word [ebx + 0x32]
add esp, 0x14
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x24], esi
mov dword [esp + 0x7c], 0
cmp byte [ebp + 0xc8], 2
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x70], al
mov eax, dword [esp + 0x14]
lea esi, [eax + 4]
mov dword [esp + 0x24], esi
jb 0x1003d4af
mov dword [ebx + 0x28], eax
mov dword [esp + 0x14], 0
xor edi, edi
xor eax, eax
mov dword [esp + 0x30], edi
cmp ax, cx
jae 0x1003d622
push dword [esi]
call fcn.100594a0
push 0
push dword [esi]
push 0x20
push edx
push ebp
call fcn.100541e0
add esp, 0x18
cmp dword [ebp + 0x24], 0
jne 0x1003d607
push dword [esi]
call fcn.10044080
add esp, 4
cmp byte [eax], 0xa2
je 0x1003d52d
mov ecx, dword [esp + 0x10]
cmp ecx, dword [ebp + 0xe4]
je 0x1003d5f9
cmp dword [ebx + 0x28], 0
jne 0x1003d515
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x28], eax
mov dword [esp + 0x14], 0
mov eax, dword [ebx + 4]
mov edx, 0xfffffffe
mov ebp, edx
mov word [eax + edi*2], bp
and dword [ebx + 0x38], 0xfffffff7
mov ebp, dword [esp + 0x60]
jmp 0x1003d560
movsx edx, word [eax + 0x20]
test edx, edx
jns 0x1003d53f
mov ecx, dword [esp + 0x10]
movsx edx, word [ecx + 0x28]
jmp 0x1003d559
mov eax, dword [esp + 0x10]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
mov ecx, dword [esp + 0x10]
jne 0x1003d559
and dword [ebx + 0x38], 0xfffffff7
mov eax, dword [ebx + 4]
mov word [eax + edi*2], dx
mov esi, dword [esi]
cmp byte [esi], 0x6a
jne 0x1003d58f
mov esi, dword [esi + 8]
push esi
call fcn.100594c0
lea edi, [eax + 1]
push edi
push esi
mov esi, dword [esp + 0x40]
push esi
call sub.VCRUNTIME140.dll_memcpy
lea eax, [edi + esi]
add esp, 0x10
mov edi, dword [esp + 0x30]
mov dword [esp + 0x34], eax
jmp 0x1003d59c
test edx, edx
js 0x1003d5a0
mov eax, dword [ecx + 4]
add edx, edx
mov esi, dword [eax + edx*8 + 8]
test esi, esi
jne 0x1003d5a5
mov esi, 0x10087f40
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xa5], 0
jne 0x1003d5c0
push esi
push ebp
call fcn.1004caf0
add esp, 8
test eax, eax
je 0x1003d607
mov eax, dword [ebx + 0x20]
cmp byte [esp + 0x70], 4
sbb cl, cl
mov dword [eax + edi*4], esi
not cl
mov esi, dword [esp + 0x24]
mov eax, dword [ebx + 0x1c]
and cl, byte [esi + 0xc]
add esi, 0x18
mov byte [edi + eax], cl
inc edi
movzx eax, word [ebx + 0x32]
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], esi
cmp edi, eax
jge 0x1003d622
mov edx, dword [esp + 0x10]
jmp 0x1003d4c0
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ebp
call fcn.1003fb40
add esp, 8
test ebx, ebx
je 0x1003d8a0
push ebx
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.10046890
add esp, 8
jmp 0x1003d8a4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1003d693
xor ecx, ecx
xor esi, esi
cmp cx, word [eax + 0x32]
jae 0x1003d6a7
mov ebp, eax
mov eax, dword [ebp + 4]
push esi
push ebp
movzx eax, word [eax + esi*2]
mov dword [esp + 0x78], eax
movzx eax, word [ebx + 0x32]
push eax
push ebx
call fcn.10026c10
add esp, 0x10
test eax, eax
je 0x1003d660
mov eax, 0xffff
add word [ebx + 0x34], ax
jmp 0x1003d684
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x70]
mov word [eax + edi*2], cx
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebx + 0x20]
mov eax, dword [eax + esi*4]
mov dword [ecx + edi*4], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebx + 0x1c]
mov al, byte [esi + eax]
mov byte [edi + ecx], al
inc edi
movzx eax, word [ebp + 0x32]
inc esi
cmp esi, eax
jl 0x1003d636
mov ebp, dword [esp + 0x60]
jmp 0x1003d6a7
mov eax, dword [ebx + 4]
or ecx, 0xffffffff
mov word [eax + edi*2], cx
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], 0x10087f40
push ebx
call fcn.1003e1e0
add esp, 4
cmp dword [ebp + 0xe4], 0
jne 0x1003d6c2
push ebx
call fcn.1001dff0
add esp, 4
push ebx
call fcn.1002fd60
mov edx, dword [esp + 0x14]
add esp, 4
cmp dword [esp + 0x6c], 0
je 0x1003d729
movzx ecx, word [ebx + 0x34]
movsx eax, word [edx + 0x2a]
cmp ecx, eax
jl 0x1003d729
or dword [ebx + 0x38], 0x20
xor eax, eax
movzx edi, word [edx + 0x2a]
xor esi, esi
cmp ax, di
jge 0x1003d729
movsx eax, word [edx + 0x28]
mov dword [esp + 0x70], eax
jmp 0x1003d700
cmp esi, eax
je 0x1003d713
push esi
push ebx
call fcn.1003c180
add esp, 8
test ax, ax
js 0x1003d721
inc esi
movsx eax, di
cmp esi, eax
jge 0x1003d725
mov eax, dword [esp + 0x70]
jmp 0x1003d700
and dword [ebx + 0x38], 0xffffffdf
mov edx, dword [esp + 0x10]
cmp edx, dword [ebp + 0xe4]
jne 0x1003d7db
mov esi, dword [edx + 8]
mov dword [esp + 0x70], esi
test esi, esi
je 0x1003d7db
movzx ecx, word [ebx + 0x32]
jmp 0x1003d750
movzx eax, word [esi + 0x32]
mov edx, eax
mov dword [esp + 0x30], edx
cmp ax, cx
jne 0x1003d7c8
xor edi, edi
mov dword [esp + 0x34], edi
cmp di, ax
jae 0x1003d7c1
mov ebp, dword [esp + 0x70]
mov ecx, dword [ebx + 4]
mov esi, dword [ebp + 4]
sub ecx, esi
mov dword [esp + 0x34], ecx
lea ebx, [ebx]
mov ax, word [esi]
cmp ax, word [ecx + esi]
jne 0x1003d7b1
mov eax, dword [ebx + 0x20]
push dword [eax + edi*4]
mov eax, dword [ebp + 0x20]
push dword [eax + edi*4]
call fcn.10059460
add esp, 8
test eax, eax
jne 0x1003d7b1
movzx eax, word [ebp + 0x32]
inc edi
mov ecx, dword [esp + 0x34]
add esi, 2
cmp edi, eax
jl 0x1003d780
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x30]
movzx ecx, word [ebx + 0x32]
movzx eax, dx
cmp edi, eax
je 0x1003d83e
mov esi, dword [esi + 0x14]
mov dword [esp + 0x70], esi
test esi, esi
jne 0x1003d750
mov edx, dword [esp + 0x10]
cmp byte [ebp + 0xc8], 2
mov edi, dword [esp + 0x18]
jae 0x1003da7e
cmp byte [edi + 0xa5], 0
je 0x1003d92d
cmp dword [esp + 0x6c], 0
je 0x1003d900
mov eax, dword [edi + 0xa0]
push ebx
mov dword [ebx + 0x2c], eax
call fcn.10049da0
add esp, 4
test eax, eax
je 0x1003d900
push str.invalid_rootpage
push ebp
call fcn.1003fb40
push 0x1b114
call fcn.1003c810
add esp, 0xc
mov dword [ebp + 0xc], eax
jmp 0x1003d607
mov al, byte [esi + 0x36]
mov cl, byte [ebx + 0x36]
cmp al, cl
je 0x1003d86e
cmp al, 0xb
je 0x1003d868
cmp cl, 0xb
je 0x1003d864
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push ebp
call fcn.1003fb40
mov al, byte [esi + 0x36]
add esp, 0xc
cmp al, 0xb
jne 0x1003d86e
mov al, byte [ebx + 0x36]
mov byte [esi + 0x36], al
cmp byte [esp + 0x88], 2
jne 0x1003d884
mov eax, dword [esi + 0x38]
and eax, 0xfffffffe
or eax, 2
mov dword [esi + 0x38], eax
cmp byte [ebp + 0xc8], 2
jb 0x1003d607
mov eax, dword [ebp + 0xe8]
mov dword [ebx + 0x14], eax
mov dword [ebp + 0xe8], ebx
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x1003d8ba
push esi
push ebx
call fcn.10042b80
add esp, 8
test edi, edi
je 0x1003d8c8
push edi
push ebx
call fcn.10020380
add esp, 8
push dword [esp + 0x6c]
push ebx
call fcn.10058510
mov ecx, dword [esp + 0x28]
add esp, 8
test ecx, ecx
je 0x1003db1e
cmp dword [ebx + 0x1e8], 0
je 0x1003daef
push ecx
push ebx
call fcn.100281e0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov eax, dword [ebx + 0x18]
push ebx
push dword [ebx]
add eax, 0x18
push eax
call fcn.100496f0
add esp, 0xc
test eax, eax
je 0x1003d924
push edi
call fcn.1004d830
add esp, 4
jmp 0x1003d607
or dword [edi + 0x18], 1
jmp 0x1003da7e
test byte [edx + 0x24], 0x20
je 0x1003d93f
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x1003da82
inc dword [ebp + 0x2c]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x2c]
mov dword [esp + 0x70], edi
test esi, esi
jne 0x1003d975
cmp dword [ebp + 0x74], esi
jne 0x1003d962
mov eax, dword [ebp]
test byte [eax + 0x4c], 8
jne 0x1003d962
mov byte [ebp + 0x17], 1
push ebp
call fcn.1005cd00
mov esi, eax
add esp, 4
test esi, esi
je 0x1003d607
push dword [esp + 0x1c]
push 1
push ebp
call fcn.100373e0
push 0xaa
push esi
call fcn.1005c3e0
push 2
push edi
push dword [esp + 0x38]
mov dword [ebx + 0x2c], eax
push 0x8b
push esi
call fcn.1005c4f0
add esp, 0x28
cmp dword [esp + 0x78], 0
je 0x1003d9f1
mov eax, dword [ebp + 0xbc]
mov edx, dword [esp + 0x2c]
add eax, dword [ebp + 0xc0]
mov ecx, eax
mov edx, dword [edx]
sub ecx, edx
cmp byte [eax - 1], 0x3b
jne 0x1003d9c8
dec ecx
cmp dword [esp + 0x74], 0
mov eax, 0x1008c2f1
je 0x1003d9d9
mov eax, str._UNIQUE
push edx
push ecx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x28]
call fcn.1004d0a0
add esp, 0x14
mov edi, eax
jmp 0x1003d9f3
xor edi, edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
push edi
push dword [esp + 0x74]
push dword [eax]
mov eax, dword [esp + 0x24]
push dword [ebx]
push str.sqlite_master
mov eax, dword [eax + 0x10]
push dword [eax + ecx]
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
push ebp
call fcn.1004d730
push edi
mov edi, dword [esp + 0x3c]
push edi
call fcn.1003dd80
add esp, 0x28
cmp dword [esp + 0x6c], 0
je 0x1003da72
push dword [esp + 0x70]
push ebx
push ebp
call fcn.10053300
push dword [esp + 0x28]
push ebp
call fcn.1003add0
push dword [ebx]
push str.name_q_AND_typeindex
push edi
call fcn.1004d0a0
push eax
push dword [esp + 0x40]
push esi
call fcn.1005c720
push 1
push 0
push 0x9e
push esi
call fcn.1005c490
add esp, 0x3c
push dword [ebx + 0x2c]
push esi
call fcn.10064d70
add esp, 8
mov eax, dword [esp + 0x6c]
cmp byte [edi + 0xa5], 0
jne 0x1003daa1
test eax, eax
je 0x1003daa1
cmp byte [ebp + 0xc8], 2
jb 0x1003d607
jmp 0x1003d89a
cmp dword [esp + 0x74], 5
jne 0x1003dadd
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1003dadd
cmp byte [ecx + 0x36], 5
je 0x1003dadd
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x1003dacf
cmp byte [eax + 0x36], 5
je 0x1003dacf
mov ecx, eax
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x1003dac0
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x14], eax
mov dword [ecx + 0x14], ebx
jmp 0x1003d8a0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
mov dword [ebx + 0x14], eax
mov dword [ecx + 8], ebx
jmp 0x1003d8a0
cmp ecx, dword [ebx + 0x138]
jb 0x1003db15
cmp ecx, dword [ebx + 0x13c]
jae 0x1003db15
mov eax, dword [ebx + 0x134]
pop edi
pop esi
mov dword [ecx], eax
pop ebp
mov dword [ebx + 0x134], ecx
pop ebx
add esp, 0x4c
ret
push ecx
call sym.sqlite3.dll_sqlite3_free
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret