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

Disassembly:
sub esp, 0x54
push ebx
push ebp
xor eax, eax
push esi
push edi
mov edi, dword [esp + 0x68]
mov ebx, dword [edi]
cmp byte [ebx + 0x41], al
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
jne 0x43ae80
cmp dword [edi + 0x40], eax
jg 0x43ae80
cmp byte [ebx + 0x91], al
jne 0x43a922
lea eax, [edi + 4]
push eax
push ebx
call fcn.0044e900
add esp, 8
test eax, eax
je 0x43a922
add dword [edi + 0x40], 1
mov dword [edi + 0xc], eax
jmp 0x43ae84
cmp dword [esp + 0x74], 0
je 0x43a9c7
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
lea edx, [esp + 0x34]
mov ecx, edi
call fcn.00421040
test eax, eax
mov dword [esp + 0x20], eax
jl 0x43ae80
mov ecx, dword [esp + 0x34]
push ecx
mov edx, eax
mov ecx, edi
lea eax, [esp + 0x4c]
call fcn.00402fd0
mov esi, dword [esp + 0x78]
add esp, 4
mov edx, eax
push esi
push edx
call fcn.00421130
add esi, 8
push esi
push 0
mov eax, edi
call fcn.004239d0
mov ebp, eax
add esp, 0x10
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x43ae80
cmp dword [esp + 0x20], 1
jne 0x43a9b4
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x1c]
cmp ecx, dword [ebp + 0x2c]
je 0x43a9b4
mov edx, dword [ebp]
push edx
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
call fcn.0041f440
add esp, 8
jmp 0x43ae84
test byte [ebp + 0x26], 0x20
je 0x43a9e7
mov eax, ebp
call fcn.00402f80
mov dword [esp + 0x30], eax
jmp 0x43a9e7
mov ebp, dword [edi + 0x1cc]
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x43ae80
mov esi, dword [ebp + 0x2c]
mov ecx, ebx
call fcn.00402c60
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebp]
shl eax, 4
add ecx, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ecx
mov ecx, 7
mov eax, str.sqlite_
mov edx, esi
call fcn.00406170
test eax, eax
jne 0x43aa42
cmp byte [ebx + 0x91], al
jne 0x43aa42
lea ecx, [eax + 9]
lea edx, [esi + 7]
mov eax, str.altertab_
call fcn.00406170
test eax, eax
je 0x43aa42
push esi
push str.table__s_may_not_be_indexed
call fcn.0041f440
add esp, 8
jmp 0x43ae84
mov eax, dword [esp + 0x34]
test eax, eax
je 0x43aadd
call fcn.00412580
test eax, eax
mov dword [esp + 0x1c], eax
je 0x43ae84
mov esi, eax
mov eax, edi
call fcn.00420ff0
test eax, eax
jne 0x43ae84
cmp byte [ebx + 0x91], al
jne 0x43aa9a
push eax
push esi
push ebx
call fcn.0040cf50
add esp, 0xc
test eax, eax
je 0x43aa9a
push esi
push str.there_is_already_a_table_named__s
call fcn.0041f440
add esp, 8
jmp 0x43ae84
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
push ecx
push esi
mov eax, ebx
call fcn.0040cec0
add esp, 8
test eax, eax
je 0x43ab17
cmp dword [esp + 0x8c], 0
jne 0x43aacd
push esi
push str.index__s_already_exists
call fcn.0041f440
add esp, 8
jmp 0x43ae84
mov ecx, dword [esp + 0x20]
mov edx, edi
call fcn.00438850
jmp 0x43ae84
mov eax, dword [ebp + 8]
test eax, eax
mov ecx, 1
je 0x43aafa
lea esp, [esp]
mov eax, dword [eax + 0x14]
add ecx, 1
test eax, eax
jne 0x43aaf0
push ecx
push esi
push str.sqlite_autoindex__s__d
mov esi, ebx
call fcn.0041f570
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], eax
je 0x43ae84
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x43ab63
push ecx
push ecx
mov eax, edi
call fcn.00414980
add esp, 8
test eax, eax
mov dword [esp + 0x78], eax
je 0x43ae84
movsx eax, word [ebp + 0x1e]
lea edx, [eax + eax*2]
mov eax, dword [ebp + 4]
mov ebx, dword [eax + edx*8 - 0x18]
mov eax, dword [edi]
call fcn.00411fe0
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 4]
mov dl, byte [esp + 0x88]
mov byte [eax + 0xc], dl
mov eax, dword [ecx]
test eax, eax
jle 0x43ab90
mov esi, dword [ecx + 4]
mov ebx, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x43ab84
mov eax, dword [eax + 8]
call fcn.004062f0
lea ebx, [ebx + eax + 1]
add esi, 0x18
sub edi, 1
jne 0x43ab72
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x43ab9c
xor esi, esi
jmp 0x43abb2
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43aba0
sub eax, edx
and eax, 0x3fffffff
mov esi, eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x43abc0
movzx eax, word [eax + 0x2e]
jmp 0x43abc5
mov eax, 1
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esi + edx + 1]
mov edx, dword [esp + 0x7c]
movzx edx, word [edx]
add dx, ax
push edx
push edi
call fcn.00410010
add esp, 0xc
cmp byte [edi + 0x41], 0
mov ebp, eax
jne 0x43ae71
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [ebp], eax
mov edx, dword [ebp]
lea eax, [eax + esi + 1]
add esi, 1
push esi
push ecx
push edx
mov dword [esp + 0x34], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x88]
xor ecx, ecx
add esp, 0xc
test eax, eax
setne cl
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x78]
xor edx, edx
mov byte [ebp + 0x32], al
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0xc], esi
and ecx, 1
add ecx, ecx
add ecx, ecx
add ecx, ecx
cmp dword [esp + 0x34], edx
sete dl
and eax, 0xfffffff4
and edx, 3
or ecx, edx
or ecx, eax
mov eax, dword [esp + 0x40]
mov dword [ebp + 0x34], ecx
mov ecx, edi
mov edx, dword [ecx + 0x10]
mov ecx, dword [eax + edx + 0xc]
mov edi, dword [esp + 0x84]
test edi, edi
mov dword [ebp + 0x18], ecx
mov dx, word [ebx]
mov word [ebp + 0x2e], dx
je 0x43ac96
mov eax, dword [esp + 0x68]
push edi
push eax
call fcn.00437d90
add esp, 8
mov dword [ebp + 0x24], edi
mov dword [esp + 0x84], 0
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0xc]
cmp byte [edx + 0x4c], 4
sbb eax, eax
neg eax
sub eax, 1
xor edi, edi
cmp dword [ebx], edi
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], eax
jle 0x43addb
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 4]
movsx eax, word [eax + 0x1e]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x3c], edx
jle 0x43ad01
lea ecx, [ecx]
mov eax, dword [esi]
mov ecx, dword [esp + 0x3c]
call fcn.004061e0
test eax, eax
je 0x43ad01
mov eax, dword [esp + 0x14]
movsx ecx, word [eax + 0x1e]
add ebx, 1
add esi, 0x18
cmp ebx, ecx
jl 0x43ace0
mov ecx, dword [esp + 0x14]
movsx eax, word [ecx + 0x1e]
cmp ebx, eax
jge 0x43ae50
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x2c]
mov word [edx + edi*2], bx
mov eax, dword [eax]
test eax, eax
je 0x43ad62
mov edx, dword [eax + 8]
test edx, edx
jne 0x43ad2d
xor eax, eax
jmp 0x43ad42
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43ad32
sub eax, esi
and eax, 0x3fffffff
mov esi, dword [esp + 0x28]
add eax, 1
push eax
push edx
push esi
mov dword [esp + 0x48], eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0x48]
add esp, 0xc
add dword [esp + 0x28], ecx
jmp 0x43ad75
mov eax, dword [ecx + 4]
lea edx, [ebx + ebx*2]
mov esi, dword [eax + edx*8 + 0x10]
test esi, esi
jne 0x43ad75
mov esi, str.BINARY
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x91], 0
jne 0x43ad97
mov edi, dword [esp + 0x68]
call fcn.00420c20
test eax, eax
je 0x43ae71
mov edi, dword [esp + 0x38]
mov edx, dword [ebp + 0x20]
mov eax, dword [esp + 0x2c]
mov dword [edx + edi*4], esi
mov cl, byte [eax + 0xc]
and cl, byte [esp + 0x44]
mov edx, dword [ebp + 0x1c]
mov byte [edi + edx], cl
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
lea eax, [ebx + ebx*2]
cmp byte [edx + eax*8 + 0x14], 0
jne 0x43adc3
and dword [ebp + 0x34], 0xfffffff7
mov eax, dword [esp + 0x78]
add dword [esp + 0x2c], 0x18
add edi, 1
cmp edi, dword [eax]
mov dword [esp + 0x38], edi
jl 0x43acc1
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x43aef3
xor esi, esi
cmp word [ebx + 0x2e], si
jbe 0x43af06
movzx eax, word [ebp + 0x2e]
test eax, eax
mov ecx, dword [ebx + 4]
movsx edx, word [ecx + esi*2]
mov ecx, dword [ebp + 4]
jle 0x43ae1e
movsx ebx, word [ecx]
sub eax, 1
add ecx, 2
cmp edx, ebx
je 0x43aee4
test eax, eax
jg 0x43ae05
mov ebx, dword [esp + 0x30]
mov eax, dword [ebp + 4]
mov word [eax + edi*2], dx
mov edx, dword [ebx + 0x20]
mov ecx, dword [edx + esi*4]
mov eax, dword [ebp + 0x20]
mov dword [eax + edi*4], ecx
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebp + 0x1c]
mov cl, byte [esi + edx]
mov byte [edi + eax], cl
add edi, 1
movzx edx, word [ebx + 0x2e]
add esi, 1
cmp esi, edx
jl 0x43adf3
jmp 0x43af06
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov edi, dword [esp + 0x68]
push ecx
push eax
push str.table__s_has_no_column_named__s
call fcn.0041f440
add esp, 0xc
mov byte [edi + 0x11], 1
test ebp, ebp
je 0x43ae80
mov eax, dword [esp + 0x18]
mov edi, ebp
call fcn.00410290
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x84]
push eax
push ebx
call fcn.0040e440
mov ecx, dword [esp + 0x80]
push ecx
mov eax, ebx
call fcn.0040e370
mov edx, dword [esp + 0x80]
add esp, 0xc
push edx
mov eax, ebx
call fcn.0040ff00
mov esi, dword [esp + 0x20]
add esp, 4
test esi, esi
je 0x43b2ca
cmp dword [ebx + 0x1d8], 0
je 0x43b264
mov eax, esi
mov esi, ebx
call fcn.0040cda0
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
add word [ebp + 0x30], 0xffff
mov ebx, dword [esp + 0x30]
jmp 0x43ae40
mov eax, dword [ebp + 4]
mov word [eax + edi*2], 0xffff
mov ecx, dword [ebp + 0x20]
mov dword [ecx + edi*4], str.BINARY
mov esi, ebp
call fcn.00402e10
mov edx, dword [esp + 0x68]
cmp dword [edx + 0x1cc], 0
jne 0x43af21
mov edi, ebp
call fcn.00407870
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
cmp eax, dword [ecx + 0x1cc]
jne 0x43afa9
mov edx, eax
mov ebx, dword [edx + 8]
test ebx, ebx
je 0x43afa9
movzx eax, word [ebx + 0x2e]
movzx ecx, word [ebp + 0x2e]
cmp ax, cx
jne 0x43afa2
movzx eax, ax
xor esi, esi
test eax, eax
mov dword [esp + 0x3c], eax
jle 0x43af9c
mov edi, dword [ebp + 4]
mov edx, dword [ebx + 4]
sub edx, edi
mov dword [esp + 0x44], edx
mov ax, word [edx + edi]
cmp ax, word [edi]
jne 0x43af9c
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ecx + esi*4]
mov eax, dword [eax + esi*4]
cmp ecx, eax
je 0x43af8e
call fcn.004061e0
test eax, eax
jne 0x43af9c
mov edx, dword [esp + 0x44]
movzx ecx, word [ebx + 0x2e]
add esi, 1
add edi, 2
cmp esi, ecx
jl 0x43af68
cmp esi, dword [esp + 0x3c]
je 0x43afdb
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x43af42
mov esi, dword [esp + 0x18]
cmp byte [esi + 0x91], 0
je 0x43b033
mov eax, dword [ebp]
mov ecx, dword [ebp + 0x18]
push eax
add ecx, 0x18
mov eax, ebp
call fcn.00411d30
add esp, 4
test eax, eax
je 0x43b016
mov byte [esi + 0x41], 1
jmp 0x43ae71
mov al, byte [ebx + 0x32]
mov cl, byte [ebp + 0x32]
cmp al, cl
je 0x43b00d
cmp al, 0xa
je 0x43b001
cmp cl, 0xa
je 0x43b001
mov edi, dword [esp + 0x68]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.0041f440
add esp, 8
cmp byte [ebx + 0x32], 0xa
jne 0x43b00d
mov dl, byte [ebp + 0x32]
mov byte [ebx + 0x32], dl
mov dword [esp + 0x24], ebx
jmp 0x43ae71
or dword [esi + 0x18], 2
cmp dword [esp + 0x74], 0
je 0x43b1f7
mov ecx, dword [esi + 0x8c]
mov dword [ebp + 0x28], ecx
jmp 0x43b1f7
mov ebx, dword [esp + 0x68]
cmp dword [ebx + 0x40], 0
jne 0x43b1f7
mov edx, dword [esp + 0x14]
test byte [edx + 0x26], 0x20
je 0x43b056
cmp dword [esp + 0x74], 0
je 0x43b1f7
add dword [ebx + 0x48], 1
mov esi, dword [ebx + 8]
test esi, esi
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], esi
jne 0x43b0a4
push ebx
call fcn.00410d70
mov esi, eax
add esp, 4
test esi, esi
mov dword [ebx + 8], eax
mov dword [esp + 0x2c], eax
je 0x43b08f
push 0x9e
call fcn.00417690
add esp, 4
cmp dword [ebx + 0x190], 0
jne 0x43b09c
mov byte [ebx + 0x17], 1
test esi, esi
je 0x43ae71
mov edi, dword [esp + 0x20]
push 1
mov ecx, edi
mov eax, ebx
call fcn.0043a6a0
add esp, 4
push 0x9f
call fcn.00417690
mov ecx, dword [esp + 0x34]
add esp, 4
push ecx
push edi
push 0x79
mov dword [ebp + 0x28], eax
call fcn.004175e0
add esp, 0xc
cmp dword [esp + 0x80], 0
je 0x43b127
mov eax, dword [ebx + 0x1e4]
add eax, dword [ebx + 0x1e0]
mov ecx, dword [esp + 0x34]
sub eax, dword [ecx]
mov ecx, dword [ecx]
cmp byte [ecx + eax - 1], 0x3b
jne 0x43b0fe
sub eax, 1
cmp dword [esp + 0x7c], 0
mov edx, 0x46fb2c
je 0x43b10f
mov edx, str._UNIQUE
mov esi, dword [esp + 0x18]
push ecx
push eax
push edx
push str.CREATE_s_INDEX__.s
call fcn.0041f570
add esp, 0x10
mov esi, eax
jmp 0x43b129
xor esi, esi
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x10]
mov ebx, dword [esp + 0x68]
push esi
push edx
mov edx, dword [ebp]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [ecx + eax]
push str.sqlite_master
push edx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
call fcn.0041f320
add esp, 0x1c
test esi, esi
je 0x43b180
cmp dword [edi + 0x1d8], 0
je 0x43b177
mov eax, esi
mov esi, edi
call fcn.0040cda0
jmp 0x43b180
push esi
call fcn.0040a140
add esp, 4
cmp dword [esp + 0x74], 0
je 0x43b1cf
mov eax, dword [esp + 0x30]
push eax
mov edi, ebx
push ebp
mov eax, edi
call fcn.00434340
mov ebx, dword [esp + 0x28]
push ebx
call fcn.00418a00
mov ecx, dword [ebp]
mov esi, dword [esp + 0x24]
add esp, 0xc
push ecx
push str.name_q_AND_typeindex
call fcn.0041f570
mov esi, dword [esp + 0x34]
push eax
push ebx
call fcn.004195c0
push 0
push 0x93
call fcn.00417640
add esp, 0x18
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x28]
mov edx, dword [eax + 0x20]
cmp edx, ecx
jbe 0x43b1e7
mov esi, dword [eax + 4]
lea ecx, [ecx + ecx*4]
mov dword [esi + ecx*4 + 8], edx
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
mov esi, dword [esp + 0x18]
sub edx, 1
mov dword [eax + 0x58], edx
cmp byte [esi + 0x91], 0
jne 0x43b20b
cmp dword [esp + 0x74], 0
jne 0x43ae71
mov ecx, dword [esp + 0x14]
mov edx, 5
cmp dword [esp + 0x7c], edx
jne 0x43b252
mov eax, dword [ecx + 8]
test eax, eax
je 0x43b252
cmp byte [eax + 0x32], dl
je 0x43b252
cmp dword [eax + 0x14], 0
je 0x43b240
lea esp, [esp]
mov ecx, dword [eax + 0x14]
cmp byte [ecx + 0x32], dl
je 0x43b240
mov eax, ecx
cmp dword [eax + 0x14], 0
jne 0x43b230
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0x14], ecx
mov dword [eax + 0x14], ebp
mov dword [esp + 0x24], ebp
jmp 0x43ae80
mov edx, dword [ecx + 8]
mov dword [ebp + 0x14], edx
mov dword [ecx + 8], ebp
mov dword [esp + 0x24], ebp
jmp 0x43ae80
cmp dword [0x47a008], 0
je 0x43b2c0
mov eax, dword [0x47c4a8]
test eax, eax
je 0x43b280
push eax
call dword [0x47a05c]
add esp, 4
push esi
call dword [0x47a038]
sub dword [0x47c300], eax
sub dword [0x47c324], 1
add esp, 4
push esi
call dword [0x47a030]
mov eax, dword [0x47c4a8]
add esp, 4
test eax, eax
je 0x43b2ca
push eax
call dword [0x47a064]
mov eax, dword [esp + 0x28]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push esi
call dword [0x47a030]
add esp, 4
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret