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

Disassembly:
sub esp, 0x74
mov eax, dword [0x46946c]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x8c]
push esi
mov esi, dword [esp + 0x88]
push edi
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x4c], ecx
cmp dword [ebp + 0x18], eax
mov edi, edx
mov edx, dword [ebp]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], eax
jne 0x4442b6
mov eax, dword [0x4696e8]
test eax, eax
je 0x443cc2
mov eax, dword [0x4696f0]
test eax, eax
jle 0x443cc2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4696cc], eax
je 0x4442b6
mov al, byte [ebp + 0xbc]
test al, al
jne 0x4442b6
test ebx, ebx
je 0x443d74
lea edx, [esp + 0x2c]
mov eax, esi
mov ecx, ebp
call fcn.00421920
test eax, eax
mov dword [esp + 0x24], eax
jl 0x4442b6
push ebx
mov eax, ebp
call fcn.0043ddc0
add esp, 4
test esi, esi
je 0x443d24
test dword [esi + 4], 0xfffffffe
jne 0x443d24
test eax, eax
je 0x443d24
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [eax + 0x4c]
cmp eax, dword [edx + 0x2c]
jne 0x443d24
mov dword [esp + 0x24], 1
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x28]
push str.index
mov esi, ebp
lea eax, [esp + 0x58]
call fcn.004132a0
add esp, 8
test eax, eax
je 0x443d52
lea edx, [esp + 0x50]
push ebx
push edx
call fcn.00421060
add esp, 8
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
push eax
push ecx
mov edi, ebp
call fcn.0043d5f0
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x18], edi
je 0x4442b6
jmp 0x443d96
mov edi, dword [ebp + 0xa4]
test edi, edi
mov dword [esp + 0x18], edi
je 0x4442b6
mov esi, dword [edi + 0x4c]
mov ecx, dword [esp + 0x10]
call fcn.00414000
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 4]
lea eax, [ebx + ebx*2]
shl eax, 3
add esi, eax
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x18]
test eax, eax
mov dword [esp + 0x1c], esi
jne 0x4442b6
mov al, byte [edi + 0x34]
test al, al
je 0x443dda
mov eax, dword [edi]
push eax
push str.table__s_may_not_be_indexed
mov esi, ebp
call fcn.0041e420
add esp, 8
jmp 0x4442b6
mov eax, dword [edi + 0x18]
test eax, eax
je 0x443df2
push str.views_may_not_be_indexed
mov esi, ebp
call fcn.0041e420
jmp 0x4442b3
mov al, byte [edi + 0x39]
test al, al
je 0x443e0a
push str.virtual_tables_may_not_be_indexed
mov esi, ebp
call fcn.0041e420
jmp 0x4442b3
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x443ed6
call fcn.0041c030
mov edi, ebp
mov dword [esp + 0x14], eax
call fcn.0043c1a0
test eax, eax
jne 0x4442b6
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4442b6
mov eax, ebp
call fcn.00421960
test eax, eax
jne 0x4442b6
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x44]
test al, al
jne 0x443e92
mov edi, ebp
call fcn.0043c1a0
test eax, eax
jne 0x4442b6
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push eax
push edx
call fcn.00413330
add esp, 8
test eax, eax
je 0x443e92
mov eax, dword [esp + 0x14]
push eax
push str.there_is_already_a_table_named__s
mov esi, ebp
call fcn.0041e420
add esp, 8
jmp 0x4442b6
mov ecx, dword [esi]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
push ecx
push edx
call fcn.004133f0
add esp, 8
test eax, eax
je 0x443f2e
mov eax, dword [esp + 0xa4]
test eax, eax
jne 0x4442b6
mov eax, dword [esp + 0x14]
push eax
push str.index__s_already_exists
mov esi, ebp
call fcn.0041e420
add esp, 8
jmp 0x4442b6
mov eax, dword [edi + 0x10]
test eax, eax
mov ecx, 1
je 0x443eea
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x443ee2
push ecx
push 0x461ef8
lea ecx, [esp + 0x68]
push ecx
push 0x1e
call fcn.004192d0
push 0
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x2c], 0
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x30]
push str.sqlite_autoindex_
push ecx
call fcn.00418360
mov eax, dword [esp + 0x38]
add esp, 0x24
test eax, eax
je 0x4442b6
jmp 0x443f36
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
cmp ebx, 1
mov esi, dword [esi]
mov eax, str.sqlite_temp_master
je 0x443f47
mov eax, str.sqlite_master
push esi
push 0
push eax
push 0x12
mov eax, ebp
call fcn.00421370
add esp, 0x10
test eax, eax
jne 0x4442b6
mov eax, 1
cmp ebx, eax
jne 0x443f6d
mov eax, 3
mov edx, dword [edi]
mov ecx, dword [esp + 0x14]
push esi
push edx
push ecx
push eax
mov eax, ebp
call fcn.00421370
add esp, 0x10
test eax, eax
jne 0x4442b6
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x443fe8
mov eax, dword [edi + 4]
lea edx, [eax + eax*4]
mov eax, dword [edi + 8]
mov eax, dword [eax + edx*4 - 0x14]
mov dword [esp + 0x38], eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x443fa5
sub eax, edx
mov edx, dword [esp + 0x3c]
lea ecx, [eax + eax]
lea eax, [esp + 0x38]
and edx, 1
push eax
or ecx, edx
push 0
xor eax, eax
mov dword [esp + 0x44], ecx
call fcn.004208d0
add esp, 8
test eax, eax
mov dword [esp + 0x28], eax
je 0x4442b6
mov ecx, dword [eax + 0xc]
mov dl, byte [esp + 0xa0]
mov byte [ecx + 8], dl
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
test esi, esi
jle 0x444027
mov ebx, dword [eax + 0xc]
mov edi, dword [esp + 0x40]
mov ebp, esi
jmp 0x444000
mov eax, dword [ebx]
test eax, eax
je 0x44401d
mov eax, dword [eax + 4]
mov eax, dword [eax]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x444010
sub eax, edx
lea edi, [edi + eax + 1]
add ebx, 0xc
dec ebp
jne 0x444000
mov dword [esp + 0x40], edi
mov ebx, dword [esp + 0x14]
lea ecx, [ebx + 1]
mov edi, edi
mov al, byte [ebx]
inc ebx
test al, al
jne 0x444030
mov edx, dword [esp + 0x40]
sub ebx, ecx
mov ecx, esi
imul ecx, ecx, 0xd
add ecx, ebx
lea eax, [ecx + edx + 0x35]
call fcn.00418290
mov ebp, eax
mov eax, dword [0x4696e8]
test eax, eax
je 0x444073
mov eax, dword [0x4696f0]
test eax, eax
jle 0x444073
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4696cc], eax
je 0x444297
lea eax, [ebp + 0x30]
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
lea edi, [eax + esi]
mov dword [ebp], edi
mov esi, dword [esp + 0x14]
lea ecx, [ebx + 1]
mov edx, ecx
shr ecx, 2
lea eax, [edi + ebx + 1]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dl, byte [esp + 0x98]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov byte [ebp + 0x18], dl
mov edx, dword [esp + 0x10]
sete cl
mov byte [ebp + 0x19], cl
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x48]
mov ecx, dword [edx + ecx + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [ebp + 0x24], ecx
mov ecx, dword [edx + 0x14]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov bl, byte [ecx + 0x78]
mov ecx, dword [eax]
cmp bl, 4
mov dword [esp + 0x34], edx
sbb ebx, ebx
neg ebx
dec ebx
xor edi, edi
test ecx, ecx
jle 0x44421b
mov edi, edi
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
xor esi, esi
test eax, eax
mov dword [esp + 0x30], edx
jle 0x444158
nop
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov ecx, dword [esp + 0x1c]
call fcn.0040fe50
test eax, eax
je 0x444154
add dword [esp + 0x30], 0x14
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
inc esi
cmp esi, eax
jl 0x444130
mov ecx, dword [esp + 0x18]
cmp esi, dword [ecx + 4]
jge 0x44427a
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x34]
mov dword [edx + edi*4], esi
mov eax, dword [eax]
test eax, eax
je 0x4441b5
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
push edx
push 0x460374
push esi
push eax
call fcn.004192d0
mov edx, esi
mov eax, edx
lea ecx, [eax + 1]
add esp, 0x10
mov dword [esp + 0x1c], ecx
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4441a0
sub eax, dword [esp + 0x1c]
lea edx, [edx + eax + 1]
mov dword [esp + 0x38], edx
jmp 0x4441cc
mov ecx, dword [ecx + 8]
lea eax, [esi + esi*4]
mov esi, dword [ecx + eax*4 + 0xc]
test esi, esi
jne 0x4441cc
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x1c]
mov esi, dword [eax]
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x44]
test al, al
jne 0x4441f0
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push edx
mov eax, esi
call fcn.0042ad80
add esp, 8
test eax, eax
je 0x444297
mov eax, dword [ebp + 0x2c]
mov dword [eax + edi*4], esi
mov eax, dword [esp + 0x34]
mov cl, byte [eax + 8]
mov edx, dword [ebp + 0x28]
add eax, 0xc
and cl, bl
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov byte [edi + edx], cl
mov ecx, dword [eax]
inc edi
cmp edi, ecx
jl 0x444110
mov edx, ebp
call fcn.004135d0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp eax, dword [esi + 0xa4]
jne 0x44434b
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x44434b
mov eax, dword [ebx + 4]
cmp eax, dword [ebp + 4]
jne 0x44433c
xor esi, esi
test eax, eax
jle 0x444337
mov edi, dword [ebp + 0x2c]
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 8]
mov ecx, dword [ebp + 8]
sub eax, edi
sub edx, edi
sub ecx, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], ecx
jmp 0x444300
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov esi, dword [esp + 0x20]
push ecx
push eax
push str.table__s_has_no_column_named__s
call fcn.0041e420
add esp, 0xc
test ebp, ebp
je 0x4442b6
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4442ac
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
push ebp
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov edi, dword [esp + 0x28]
call fcn.004176f0
mov eax, dword [esp + 0x44]
push eax
call fcn.00417bb0
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
je 0x4442e2
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00458c53
add esp, 0x74
ret
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
lea esp, [esp]
mov ecx, dword [eax + edi]
mov edx, dword [edx + edi]
mov eax, dword [esp + 0x30]
cmp edx, dword [eax + edi]
jne 0x444337
mov edx, dword [ebx + 0x28]
mov eax, dword [ebp + 0x28]
mov dl, byte [esi + edx]
cmp dl, byte [esi + eax]
jne 0x444337
mov edx, dword [edi]
cmp ecx, edx
je 0x44432c
call fcn.0040fe50
test eax, eax
jne 0x444337
mov eax, dword [ebx + 4]
inc esi
add edi, 4
cmp esi, eax
jl 0x4442f1
cmp esi, dword [ebx + 4]
je 0x4443a8
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x444241
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x44]
test al, al
je 0x4443e7
mov edx, dword [ebp]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x444362
mov ebx, dword [ebp + 0x24]
sub eax, esi
push ebp
inc eax
push eax
push edx
add ebx, 0x20
call fcn.00410b40
add esp, 0xc
test eax, eax
jne 0x444297
mov eax, dword [esp + 0x10]
or dword [eax + 8], 0x10
mov eax, dword [esp + 0x44]
test eax, eax
je 0x444519
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x40]
mov dword [ebp + 0x14], eax
jmp 0x444519
mov al, byte [ebx + 0x18]
mov cl, byte [ebp + 0x18]
cmp al, cl
je 0x444297
cmp al, 0x63
je 0x4443d2
cmp cl, 0x63
je 0x4443d2
mov esi, dword [esp + 0x20]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.0041e420
add esp, 8
cmp byte [ebx + 0x18], 0x63
jne 0x444297
mov al, byte [ebp + 0x18]
mov byte [ebx + 0x18], al
jmp 0x444297
mov edi, dword [esi + 0x20]
lea ecx, [edi + 1]
mov dword [esp + 0x1c], edi
mov dword [esi + 0x20], ecx
call fcn.0041d630
mov esi, eax
test esi, esi
je 0x444297
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ebx
push 1
call fcn.00435ec0
push 0
push ebx
push 0x20
call fcn.0041f960
push 0
push edi
push 0x7f
call fcn.0041f960
mov eax, dword [esp + 0xbc]
add esp, 0x20
test eax, eax
je 0x444471
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x444471
mov eax, dword [esp + 0x98]
test eax, eax
mov ecx, 0x45baa4
je 0x444452
mov ecx, str._UNIQUE
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov edx, dword [edx]
push eax
sub edx, eax
inc edx
push edx
push ecx
push str.CREATE_s_INDEX__.s
call fcn.0041df10
add esp, 0x10
mov edi, eax
jmp 0x444473
xor edi, edi
cmp ebx, 1
mov eax, str.sqlite_temp_master
je 0x444482
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp]
mov ebx, dword [esp + 0x20]
push edi
push edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [edx + 4]
mov edx, dword [ecx + eax]
push edx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q_0__Q__
call fcn.00421810
push 0
push 1
push 0xb
call fcn.0041f960
push edi
call fcn.004155f0
mov eax, dword [esp + 0x6c]
add esp, 0x28
test eax, eax
je 0x444519
mov eax, dword [esp + 0x1c]
push eax
mov ecx, ebx
push ebp
push ecx
call fcn.0043b900
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, esi
call fcn.00421ac0
mov edx, dword [ebp]
push 0xffffffffffffffff
push edx
push str.name_q
call fcn.0041df10
add esp, 8
push eax
push esi
xor eax, eax
mov ecx, edi
mov edx, 0x1d
call fcn.0041f9e0
push 0
push 0
push 0xf
call fcn.0041f960
add esp, 0x18
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x44]
test cl, cl
jne 0x444530
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x444297
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x18]
mov edx, 5
cmp eax, edx
jne 0x444576
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x444576
cmp byte [eax + 0x18], dl
je 0x444576
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x444568
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], dl
je 0x444568
mov eax, ecx
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x444557
mov ecx, dword [eax + 0x20]
mov dword [ebp + 0x20], ecx
mov dword [eax + 0x20], ebp
jmp 0x4442b6
mov edx, dword [ecx + 0x10]
mov dword [ebp + 0x20], edx
mov dword [ecx + 0x10], ebp
jmp 0x4442b6