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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
add esp, 0xffffff80
mov dword [ebp - 0x44], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x40], 0
mov eax, dword [eax]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], eax
cmp dword [edx + 0x14], 0
jne 0x43df1e
call fcn.00430090
test eax, eax
jne 0x43df1e
cmp dword [ebp + 0x14], 0
je 0x43d839
lea eax, [ebp - 0x40]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043bdb5
add esp, 0x10
test eax, eax
mov dword [ebp - 0x64], eax
js 0x43df1e
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.0044d700
pop ecx
test ebx, ebx
pop esi
mov dword [ebp - 0x50], eax
je 0x43d7f0
mov eax, dword [ebx + 4]
shr eax, 1
test eax, eax
sete dl
xor eax, eax
cmp dword [ebp - 0x50], 0
setne al
test edx, eax
je 0x43d7f0
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x50]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x2c]
cmp dword [edx + 0x3c], eax
jne 0x43d7f0
mov dword [ebp - 0x64], 1
push dword [ebp - 0x40]
push str.index
lea ebx, [ebp - 0x1c]
push dword [ebp - 0x64]
push dword [ebp + 8]
push ebx
call fcn.0044680a
add esp, 0x14
test eax, eax
je 0x43d819
push dword [ebp + 0x14]
push ebx
call fcn.00446942
pop eax
pop edx
mov ecx, dword [ebp + 0x14]
push dword [ecx + 4]
push dword [ecx + 8]
push dword [ebp + 8]
call fcn.0043b818
add esp, 0xc
test eax, eax
mov dword [ebp - 0x50], eax
jne 0x43d85d
jmp 0x43df1e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xa0]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x43df1e
push dword [eax + 0x3c]
push dword [ebp - 0x5c]
call fcn.0043f028
pop esi
pop edi
mov dword [ebp - 0x64], eax
imul edx, dword [ebp - 0x64], 0x18
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx + 4]
add edx, ecx
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x50], 0
je 0x43df1e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
jne 0x43df1e
mov edx, dword [ebp - 0x50]
cmp byte [edx + 0x1c], 0
je 0x43d899
push dword [edx]
push str.table__s_may_not_be_indexed
push eax
jmp 0x43d944
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x18], 0
je 0x43d8b6
push str.views_may_not_be_indexed
push dword [ebp + 8]
call fcn.0042f674
pop ecx
pop ebx
jmp 0x43df1e
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x43d96f
push eax
call fcn.0043bcb2
push dword [ebp + 8]
mov dword [ebp - 0x44], eax
call fcn.0043effc
pop edi
test eax, eax
pop edx
jne 0x43df1e
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x43df1e
push eax
push dword [ebp + 8]
call fcn.0043be06
pop ebx
test eax, eax
pop esi
jne 0x43df1e
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x44], 0
jne 0x43d9bd
push dword [ebp + 8]
call fcn.0043effc
pop ecx
test eax, eax
jne 0x43df1e
mov edx, dword [ebp - 0x60]
push dword [edx]
push dword [ebp - 0x44]
push dword [ebp - 0x5c]
call fcn.0043b87e
add esp, 0xc
test eax, eax
je 0x43d951
cmp dword [ebp + 0x2c], 0
jne 0x43df1e
push dword [ebp - 0x44]
push str.index__s_already_exists
push dword [ebp + 8]
call fcn.0042f674
add esp, 0xc
jmp 0x43df1e
push 0
push dword [ebp - 0x44]
push dword [ebp - 0x5c]
call fcn.0043b79b
add esp, 0xc
test eax, eax
je 0x43d9bd
push dword [ebp - 0x44]
push str.there_is_already_a_table_named__s
jmp 0x43d941
mov ecx, dword [ebp - 0x50]
mov edx, 1
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x43d984
mov eax, dword [eax + 0x20]
inc edx
jmp 0x43d97a
lea ebx, [ebp - 0x3c]
push edx
push 0x52964e
push ebx
call sub.msvcrt.dll_sprintf
mov eax, dword [ebp - 0x50]
push 0
push ebx
push dword [eax]
lea eax, [ebp - 0x44]
push str.sqlite_autoindex_
push eax
mov dword [ebp - 0x44], 0
call fcn.00430152
add esp, 0x20
cmp dword [ebp - 0x44], 0
je 0x43df1e
mov edx, dword [ebp - 0x60]
mov eax, 0x5291d7
cmp dword [ebp - 0x64], 1
mov ebx, dword [edx]
push ebx
push 0
je 0x43d9d5
mov eax, 0x5291ea
push eax
push 0x12
push dword [ebp + 8]
call fcn.00452b76
add esp, 0x14
test eax, eax
jne 0x43df1e
mov ecx, dword [ebp - 0x50]
push ebx
cmp dword [ebp - 0x64], 1
push dword [ecx]
sete al
push dword [ebp - 0x44]
movzx esi, al
lea esi, [esi + esi + 1]
push esi
push dword [ebp + 8]
call fcn.00452b76
add esp, 0x14
test eax, eax
jne 0x43df1e
cmp dword [ebp + 0x18], 0
jne 0x43da69
mov edx, dword [ebp - 0x50]
or ecx, 0xffffffff
cld
imul eax, dword [edx + 4], 0x14
add eax, dword [edx + 8]
mov edi, dword [eax - 0x14]
xor eax, eax
mov dword [ebp - 0x4c], edi
repne scasb al, byte es:[edi]
not ecx
mov eax, dword [ebp - 0x48]
lea ecx, [ecx + ecx - 2]
and eax, 1
or eax, ecx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
call fcn.0044b6cd
add esp, 0xc
test eax, eax
mov dword [ebp + 0x18], eax
je 0x43df1e
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x28]
mov byte [edx + 8], al
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx]
test eax, eax
jle 0x43da9b
xor edx, edx
mov esi, eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0xc]
mov eax, dword [edx + eax]
test eax, eax
je 0x43da95
mov eax, dword [eax + 4]
or ecx, 0xffffffff
cld
mov edi, dword [eax]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add dword [ebp - 0x6c], ecx
add edx, 0xc
dec esi
jne 0x43da76
cld
mov edi, dword [ebp - 0x44]
xor eax, eax
or ecx, 0xffffffff
mov edx, dword [ebp - 0x6c]
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x18]
not ecx
mov ebx, dword [eax]
push 1
lea esi, [ecx - 1]
lea eax, [ebx + ebx*2]
lea eax, [ebx + eax*4]
add eax, esi
lea eax, [eax + edx + 0x35]
push eax
call fcn.00430255
mov dword [ebp - 0x54], eax
call fcn.00430090
pop edi
test eax, eax
pop edx
jne 0x43df10
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
lea edx, [ebx*4]
add eax, 0x30
mov dword [ecx + 0x2c], eax
add eax, edx
mov dword [ecx + 8], eax
add eax, edx
mov dword [ecx + 0xc], eax
lea eax, [eax + edx + 4]
mov dword [ecx + 0x28], eax
add eax, ebx
mov dword [ecx], eax
push dword [ebp - 0x44]
push dword [ecx]
lea eax, [eax + esi + 1]
mov dword [ebp - 0x70], eax
call sub.msvcrt.dll_strcpy
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x54]
mov eax, dword [ecx]
mov cl, byte [ebp + 0x1c]
mov byte [edx + 0x18], cl
mov dword [edx + 4], eax
pop ebx
pop esi
cmp dword [ebp - 0x40], 0
sete byte [edx + 0x19]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov edx, dword [eax + 4]
imul eax, dword [ebp - 0x64], 0x18
mov eax, dword [eax + edx + 0x14]
mov edx, dword [ebp - 0x54]
mov dword [edx + 0x24], eax
mov edx, dword [ebp + 0x18]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp + 0x18]
mov edx, dword [edx + 0xc]
mov al, byte [eax + 0x78]
mov dword [ebp - 0x68], edx
cmp al, 4
sbb eax, eax
xor esi, esi
not eax
cmp esi, dword [ecx]
mov dword [ebp - 0x58], eax
jge 0x43dc4a
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x68]
xor edi, edi
mov eax, dword [eax + 4]
cmp edi, dword [edx + 4]
mov dword [ebp - 0x80], eax
mov ebx, dword [edx + 8]
jge 0x43ded9
push dword [ebx]
push dword [ebp - 0x80]
call fcn.0042f72a
pop edx
test eax, eax
pop ecx
je 0x43dba8
mov ecx, dword [ebp - 0x50]
inc edi
add ebx, 0x14
cmp edi, dword [ecx + 4]
jmp 0x43db86
mov eax, dword [ebp - 0x50]
cmp edi, dword [eax + 4]
jge 0x43ded9
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 8]
mov dword [eax + esi*4], edi
mov eax, dword [ecx]
test eax, eax
je 0x43dbea
mov eax, dword [eax + 4]
mov ebx, dword [ebp - 0x70]
mov edi, ebx
push dword [eax]
push ebx
call sub.msvcrt.dll_strcpy
cld
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
pop edi
pop eax
lea ecx, [ebx + ecx]
mov dword [ebp - 0x70], ecx
jmp 0x43dc03
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 8]
imul eax, edi, 0x14
mov ebx, dword [eax + edx + 0xc]
test ebx, ebx
jne 0x43dc03
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x18]
mov ebx, dword [eax]
mov ecx, dword [ebp - 0x5c]
cmp byte [ecx + 0x44], 0
jne 0x43dc22
push 0xffffffffffffffff
push ebx
push dword [ebp + 8]
call fcn.0043c104
add esp, 0xc
test eax, eax
je 0x43df10
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 0x2c]
mov edx, dword [edx + 0x28]
mov dword [eax + esi*4], ebx
movzx eax, byte [ecx + 8]
and eax, dword [ebp - 0x58]
mov byte [esi + edx], al
inc esi
mov eax, dword [ebp + 0x18]
add dword [ebp - 0x68], 0xc
cmp esi, dword [eax]
jmp 0x43db6c
push dword [ebp - 0x54]
call fcn.0043cfc9
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
pop ebx
cmp ecx, dword [edx + 0xa0]
jne 0x43dd1e
mov ebx, dword [ecx + 0x10]
test ebx, ebx
je 0x43dd1e
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 4]
cmp eax, dword [edx + 4]
jne 0x43dd16
xor esi, esi
cmp esi, eax
jge 0x43dccd
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebx + 8]
mov edi, dword [eax + esi*4]
mov eax, dword [ecx + 0x2c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 8]
mov eax, dword [eax + esi*4]
cmp dword [edx + esi*4], eax
jne 0x43dccd
mov eax, dword [ebp - 0x54]
mov edx, dword [eax + 0x28]
mov eax, dword [ebx + 0x28]
mov dl, byte [esi + edx]
cmp byte [esi + eax], dl
jne 0x43dccd
cmp edi, ecx
je 0x43dcc7
push ecx
push edi
call fcn.0042f72a
pop edx
test eax, eax
pop ecx
jne 0x43dccd
inc esi
cmp esi, dword [ebx + 4]
jmp 0x43dc83
cmp esi, dword [ebx + 4]
jne 0x43dd16
mov ecx, dword [ebp - 0x54]
mov al, byte [ebx + 0x18]
mov dl, byte [ecx + 0x18]
cmp al, dl
je 0x43df10
cmp al, 0x63
je 0x43dcfe
cmp dl, 0x63
je 0x43dcfe
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [ebp + 8]
call fcn.0042f674
add esp, 0xc
cmp byte [ebx + 0x18], 0x63
jne 0x43df10
mov edx, dword [ebp - 0x54]
mov al, byte [edx + 0x18]
mov byte [ebx + 0x18], al
jmp 0x43df10
mov ebx, dword [ebx + 0x20]
jmp 0x43dc68
mov ecx, dword [ebp - 0x5c]
cmp byte [ecx + 0x44], 0
je 0x43dd75
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
or ecx, 0xffffffff
cld
mov edi, dword [eax]
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [ebp - 0x54]
not ecx
push ecx
push dword [edx]
mov eax, dword [edx + 0x24]
add eax, 0x20
push eax
call fcn.0043450a
add esp, 0x10
test eax, eax
jne 0x43df10
mov ecx, dword [ebp - 0x5c]
or dword [ecx + 8], 0x10
cmp dword [ebp + 0x14], 0
je 0x43de9b
mov edx, dword [ebp - 0x54]
mov eax, dword [ecx + 0x40]
mov dword [edx + 0x14], eax
jmp 0x43de9b
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x1c]
lea eax, [edi + 1]
mov dword [ecx + 0x1c], eax
push ecx
call fcn.0044ef16
mov ebx, eax
pop eax
test ebx, ebx
je 0x43df10
push dword [ebp - 0x64]
push 1
push dword [ebp + 8]
call fcn.0043d6d6
push 0
push dword [ebp - 0x64]
push 0x1c
push ebx
call fcn.00430441
push 0
push edi
push 0x76
push ebx
call fcn.00430441
add esp, 0x2c
cmp dword [ebp + 0x20], 0
setne dl
xor eax, eax
cmp dword [ebp + 0x24], 0
setne al
xor esi, esi
test edx, eax
je 0x43ddfe
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp + 0x24]
push dword [edx]
mov eax, dword [ecx]
sub eax, dword [edx]
inc eax
push eax
mov eax, 0x5292bc
cmp dword [ebp + 0x1c], 0
je 0x43ddee
mov eax, str._UNIQUE
push eax
push str.CREATE_s_INDEX__.s
call fcn.004406d7
add esp, 0x10
mov esi, eax
mov eax, dword [ebp - 0x50]
push esi
mov edx, dword [ebp - 0x54]
push dword [eax]
cmp dword [ebp - 0x64], 1
push dword [edx]
mov eax, 0x5291d7
je 0x43de19
mov eax, 0x5291ea
push eax
mov ecx, dword [ebp - 0x5c]
imul eax, dword [ebp - 0x64], 0x18
mov edx, dword [ecx + 4]
push dword [eax + edx]
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q_0__Q__
push dword [ebp + 8]
call fcn.0043b730
push 0
push 1
push 0xa
push ebx
call fcn.00430441
add esp, 0x2c
push esi
call fcn.0042f5f0
pop esi
cmp dword [ebp + 0x14], 0
je 0x43de9b
push edi
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp + 8]
call fcn.0043ce28
push dword [ebp - 0x64]
push ebx
push dword [ebp - 0x5c]
call fcn.0043c202
mov eax, dword [ebp - 0x54]
push 0xffffffffffffffff
push dword [eax]
push str.name_q
call fcn.004406d7
pop edx
pop ecx
push eax
push 0
push dword [ebp - 0x64]
push 0x1a
push ebx
call fcn.0043080c
add esp, 0x28
push 0
push 0
push 0xd
push ebx
call fcn.00430441
add esp, 0x10
mov edx, dword [ebp - 0x5c]
cmp byte [edx + 0x44], 0
setne dl
cmp dword [ebp + 0x14], 0
sete al
or eax, edx
test al, 1
je 0x43df10
cmp dword [ebp + 0x1c], 5
jne 0x43dec8
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x43dec8
cmp byte [eax + 0x18], 5
jne 0x43def9
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x20], eax
mov dword [edx + 0x10], ecx
jmp 0x43df1e
push dword [ebp - 0x80]
mov eax, dword [ebp - 0x50]
push dword [eax]
push str.table__s_has_no_column_named__s
push dword [ebp + 8]
call fcn.0042f674
add esp, 0x10
jmp 0x43df10
cmp byte [eax + 0x18], 5
je 0x43df02
mov edx, eax
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x43def3
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x20], eax
mov dword [edx + 0x20], ecx
jmp 0x43df1e
cmp dword [ebp - 0x54], 0
je 0x43df1e
mov eax, dword [ebp - 0x54]
call fcn.0043b8f6
push dword [ebp + 0x18]
call fcn.0044b09c
push dword [ebp + 0x14]
call fcn.0043d0fe
push dword [ebp - 0x44]
call fcn.0042f5f0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret