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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4bf6bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x64], edx
xor edx, edx
push edi
mov edi, dword [eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x3c], edx
cmp dword [eax + 0x18], edx
jne 0x42bd85
cmp dword [0x4c3c38], edx
je 0x42b828
cmp dword [0x4c3c44], edx
jg 0x42bd85
test ecx, ecx
je 0x42b8cb
lea edx, [ebp - 0x48]
mov ecx, ebx
mov edi, eax
call fcn.00429520
mov edi, eax
mov dword [ebp - 0x40], edi
test edi, edi
js 0x42bd85
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
push eax
push ecx
call fcn.00447bc0
add esp, 8
test ebx, ebx
je 0x42b880
test dword [ebx + 4], 0xfffffffe
jne 0x42b880
test eax, eax
je 0x42b880
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 4]
mov edx, dword [eax + 0x3c]
cmp edx, dword [ecx + 0x2c]
jne 0x42b880
mov edi, 1
mov dword [ebp - 0x40], edi
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x28]
push eax
push str.index
mov ecx, edi
lea eax, [ebp - 0x74]
call fcn.0043bc00
mov ebx, dword [ebp - 0x44]
add esp, 8
test eax, eax
je 0x42b8ad
lea ecx, [ebp - 0x74]
push ebx
push ecx
call fcn.0043bc40
add esp, 8
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
push edx
push eax
push esi
call fcn.00428480
add esp, 0xc
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x42bd85
jmp 0x42b8f2
mov ecx, eax
mov eax, dword [ecx + 0xa4]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x42bd85
mov edx, eax
mov esi, dword [edx + 0x3c]
mov ecx, edi
call fcn.00417180
mov esi, dword [ebp - 0x28]
mov edi, eax
mov dword [ebp - 0x40], edi
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 4]
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
add eax, eax
add ecx, eax
cmp dword [esi + 0x18], 0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x38], ecx
jne 0x42bd85
mov esi, dword [ebp - 0x2c]
cmp byte [esi + 0x1c], 0
je 0x42b935
mov edx, dword [esi]
mov eax, dword [ebp - 0x28]
push edx
push str.table__s_may_not_be_indexed
push eax
call fcn.00418810
add esp, 0xc
jmp 0x42bd85
cmp dword [esi + 0x18], 0
je 0x42b951
mov ecx, dword [ebp - 0x28]
push str.views_may_not_be_indexed
push ecx
call fcn.00418810
add esp, 8
jmp 0x42bd85
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x42ba12
call fcn.00429340
mov edx, dword [ebp - 0x28]
push edx
mov dword [ebp - 0x34], eax
call fcn.00416f80
add esp, 4
test eax, eax
jne 0x42bd85
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x42bd85
mov esi, dword [ebp - 0x28]
call fcn.00429560
test eax, eax
jne 0x42bd85
mov edi, dword [ebp - 0x30]
cmp byte [edi + 0x44], al
jne 0x42ba68
push esi
call fcn.00416f80
add esp, 4
test eax, eax
jne 0x42bd85
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
push ecx
push edx
push edi
call fcn.00428500
add esp, 0xc
test eax, eax
je 0x42b9e8
cmp dword [ebp + 0x24], 0
jne 0x42bd85
mov eax, dword [ebp - 0x34]
push eax
push str.index__s_already_exists
push esi
call fcn.00418810
add esp, 0xc
jmp 0x42bd85
mov ecx, dword [ebp - 0x34]
push 0
push ecx
push edi
call fcn.00428380
add esp, 0xc
test eax, eax
je 0x42ba68
mov edx, dword [ebp - 0x34]
push edx
push str.there_is_already_a_table_named__s
push esi
call fcn.00418810
add esp, 0xc
jmp 0x42bd85
mov eax, dword [esi + 0x10]
mov ecx, 1
test eax, eax
je 0x42ba28
mov edi, edi
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x42ba20
push ecx
lea eax, [ebp - 0x24]
push 0x4afa0c
push eax
call fcn.0047ca58
add esp, 0xc
push 0
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x34], 0
mov edx, dword [esi]
push edx
lea eax, [ebp - 0x34]
push str.sqlite_autoindex_
push eax
call fcn.00418620
add esp, 0x14
cmp dword [ebp - 0x34], 0
je 0x42bd85
mov esi, dword [ebp - 0x28]
cmp dword [ebp - 0x40], 1
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ecx]
mov eax, str.sqlite_temp_master
je 0x42ba7d
mov eax, str.sqlite_master
push ebx
push 0
push eax
push 0x12
mov edi, esi
call fcn.00447b30
add esp, 0x10
test eax, eax
jne 0x42bd85
mov eax, 1
cmp dword [ebp - 0x40], eax
jne 0x42baa4
mov eax, 3
mov ecx, dword [ebp - 0x34]
push ebx
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebx]
push edx
push ecx
push eax
mov edi, esi
call fcn.00447b30
add esp, 0x10
test eax, eax
jne 0x42bd85
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x42bb1a
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
mov eax, dword [eax + edx*4 - 0x14]
mov dword [ebp - 0x58], eax
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42bae0
sub eax, edx
mov edx, dword [ebp - 0x54]
lea ecx, [eax + eax]
and edx, 1
or ecx, edx
push 0
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], ecx
call fcn.00445010
add esp, 8
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x42bd85
mov ecx, dword [eax + 0xc]
mov dl, byte [ebp + 0x20]
mov byte [ecx + 8], dl
mov esi, dword [eax]
test esi, esi
jle 0x42bb4c
mov edi, dword [eax + 0xc]
mov ebx, esi
mov eax, dword [edi]
test eax, eax
je 0x42bb46
mov eax, dword [eax + 4]
mov eax, dword [eax]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42bb33
mov ecx, dword [ebp - 0x3c]
sub eax, edx
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x3c], edx
add edi, 0xc
dec ebx
jne 0x42bb25
mov eax, dword [ebp - 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42bb52
mov ecx, dword [ebp - 0x3c]
sub eax, edx
mov edi, eax
mov eax, esi
imul eax, eax, 0xd
add eax, edi
lea edx, [eax + ecx + 0x35]
push 1
push edx
call fcn.00418480
add esp, 8
mov ebx, eax
call fcn.004193a0
test eax, eax
jne 0x42bd68
lea eax, [ebx + 0x30]
mov dword [ebx + 0x2c], eax
lea eax, [eax + esi*4]
mov dword [ebx + 8], eax
lea eax, [eax + esi*4]
mov dword [ebx + 0xc], eax
lea eax, [eax + esi*4 + 4]
mov dword [ebx + 0x28], eax
add eax, esi
lea ecx, [eax + edi + 1]
mov dword [ebx], eax
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x34]
mov esi, eax
mov edi, edi
mov al, byte [ecx]
mov byte [esi], al
inc ecx
inc esi
test al, al
jne 0x42bbb0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x48], 0
mov dword [ebx + 0x10], edx
mov ecx, dword [eax]
mov dl, byte [ebp + 0x14]
mov dword [ebx + 4], ecx
mov byte [ebx + 0x18], dl
mov edx, dword [ebp - 0x30]
sete cl
mov byte [ebx + 0x19], cl
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x60]
mov ecx, dword [edx + ecx + 0x14]
mov edx, dword [ebp - 0x38]
mov dword [ebx + 0x24], ecx
mov ecx, dword [edx + 0x14]
cmp byte [ecx + 0x78], 4
mov edx, dword [eax + 0xc]
sbb ecx, ecx
neg ecx
dec ecx
cmp dword [eax], 0
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], edx
jle 0x42bcee
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax + 8]
xor esi, esi
mov dword [ebp - 0x50], ecx
cmp dword [eax + 4], esi
jle 0x42bc40
mov edx, dword [edi]
mov ecx, dword [ebp - 0x50]
call fcn.00418920
test eax, eax
je 0x42bc40
mov edx, dword [ebp - 0x2c]
inc esi
add edi, 0x14
cmp esi, dword [edx + 4]
jl 0x42bc26
mov ecx, dword [ebp - 0x2c]
cmp esi, dword [ecx + 4]
jge 0x42bd4d
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x38]
mov dword [eax + edx*4], esi
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x42bc89
mov edi, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov esi, edi
mov al, byte [ecx]
mov byte [esi], al
inc ecx
inc esi
test al, al
jne 0x42bc68
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42bc77
sub eax, edx
lea edx, [edi + eax + 1]
mov dword [ebp - 0x5c], edx
jmp 0x42bc9f
mov ecx, dword [ecx + 8]
lea eax, [esi + esi*4]
mov edi, dword [ecx + eax*4 + 0xc]
test edi, edi
jne 0x42bc9f
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x18]
mov edi, dword [eax]
mov ecx, dword [ebp - 0x30]
cmp byte [ecx + 0x44], 0
jne 0x42bcc1
mov edx, dword [ebp - 0x28]
push edx
or eax, 0xffffffff
mov ecx, edi
call fcn.00429f20
add esp, 4
test eax, eax
je 0x42bd68
mov esi, dword [ebp - 0x38]
mov eax, dword [ebx + 0x2c]
mov dword [eax + esi*4], edi
mov edi, dword [ebp - 0x3c]
mov cl, byte [edi + 8]
and cl, byte [ebp - 0x54]
mov edx, dword [ebx + 0x28]
mov eax, dword [ebp - 0x4c]
mov byte [esi + edx], cl
inc esi
add edi, 0xc
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edi
cmp esi, dword [eax]
jl 0x42bc10
mov edx, ebx
call fcn.0042c0b0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [edx + 0xa4]
jne 0x42be12
mov ecx, eax
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x42be12
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 4]
jne 0x42be07
xor edx, edx
mov dword [ebp - 0x38], edx
test eax, eax
jle 0x42be02
mov esi, dword [ebx + 0x2c]
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebx + 8]
sub eax, esi
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 8]
sub eax, esi
sub ecx, esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
jmp 0x42bdc6
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
push ecx
mov ecx, dword [ebp - 0x28]
push eax
push str.table__s_has_no_column_named__s
push ecx
call fcn.00418810
add esp, 0x10
test ebx, ebx
je 0x42bd85
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x42bd7c
push eax
call fcn.0047c501
add esp, 4
push ebx
call fcn.0047c501
add esp, 4
mov ebx, dword [ebp - 0x4c]
call fcn.00445150
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0042c710
mov eax, dword [ebp - 0x34]
add esp, 4
test eax, eax
je 0x42bda9
push eax
call fcn.0047c501
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047bd9c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi]
cmp eax, dword [ecx + esi]
jne 0x42be02
mov ecx, dword [edi + 0x28]
mov eax, dword [ebx + 0x28]
mov cl, byte [edx + ecx]
cmp cl, byte [edx + eax]
jne 0x42be02
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + esi]
mov eax, dword [esi]
cmp ecx, eax
je 0x42bdf6
mov edx, eax
call fcn.00418920
mov edx, dword [ebp - 0x38]
test eax, eax
jne 0x42be02
inc edx
add esi, 4
mov dword [ebp - 0x38], edx
cmp edx, dword [edi + 4]
jl 0x42bdc0
cmp edx, dword [edi + 4]
je 0x42be66
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x42bd14
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0x44], 0
je 0x42bea5
mov edx, dword [ebx]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42be26
mov ecx, dword [ebx + 0x24]
sub eax, esi
push ebx
inc eax
push edx
add ecx, 0x20
call fcn.00423840
add esp, 8
test eax, eax
jne 0x42bd68
mov eax, dword [ebp - 0x30]
or dword [eax + 8], 0x10
cmp dword [ebp - 0x44], 0
je 0x42bfe1
mov ecx, eax
mov edx, dword [ecx + 0x40]
mov dword [ebx + 0x14], edx
jmp 0x42bfe1
mov al, byte [edi + 0x18]
mov cl, byte [ebx + 0x18]
cmp al, cl
je 0x42bd68
cmp al, 0x63
je 0x42be90
cmp cl, 0x63
je 0x42be90
mov ecx, dword [ebp - 0x28]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push ecx
call fcn.00418810
add esp, 0xc
cmp byte [edi + 0x18], 0x63
jne 0x42bd68
mov dl, byte [ebx + 0x18]
mov byte [edi + 0x18], dl
jmp 0x42bd68
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + 0x20]
lea eax, [edi + 1]
mov dword [ebp - 0x54], edi
mov dword [esi + 0x20], eax
call fcn.00441860
mov esi, eax
test esi, esi
je 0x42bd68
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x28]
push 1
call fcn.0042cc80
mov ecx, dword [ebp - 0x40]
add esp, 4
push 0
push ecx
push 0x2c
mov eax, esi
call fcn.00424af0
add esp, 0xc
push 0
push edi
push 0x6c
mov eax, esi
call fcn.00424af0
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x42bf2f
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x42bf2f
cmp dword [ebp + 0x14], 0
mov ecx, 0x4a7b2e
je 0x42bf11
mov ecx, str._UNIQUE
mov eax, dword [ebp - 0x48]
mov edi, dword [eax]
mov edx, dword [edx]
sub edx, edi
push edi
inc edx
push edx
push ecx
push str.CREATE_s_INDEX__.s
call fcn.00431540
add esp, 0x10
mov edi, eax
jmp 0x42bf31
xor edi, edi
cmp dword [ebp - 0x40], 1
mov eax, str.sqlite_temp_master
je 0x42bf41
mov eax, str.sqlite_master
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ebx]
push edi
push edx
mov edx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x60]
push eax
mov eax, dword [edx + 4]
mov edx, dword [ecx + eax]
mov eax, dword [ebp - 0x28]
push edx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q_0__Q__
push eax
call fcn.004282d0
add esp, 0x1c
push 0
push 1
push 0x1a
mov eax, esi
call fcn.00424af0
add esp, 0xc
test edi, edi
je 0x42bf87
push edi
call fcn.0047c501
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x42bfe1
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x28]
push ecx
push ebx
push edx
call fcn.0042b460
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
add esp, 0xc
push edi
mov eax, esi
call fcn.00429fc0
mov eax, dword [ebx]
add esp, 4
push 0xffffffffffffffff
push ecx
push eax
push str.name_q
call fcn.00431540
add esp, 0xc
push eax
xor eax, eax
mov ecx, edi
lea edx, [eax + 0x76]
mov edi, esi
call fcn.00424b60
push 0
push 0
push 0x12
mov eax, esi
call fcn.00424af0
add esp, 0x14
mov ecx, dword [ebp - 0x30]
cmp byte [ecx + 0x44], 0
jne 0x42bff4
cmp dword [ebp - 0x44], 0
jne 0x42bd68
mov ecx, dword [ebp - 0x2c]
mov edx, 5
cmp dword [ebp + 0x14], edx
jne 0x42c031
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x42c031
cmp byte [eax + 0x18], dl
je 0x42c031
cmp dword [eax + 0x20], 0
je 0x42c023
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], dl
je 0x42c023
mov eax, ecx
cmp dword [eax + 0x20], 0
jne 0x42c013
mov edx, dword [eax + 0x20]
mov dword [ebx + 0x20], edx
mov dword [eax + 0x20], ebx
jmp 0x42bd85
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x20], eax
mov dword [ecx + 0x10], ebx
jmp 0x42bd85