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

Disassembly:
sub esp, 0x40
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
push ebp
push edi
xor edi, edi
xor ebp, ebp
cmp byte [eax + 0x1e], 0
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], edi
mov dword [esp + 8], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ebp
jne 0x43ad23
mov ecx, dword [esp + 0x4c]
cmp byte [ecx + 0x20c], 0
jne 0x43ad23
push esi
mov esi, ecx
call fcn.00438d00
test eax, eax
jne 0x43ad22
cmp dword [esp + 0x5c], edi
push ebx
je 0x43a823
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
mov edx, esi
push edx
lea ecx, [esp + 0x20]
call fcn.0041d7a0
add esp, 4
test eax, eax
mov dword [esp + 0x20], eax
jl 0x43ad21
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push str.index
lea ecx, [esp + 0x48]
call fcn.00409c00
mov edi, dword [esp + 0x68]
add esp, 8
test eax, eax
je 0x43a7f4
push edi
push ecx
call fcn.0041d800
add esp, 8
mov edx, dword [edi + 0xc]
mov ebx, dword [edi + 8]
push edx
push 0
mov eax, esi
call fcn.00439730
add esp, 8
test eax, eax
mov dword [esp + 0x14], eax
je 0x43ad21
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x1e], 0
jne 0x43ad21
jmp 0x43a849
mov ecx, esi
mov eax, dword [ecx + 0x1f8]
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x43ad21
mov ecx, dword [esp + 0x10]
mov edx, eax
mov esi, dword [edx + 0x40]
call fcn.00409790
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ebx, dword [ecx + 8]
mov esi, dword [esp + 0x14]
mov edi, dword [esi]
shl eax, 4
add ebx, eax
mov dword [esp + 0x38], eax
mov eax, 7
mov edx, str.sqlite_
mov ecx, edi
mov dword [esp + 0x34], ebx
call fcn.0040c3a0
test eax, eax
jne 0x43a92e
mov eax, 9
mov ecx, str.altertab_
lea edx, [edi + 7]
lea ecx, [ecx]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x43a8a8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x43a890
test eax, eax
je 0x43a90d
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x43a8f7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43a909
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x43a8f7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43a909
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x43a8f7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43a909
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x43a909
test esi, esi
mov ebp, dword [esp + 0x28]
mov eax, 1
jg 0x43a90f
or eax, 0xffffffff
jmp 0x43a90f
mov ebp, dword [esp + 0x28]
xor eax, eax
test eax, eax
je 0x43a92a
push edi
mov edi, dword [esp + 0x58]
push str.table__s_may_not_be_indexed
call fcn.0041af70
add esp, 8
jmp 0x43ad21
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x1c], 0
je 0x43a94a
mov edi, dword [esp + 0x54]
push str.views_may_not_be_indexed
call fcn.0041af70
add esp, 4
jmp 0x43ad21
test byte [esi + 0x22], 0x10
je 0x43a966
mov edi, dword [esp + 0x54]
push str.virtual_tables_may_not_be_indexed
call fcn.0041af70
add esp, 4
jmp 0x43ad21
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43aa05
mov edx, dword [esp + 0x10]
call fcn.00415450
test eax, eax
mov dword [esp + 0x18], eax
je 0x43ad21
mov esi, eax
mov eax, dword [esp + 0x54]
call fcn.0041d750
test eax, eax
jne 0x43ad21
mov esi, dword [esp + 0x10]
cmp byte [esi + 0x7c], al
mov edi, dword [esp + 0x18]
jne 0x43a9cd
push eax
push edi
push esi
call fcn.004115b0
add esp, 0xc
test eax, eax
je 0x43a9cd
push edi
mov edi, dword [esp + 0x58]
push str.there_is_already_a_table_named__s
call fcn.0041af70
add esp, 8
jmp 0x43ad21
mov eax, dword [ebx]
push eax
push edi
mov edx, esi
call fcn.00411520
add esp, 8
test eax, eax
je 0x43aa3a
cmp dword [esp + 0x78], 0
jne 0x43ad21
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x54]
push ecx
push str.index__s_already_exists
call fcn.0041af70
add esp, 8
jmp 0x43ad21
mov eax, dword [esi + 0x10]
test eax, eax
mov ecx, 1
je 0x43aa1b
mov eax, dword [eax + 0x20]
add ecx, 1
test eax, eax
jne 0x43aa11
mov esi, dword [esp + 0x10]
push ecx
push edi
push str.sqlite_autoindex__s__d
call fcn.0041b0a0
add esp, 0xc
test eax, eax
mov dword [esp + 0x18], eax
je 0x43ad21
mov edi, dword [esp + 0x64]
test edi, edi
jne 0x43aa9b
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 + 0x2c], ecx
call fcn.0040c510
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
push edi
xor ecx, ecx
call fcn.00416c40
add esp, 4
test eax, eax
mov dword [esp + 0x64], eax
je 0x43ad21
mov ecx, dword [esp + 0x54]
push edi
mov edi, eax
push ecx
lea edx, [esp + 0x34]
mov ecx, edi
call fcn.00415540
mov edx, dword [edi + 0xc]
mov al, byte [esp + 0x7c]
add esp, 8
mov byte [edx + 0xc], al
mov esi, dword [edi]
test esi, esi
jle 0x43aac6
mov edi, dword [edi + 0xc]
mov edx, esi
mov eax, dword [edi]
test eax, eax
je 0x43aabe
mov eax, dword [eax + 0x14]
test eax, eax
je 0x43aabe
mov ecx, dword [eax]
call fcn.0040c510
lea ebp, [eax + ebp + 1]
add edi, 0x14
sub edx, 1
jne 0x43aaa6
mov ecx, dword [esp + 0x18]
call fcn.0040c510
mov ecx, esi
imul ecx, ecx, 0xd
mov ebx, eax
mov eax, dword [esp + 0x10]
add ecx, ebx
lea edi, [ecx + ebp + 0x39]
call fcn.004135c0
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x1e], 0
mov ebp, eax
jne 0x43ad05
mov edx, dword [esp + 0x18]
lea eax, [ebp + 0x34]
mov dword [ebp + 0x2c], eax
lea eax, [eax + esi*4]
mov dword [ebp + 8], eax
lea eax, [eax + esi*4]
mov dword [ebp + 0xc], eax
lea eax, [eax + esi*4 + 4]
mov dword [ebp + 0x28], 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.msvcrt.dll_memcpy
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x70]
mov dword [ebp + 0x10], eax
mov edx, dword [ecx]
mov al, byte [esp + 0x74]
add esp, 0xc
cmp dword [esp + 0x1c], 0
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x10]
sete cl
mov byte [ebp + 0x18], al
mov byte [ebp + 0x19], cl
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + eax + 0xc]
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x24], edx
mov ecx, dword [eax + 0xc]
cmp byte [ecx + 0x48], 4
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 0xc]
sbb ebx, ebx
neg ebx
xor edi, edi
sub ebx, 1
cmp dword [eax], edi
mov dword [esp + 0x28], edx
jle 0x43ac95
jmp 0x43ab90
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], 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 0x43abd8
lea ecx, [ecx]
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov ecx, dword [esp + 0x34]
call fcn.0040c400
test eax, eax
je 0x43abd4
mov ecx, dword [esp + 0x14]
add dword [esp + 0x24], 0x18
add esi, 1
cmp esi, dword [ecx + 8]
jl 0x43abb0
mov ecx, dword [esp + 0x14]
cmp esi, dword [ecx + 8]
jge 0x43ace4
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x28]
mov dword [edx + edi*4], esi
mov eax, dword [eax]
test eax, eax
je 0x43ac23
mov eax, dword [eax + 0x14]
test eax, eax
je 0x43ac23
mov ecx, dword [eax]
call fcn.0040c510
mov esi, eax
add esi, 1
push esi
push ecx
mov ecx, dword [esp + 0x34]
push ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x38]
add esp, 0xc
mov dword [esp + 0x24], eax
add eax, esi
mov dword [esp + 0x2c], eax
jmp 0x43ac42
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 0x43ac42
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x7c], 0
jne 0x43ac66
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
push edx
push eax
call fcn.0041d480
add esp, 8
test eax, eax
je 0x43ad05
mov ecx, dword [ebp + 0x2c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [ecx + edi*4], edx
mov cl, byte [eax + 0xc]
mov edx, dword [ebp + 0x28]
add eax, 0x14
and cl, bl
mov byte [edi + edx], cl
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x64]
add edi, 1
cmp edi, dword [eax]
jl 0x43ab90
mov edx, ebp
call fcn.00409960
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
cmp eax, dword [ecx + 0x1f8]
jne 0x43ad94
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x43ad94
jmp 0x43acc0
mov eax, dword [ebx + 4]
cmp eax, dword [ebp + 4]
jne 0x43ad89
xor esi, esi
test eax, eax
jle 0x43ad84
mov edi, dword [ebp + 8]
mov ecx, dword [ebx + 8]
sub ecx, edi
mov dword [esp + 0x34], ecx
jmp 0x43ad59
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov edi, dword [esp + 0x54]
push ecx
push eax
push str.table__s_has_no_column_named__s
call fcn.0041af70
add esp, 0xc
mov byte [edi + 0x12], 1
test ebp, ebp
je 0x43ad21
mov eax, dword [ebp + 0x1c]
mov esi, dword [esp + 0x10]
push eax
push esi
call fcn.00411130
push ebp
push esi
call fcn.00411130
add esp, 0x10
pop ebx
pop esi
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 8]
push ecx
call fcn.00411780
mov edx, dword [esp + 0x5c]
push edx
mov eax, edi
call fcn.00412930
mov eax, dword [esp + 0x18]
push eax
push edi
call fcn.00411130
mov eax, dword [esp + 0x44]
add esp, 0x10
pop edi
pop ebp
add esp, 0x40
ret
mov ecx, dword [esp + 0x34]
lea eax, [edi + esi*4]
mov edx, dword [eax + ecx]
cmp edx, dword [eax]
jne 0x43ad84
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [eax + esi*4]
mov edx, dword [edx + esi*4]
cmp ecx, edx
je 0x43ad7c
call fcn.0040c400
test eax, eax
jne 0x43ad84
add esi, 1
cmp esi, dword [ebx + 4]
jl 0x43ad55
cmp esi, dword [ebx + 4]
je 0x43adc7
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x43acc0
mov esi, dword [esp + 0x10]
cmp byte [esi + 0x7c], 0
je 0x43ae25
mov ecx, dword [ebp]
push ebp
call fcn.0040c510
push ecx
mov ecx, dword [ebp + 0x24]
add ecx, 0x14
call fcn.00414c10
add esp, 8
test eax, eax
je 0x43ae06
mov byte [esi + 0x1e], 1
jmp 0x43ad05
mov al, byte [ebx + 0x18]
mov cl, byte [ebp + 0x18]
cmp al, cl
je 0x43ad05
cmp al, 0x63
je 0x43adf1
cmp cl, 0x63
je 0x43adf1
mov edi, dword [esp + 0x54]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.0041af70
add esp, 8
cmp byte [ebx + 0x18], 0x63
jne 0x43ad05
mov al, byte [ebp + 0x18]
mov byte [ebx + 0x18], al
jmp 0x43ad05
or dword [esi + 0xc], 0x200
cmp dword [esp + 0x60], 0
je 0x43af43
mov ecx, esi
mov edx, dword [ecx + 0x78]
mov dword [ebp + 0x14], edx
jmp 0x43af43
mov edi, dword [esp + 0x54]
add dword [edi + 0x48], 1
mov eax, dword [edi + 0x48]
mov dword [esp + 0x2c], eax
call fcn.004151a0
mov esi, eax
test esi, esi
mov dword [esp + 0x34], esi
je 0x43ad05
mov ebx, dword [esp + 0x20]
push 1
mov ecx, ebx
mov eax, edi
call fcn.0042f930
mov eax, dword [esp + 0x30]
push esi
mov ecx, ebx
mov edx, 0x61
call fcn.004196b0
add esp, 8
cmp dword [esp + 0x6c], 0
je 0x43aeab
cmp dword [esp + 0x68], 0
mov eax, 0x45f4d0
je 0x43ae82
mov eax, str._UNIQUE
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov esi, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x74]
mov edx, dword [edx]
sub edx, dword [ecx]
add edx, 1
push edx
push eax
push str.CREATE_s_INDEX__.s
call fcn.0041b0a0
add esp, 0x10
mov esi, eax
jmp 0x43aead
xor esi, esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 8]
mov ebx, dword [esp + 0x54]
push esi
push eax
mov eax, dword [ebp]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [edx + ecx]
push str.sqlite_master
push eax
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
call fcn.0041a780
push esi
push edi
call fcn.00411130
add esp, 0x24
cmp dword [esp + 0x60], 0
je 0x43af43
mov ecx, dword [esp + 0x2c]
push ecx
push ebp
mov edi, ebx
push edi
call fcn.00425260
mov ebx, dword [esp + 0x2c]
push ebx
call fcn.0041a730
mov edx, dword [ebp]
mov esi, dword [esp + 0x20]
add esp, 0x10
push 0xffffffffffffffff
push edx
push str.name_q_AND_typeindex
call fcn.0041b0a0
mov edi, dword [esp + 0x40]
add esp, 8
push eax
push 0x63
xor eax, eax
xor ecx, ecx
mov edx, ebx
call fcn.00419680
xor eax, eax
push edi
lea ecx, [eax + 0x7a]
call fcn.004196d0
add esp, 0x10
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x7c], 0
jne 0x43af58
cmp dword [esp + 0x60], 0
jne 0x43ad05
mov ecx, dword [esp + 0x14]
mov edx, 5
cmp dword [esp + 0x68], edx
jne 0x43afa2
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x43afa2
cmp byte [eax + 0x18], dl
je 0x43afa2
cmp dword [eax + 0x20], 0
je 0x43af90
lea esp, [esp]
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], dl
je 0x43af90
mov eax, ecx
cmp dword [eax + 0x20], 0
jne 0x43af80
mov ecx, dword [eax + 0x20]
mov dword [ebp + 0x20], ecx
mov dword [eax + 0x20], ebp
mov dword [esp + 0x3c], ebp
jmp 0x43ad21
mov edx, dword [ecx + 0x10]
mov dword [ebp + 0x20], edx
mov dword [ecx + 0x10], ebp
mov dword [esp + 0x3c], ebp
jmp 0x43ad21