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

Disassembly:
sub esp, 0x40
push ebx
mov ebx, eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
push ebp
xor ebp, ebp
cmp byte [eax + 0x36], 0
push esi
push edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
jne 0x43abe3
mov ecx, dword [esp + 0x54]
cmp byte [ecx + 0x1cd], 0
jne 0x43abe3
mov esi, eax
cmp byte [esi + 0x7d], 0
mov edi, ecx
jne 0x43a5a6
lea edx, [edi + 4]
push edx
call fcn.004497f0
add esp, 4
cmp eax, ebp
je 0x43a5a6
add dword [edi + 0x44], 1
mov dword [edi + 0xc], eax
jmp 0x43abe3
cmp dword [esp + 0x5c], ebp
je 0x43a71d
mov edx, dword [esp + 0x58]
push edi
lea ecx, [esp + 0x24]
mov eax, ebx
call fcn.00437f00
add esp, 4
cmp eax, ebp
mov dword [esp + 0x18], eax
jl 0x43abe3
mov edi, dword [esp + 0x5c]
mov ebp, esi
cmp byte [ebp + 0x7d], 0
mov esi, dword [esp + 0x54]
jne 0x43a607
push esi
mov eax, edi
call fcn.0043c890
add esp, 4
cmp dword [ebx + 4], 0
jne 0x43a607
test eax, eax
je 0x43a607
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0x44]
cmp edx, dword [ecx + 0x1c]
jne 0x43a607
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push str.index
lea ecx, [esp + 0x48]
call fcn.00436b20
add esp, 8
test eax, eax
je 0x43a62f
push edi
push ecx
call fcn.00436b50
add esp, 8
mov edx, dword [edi + 0xc]
mov ebx, dword [edi + 8]
push edx
push 0
mov eax, esi
call fcn.004376f0
add esp, 8
test eax, eax
mov dword [esp + 0x14], eax
je 0x43abe3
mov eax, ebp
cmp byte [eax + 0x36], 0
jne 0x43abe3
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ebp, dword [ecx + 0x10]
mov edi, dword [ebx]
shl eax, 4
push 7
add ebp, eax
push str.sqlite_
push edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], ebp
call fcn.00408fb0
add esp, 0xc
test eax, eax
jne 0x43a767
mov eax, 9
mov ecx, str.altertab_
lea edx, [edi + 7]
lea ecx, [ecx]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x43a6bc
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x43a6a0
test eax, eax
je 0x43a74a
movzx ebp, byte [ecx]
movzx esi, byte [edx]
sub esi, ebp
jne 0x43a70b
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43a746
movzx ebp, byte [ecx]
movzx esi, byte [edx]
sub esi, ebp
jne 0x43a70b
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43a746
movzx ebp, byte [ecx]
movzx esi, byte [edx]
sub esi, ebp
jne 0x43a70b
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43a746
movzx eax, byte [ecx]
movzx esi, byte [edx]
sub esi, eax
je 0x43a746
test esi, esi
mov ebp, dword [esp + 0x24]
mov eax, 1
jg 0x43a74c
or eax, 0xffffffff
jmp 0x43a74c
mov edi, dword [edi + 0x1f4]
cmp edi, ebp
mov dword [esp + 0x14], edi
je 0x43abe3
mov ecx, dword [esp + 0x10]
mov ebx, edi
mov esi, dword [ebx + 0x44]
call fcn.00449b60
mov dword [esp + 0x18], eax
jmp 0x43a65e
mov ebp, dword [esp + 0x24]
xor eax, eax
test eax, eax
je 0x43a767
push edi
mov edi, dword [esp + 0x58]
push str.table__s_may_not_be_indexed
call fcn.00408e60
add esp, 8
jmp 0x43abe3
cmp dword [ebx + 0x1c], 0
je 0x43a783
mov edi, dword [esp + 0x54]
push str.views_may_not_be_indexed
call fcn.00408e60
add esp, 4
jmp 0x43abe3
test byte [ebx + 0x22], 0x10
je 0x43a79f
mov edi, dword [esp + 0x54]
push str.virtual_tables_may_not_be_indexed
call fcn.00408e60
add esp, 4
jmp 0x43abe3
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43a849
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00437d30
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x43abe3
mov esi, eax
mov eax, dword [esp + 0x54]
call fcn.00437f90
test eax, eax
jne 0x43abe3
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x7d], al
jne 0x43a806
push eax
push esi
push edi
call fcn.004375e0
add esp, 0xc
test eax, eax
je 0x43a806
mov edi, dword [esp + 0x54]
push esi
push str.there_is_already_a_table_named__s
call fcn.00408e60
add esp, 8
jmp 0x43abe3
mov edx, dword [ebp]
push edx
push esi
mov ecx, edi
call fcn.00437780
add esp, 8
test eax, eax
je 0x43a87e
cmp dword [esp + 0x74], 0
jne 0x43a837
mov edi, dword [esp + 0x54]
push esi
push str.index__s_already_exists
call fcn.00408e60
add esp, 8
jmp 0x43abe3
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
call fcn.0043b980
jmp 0x43abe3
mov eax, dword [ebx + 0x10]
test eax, eax
mov ecx, 1
je 0x43a85f
mov eax, dword [eax + 0x14]
add ecx, 1
test eax, eax
jne 0x43a855
mov esi, dword [esp + 0x10]
push ecx
push edi
push str.sqlite_autoindex__s__d
call fcn.004082f0
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], eax
je 0x43abe3
mov esi, dword [ebp]
mov ebx, 1
cmp dword [esp + 0x18], ebx
mov eax, str.sqlite_temp_master
je 0x43a896
mov eax, str.sqlite_master
push esi
push 0
push eax
mov eax, dword [esp + 0x60]
push 0x12
call fcn.00437030
add esp, 0x10
test eax, eax
jne 0x43abe3
cmp dword [esp + 0x18], ebx
mov eax, ebx
jne 0x43a8bd
mov eax, 3
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x1c]
push esi
push edx
push ecx
push eax
mov eax, dword [esp + 0x64]
call fcn.00437030
add esp, 0x10
test eax, eax
jne 0x43abe3
mov edi, dword [esp + 0x60]
test edi, edi
jne 0x43a940
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax + edx*8 - 0x18]
mov dword [esp + 0x30], ecx
call fcn.00408d90
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
push edi
xor ecx, ecx
call fcn.00430c60
add esp, 4
test eax, eax
mov dword [esp + 0x60], eax
je 0x43abe3
mov ecx, dword [esp + 0x54]
push edi
mov edi, eax
push ecx
lea edx, [esp + 0x38]
mov ecx, edi
call fcn.00430d10
mov edx, dword [edi + 8]
mov al, byte [esp + 0x78]
add esp, 8
mov byte [edx + 0xc], al
mov esi, dword [edi]
test esi, esi
jle 0x43a977
mov edi, dword [edi + 8]
mov edx, esi
jmp 0x43a950
mov eax, dword [edi]
test eax, eax
je 0x43a970
mov eax, dword [eax + 0x14]
test eax, eax
je 0x43a970
mov ecx, dword [eax]
call fcn.00408d90
mov ecx, dword [esp + 0x28]
lea eax, [ecx + eax + 1]
mov dword [esp + 0x28], eax
add edi, 0x14
sub edx, ebx
jne 0x43a950
mov ecx, dword [esp + 0x1c]
call fcn.00408d90
mov ebx, eax
mov eax, dword [esp + 0x28]
lea ecx, [esi*4 + 0xb]
and ecx, 0xfffffff8
add ecx, ebx
lea edx, [esi + esi*8]
add edx, ecx
lea edi, [edx + eax + 0x31]
mov eax, dword [esp + 0x10]
call fcn.00406f00
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x36], 0
mov ebp, eax
jne 0x43abc8
lea eax, [ebp + 0x30]
mov dword [ebp + 8], eax
lea edx, [esi*4 + 8]
and edx, 0xfffffff8
add eax, edx
mov edx, dword [esp + 0x1c]
mov dword [ebp + 0x20], eax
lea eax, [eax + esi*4]
mov dword [ebp + 4], eax
lea eax, [eax + esi*4]
mov dword [ebp + 0x1c], eax
add eax, esi
lea ecx, [eax + ebx + 1]
add ebx, 1
push ebx
push edx
push eax
mov dword [ebp], eax
mov dword [esp + 0x38], ecx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x6c]
mov dword [ebp + 0xc], eax
mov edx, dword [ecx]
mov al, byte [esp + 0x70]
add esp, 0xc
cmp dword [esp + 0x20], 0
mov dword [ebp + 0x24], edx
mov edx, dword [esp + 0x10]
sete cl
mov byte [ebp + 0x2c], al
mov byte [ebp + 0x2d], cl
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + eax + 0xc]
mov eax, dword [esp + 0x24]
mov dword [ebp + 0x18], edx
mov ecx, dword [eax + 0xc]
cmp byte [ecx + 0x4c], 4
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 8]
sbb ebx, ebx
neg ebx
xor edi, edi
sub ebx, 1
cmp dword [eax], edi
mov dword [esp + 0x28], edx
jle 0x43ab54
nop
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
xor esi, esi
cmp dword [ecx + 8], esi
mov dword [esp + 0x24], edx
jle 0x43aa98
lea ecx, [ecx]
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov ecx, dword [esp + 0x30]
call fcn.00408f60
test eax, eax
je 0x43aa94
mov ecx, dword [esp + 0x14]
add dword [esp + 0x24], 0x18
add esi, 1
cmp esi, dword [ecx + 8]
jl 0x43aa70
mov ecx, dword [esp + 0x14]
cmp esi, dword [ecx + 8]
jge 0x43aba7
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x28]
mov dword [edx + edi*4], esi
mov eax, dword [eax]
test eax, eax
je 0x43aae3
mov eax, dword [eax + 0x14]
test eax, eax
je 0x43aae3
mov ecx, dword [eax]
call fcn.00408d90
mov esi, eax
add esi, 1
push esi
push ecx
mov ecx, dword [esp + 0x34]
push ecx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x38]
add esp, 0xc
mov dword [esp + 0x24], eax
add eax, esi
mov dword [esp + 0x2c], eax
jmp 0x43ab02
mov eax, dword [ecx + 0xc]
lea edx, [esi + esi*2]
mov eax, dword [eax + edx*8 + 0x10]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x43ab02
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x7d], 0
jne 0x43ab25
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
push edx
call fcn.00438970
add esp, 4
test eax, eax
je 0x43abc8
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [eax + edi*4], ecx
mov eax, dword [esp + 0x28]
mov dl, byte [eax + 0xc]
mov ecx, dword [ebp + 0x1c]
and dl, bl
mov byte [edi + ecx], dl
mov edx, dword [esp + 0x60]
add edi, 1
add eax, 0x14
cmp edi, dword [edx]
mov dword [esp + 0x28], eax
jl 0x43aa50
mov edx, ebp
call fcn.0043ae80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
cmp eax, dword [ecx + 0x1f4]
jne 0x43ac5f
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x43ac5f
lea ebx, [ebx]
mov eax, dword [ebx + 0x24]
cmp eax, dword [ebp + 0x24]
jne 0x43ac54
xor esi, esi
test eax, eax
jle 0x43ac4f
mov edi, dword [ebp + 4]
mov ecx, dword [ebx + 4]
sub ecx, edi
mov dword [esp + 0x30], ecx
jmp 0x43ac24
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edi, dword [esp + 0x54]
push eax
push edx
push str.table__s_has_no_column_named__s
call fcn.00408e60
add esp, 0xc
mov byte [edi + 0x11], 1
test ebp, ebp
je 0x43abe3
mov esi, dword [esp + 0x10]
mov eax, dword [ebp + 0x10]
mov ecx, esi
call fcn.00406d00
mov eax, ebp
mov ecx, esi
call fcn.00406d00
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x10]
push ecx
mov edi, esi
call fcn.00430e00
mov edx, dword [esp + 0x60]
add esp, 4
push edx
call fcn.0043b430
mov eax, dword [esp + 0x20]
add esp, 4
mov ecx, esi
call fcn.00406d00
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov ecx, dword [esp + 0x30]
lea eax, [edi + esi*4]
mov edx, dword [ecx + eax]
cmp edx, dword [eax]
jne 0x43ac4f
mov eax, dword [ebx + 0x20]
mov edx, dword [ebp + 0x20]
mov ecx, dword [eax + esi*4]
mov edx, dword [edx + esi*4]
cmp ecx, edx
je 0x43ac47
call fcn.00408f60
test eax, eax
jne 0x43ac4f
add esi, 1
cmp esi, dword [ebx + 0x24]
jl 0x43ac20
cmp esi, dword [ebx + 0x24]
je 0x43ac92
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x43ab80
mov esi, dword [esp + 0x10]
cmp byte [esi + 0x7d], 0
je 0x43acf0
mov ecx, dword [ebp]
push ebp
call fcn.00408d90
push ecx
mov ecx, dword [ebp + 0x18]
add ecx, 0x18
call fcn.0040a190
add esp, 8
test eax, eax
je 0x43acd1
mov byte [esi + 0x36], 1
jmp 0x43abc8
mov al, byte [ebx + 0x2c]
mov cl, byte [ebp + 0x2c]
cmp al, cl
je 0x43abc8
cmp al, 0x63
je 0x43acbc
cmp cl, 0x63
je 0x43acbc
mov edi, dword [esp + 0x54]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.00408e60
add esp, 8
cmp byte [ebx + 0x2c], 0x63
jne 0x43abc8
mov al, byte [ebp + 0x2c]
mov byte [ebx + 0x2c], al
jmp 0x43abc8
or dword [esi + 0x18], 0x200
cmp dword [esp + 0x5c], 0
je 0x43ae10
mov ecx, esi
mov edx, dword [ecx + 0x78]
mov dword [ebp + 0x28], edx
jmp 0x43ae10
mov edi, dword [esp + 0x54]
add dword [edi + 0x4c], 1
mov ebx, dword [edi + 0x4c]
mov dword [esp + 0x30], ebx
call fcn.0044c340
mov esi, eax
test esi, esi
mov dword [esp + 0x2c], esi
je 0x43abc8
mov ecx, dword [esp + 0x18]
push 1
mov eax, edi
call fcn.0043ba70
mov edi, dword [esp + 0x1c]
add esp, 4
push ebx
push edi
push 0x68
mov eax, esi
call fcn.00421c40
add esp, 0xc
cmp dword [esp + 0x68], 0
je 0x43ad75
cmp dword [esp + 0x64], 0
mov eax, 0x47403c
je 0x43ad4c
mov eax, str._UNIQUE
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov esi, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x70]
mov edx, dword [edx]
sub edx, dword [ecx]
add edx, 1
push edx
push eax
push str.CREATE_s_INDEX__.s
call fcn.004082f0
add esp, 0x10
mov esi, eax
jmp 0x43ad77
xor esi, esi
cmp edi, 1
mov eax, str.sqlite_temp_master
je 0x43ad86
mov eax, str.sqlite_master
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push esi
mov ecx, ebx
mov ebx, dword [esp + 0x58]
push ecx
mov ecx, dword [edx]
mov edx, dword [ebp]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
mov eax, dword [edi + 0x10]
mov edx, dword [ecx + eax]
push edx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
call fcn.00437520
add esp, 0x1c
mov eax, esi
mov ecx, edi
call fcn.00406d00
cmp dword [esp + 0x5c], 0
je 0x43ae10
mov eax, dword [esp + 0x30]
push eax
push ebp
call fcn.0043a1a0
mov ecx, dword [esp + 0x20]
push ecx
mov esi, ebx
call fcn.004389f0
mov edx, dword [ebp]
add esp, 0xc
push edx
push str.name_q_AND_typeindex
mov esi, edi
call fcn.004082f0
mov esi, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.00421d10
push 0
push 0x81
mov eax, esi
call fcn.00421bf0
add esp, 0x18
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x7d], 0
jne 0x43ae25
cmp dword [esp + 0x5c], 0
jne 0x43abc8
mov ecx, dword [esp + 0x14]
mov edx, 5
cmp dword [esp + 0x64], edx
jne 0x43ae68
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x43ae68
cmp byte [eax + 0x2c], dl
je 0x43ae68
cmp dword [eax + 0x14], 0
je 0x43ae56
mov ecx, dword [eax + 0x14]
cmp byte [ecx + 0x2c], dl
je 0x43ae56
mov eax, ecx
cmp dword [eax + 0x14], 0
jne 0x43ae46
mov edx, dword [eax + 0x14]
mov dword [ebp + 0x14], edx
mov dword [eax + 0x14], ebp
mov dword [esp + 0x3c], ebp
jmp 0x43abe3
mov eax, dword [ecx + 0x10]
mov dword [ebp + 0x14], eax
mov dword [ecx + 0x10], ebp
mov dword [esp + 0x3c], ebp
jmp 0x43abe3