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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x4bfdd0]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x80]
push ebx
mov ebx, dword [esp + 0x8c]
push ebp
xor ebp, ebp
cmp dword [eax + 0x18], ebp
push esi
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x28], edx
mov edx, dword [eax]
push edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], ebp
jne 0x43f983
cmp dword [0x4c47e8], ebp
je 0x43f37d
cmp dword [0x4c47f0], ebp
jle 0x43f37d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x43f983
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xbc], 0
jne 0x43f983
cmp dword [esp + 0x30], ebp
je 0x43f43a
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x3c]
mov eax, ebx
call fcn.0043cef0
cmp eax, ebp
mov dword [esp + 0x24], eax
jl 0x43f983
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
push ebp
push esi
call fcn.004417a0
add esp, 8
test ebx, ebx
je 0x43f3ed
test dword [ebx + 4], 0xfffffffe
jne 0x43f3ed
test eax, eax
je 0x43f3ed
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
mov eax, dword [eax + 0x4c]
cmp eax, dword [edx + 0x2c]
jne 0x43f3ed
mov dword [esp + 0x24], 1
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x28]
push str.index
lea eax, [esp + 0x5c]
call fcn.0043bc00
add esp, 8
test eax, eax
je 0x43f419
lea edx, [esp + 0x54]
push ebp
push edx
call fcn.0043bc30
add esp, 8
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, esi
call fcn.0043c730
test eax, eax
mov dword [esp + 0x18], eax
je 0x43f983
mov eax, dword [esp + 0x24]
xor ebp, ebp
jmp 0x43f45e
mov eax, dword [eax + 0xa4]
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x43f983
mov ecx, eax
mov esi, dword [ecx + 0x4c]
mov ecx, dword [esp + 0x1c]
call fcn.0044b020
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 4]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
add ecx, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x18], ebp
mov dword [esp + 0x28], ecx
jne 0x43f983
mov esi, dword [esp + 0x18]
cmp byte [esi + 0x34], 0
je 0x43f4a6
mov ecx, dword [esi]
push ecx
push str.table__s_may_not_be_indexed
mov esi, eax
call fcn.0041e940
add esp, 8
jmp 0x43f983
cmp dword [esi + 0x18], ebp
je 0x43f4bc
push str.views_may_not_be_indexed
mov esi, eax
call fcn.0041e940
jmp 0x43f980
cmp byte [esi + 0x39], 0
je 0x43f4d3
push str.virtual_tables_may_not_be_indexed
mov esi, eax
call fcn.0041e940
jmp 0x43f980
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x43f5a0
call fcn.0043cd90
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
call fcn.0044ae50
test eax, eax
jne 0x43f983
mov edi, dword [esp + 0x20]
cmp edi, ebp
je 0x43f983
mov eax, esi
call fcn.0043cf30
test eax, eax
jne 0x43f983
mov esi, dword [esp + 0x1c]
cmp byte [esi + 0x44], al
jne 0x43f55f
mov esi, dword [esp + 0x14]
call fcn.0044ae50
test eax, eax
jne 0x43f983
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
push ebp
push esi
call fcn.0043c660
add esp, 8
test eax, eax
je 0x43f55f
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
push edx
push str.there_is_already_a_table_named__s
call fcn.0041e940
add esp, 8
jmp 0x43f983
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x20]
push ecx
push esi
call fcn.0043c7b0
add esp, 8
test eax, eax
je 0x43f5f6
cmp dword [esp + 0xac], 0
jne 0x43f983
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
push edx
push str.index__s_already_exists
call fcn.0041e940
add esp, 8
jmp 0x43f983
mov eax, dword [esi + 0x10]
cmp eax, ebp
mov ecx, 1
je 0x43f5ba
lea esp, [esp]
mov eax, dword [eax + 0x20]
add ecx, 1
cmp eax, ebp
jne 0x43f5b0
push ecx
push 0x4ae248
lea eax, [esp + 0x6c]
push eax
push 0x1e
call fcn.0041de50
push ebp
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x38], ebp
mov edx, dword [esi]
push edx
lea eax, [esp + 0x3c]
push str.sqlite_autoindex_
push eax
call fcn.0041cc40
add esp, 0x24
cmp dword [esp + 0x20], ebp
jne 0x43f5f8
jmp 0x43f983
xor ebp, ebp
cmp dword [esp + 0x24], 1
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx]
mov eax, str.sqlite_temp_master
je 0x43f60f
mov eax, str.sqlite_master
push esi
push ebp
push eax
mov eax, dword [esp + 0x20]
push 0x12
call fcn.0043c0c0
add esp, 0x10
test eax, eax
jne 0x43f983
mov eax, 1
cmp dword [esp + 0x24], eax
jne 0x43f638
mov eax, 3
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
mov edx, dword [esp + 0x20]
push esi
push ecx
push edx
push eax
mov eax, dword [esp + 0x24]
call fcn.0043c0c0
add esp, 0x10
test eax, eax
jne 0x43f983
mov eax, dword [esp + 0x2c]
cmp eax, ebp
jne 0x43f6c4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 - 0x14]
mov dword [esp + 0x34], eax
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43f680
sub eax, edx
lea edx, [eax + eax]
mov eax, dword [esp + 0x38]
and eax, 1
lea ecx, [esp + 0x34]
or edx, eax
push ecx
push ebp
xor eax, eax
mov dword [esp + 0x40], edx
call fcn.00436160
add esp, 8
cmp eax, ebp
mov dword [esp + 0x2c], eax
je 0x43f983
mov edx, dword [eax + 0xc]
mov cl, byte [esp + 0xa8]
mov byte [edx + 8], cl
mov esi, dword [eax]
cmp esi, ebp
jle 0x43f6fc
mov edi, dword [eax + 0xc]
mov ebx, dword [esp + 0x44]
mov ebp, esi
mov eax, dword [edi]
test eax, eax
je 0x43f6f0
mov edx, dword [eax + 4]
mov eax, dword [edx]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43f6e1
sub eax, edx
lea ebx, [ebx + eax + 1]
add edi, 0xc
sub ebp, 1
jne 0x43f6d3
mov dword [esp + 0x44], ebx
mov edi, dword [esp + 0x20]
lea ecx, [edi + 1]
mov al, byte [edi]
add edi, 1
test al, al
jne 0x43f703
mov eax, esi
imul eax, eax, 0xd
sub edi, ecx
mov ecx, dword [esp + 0x44]
add eax, edi
lea edx, [eax + ecx + 0x35]
push 1
push edx
call fcn.0041cb60
add esp, 8
cmp dword [0x4c47e8], 0
mov ebp, eax
je 0x43f740
call fcn.00420df0
test eax, eax
jne 0x43f966
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
add eax, esi
lea ecx, [eax + edi + 1]
mov dword [ebp], eax
mov edx, dword [esp + 0x20]
add edi, 1
push edi
push edx
push eax
mov dword [esp + 0x54], ecx
call fcn.0048cfd0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x10], eax
mov edx, dword [ecx]
mov al, byte [esp + 0xa8]
add esp, 0xc
cmp dword [esp + 0x3c], 0
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x1c]
sete cl
mov byte [ebp + 0x18], al
mov byte [ebp + 0x19], cl
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + eax + 0x14]
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x24], edx
mov ecx, dword [eax + 0x14]
cmp byte [ecx + 0x78], 4
mov eax, dword [esp + 0x2c]
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 0x43f8e6
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 4]
mov eax, dword [ecx + 8]
xor esi, esi
cmp dword [ecx + 4], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], eax
jle 0x43f81b
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x34]
call fcn.0041ea90
test eax, eax
je 0x43f817
mov edx, dword [esp + 0x18]
add dword [esp + 0x40], 0x14
add esi, 1
cmp esi, dword [edx + 4]
jl 0x43f7f3
mov ecx, dword [esp + 0x18]
cmp esi, dword [ecx + 4]
jge 0x43f949
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x28]
mov dword [eax + edi*4], esi
mov eax, dword [edx]
test eax, eax
je 0x43f87d
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
push 0x4a6224
push esi
push edx
mov dword [esp + 0x44], esi
call fcn.0041de50
mov eax, esi
add esp, 0x10
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43f860
mov ecx, dword [esp + 0x18]
sub eax, edx
lea eax, [esi + eax + 1]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x48], eax
jmp 0x43f894
mov eax, dword [ecx + 8]
lea edx, [esi + esi*4]
mov esi, dword [eax + edx*4 + 0xc]
test esi, esi
jne 0x43f894
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x1c]
mov esi, dword [eax]
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0x44], 0
jne 0x43f8bb
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
mov eax, esi
call fcn.0043d8a0
add esp, 8
test eax, eax
je 0x43f966
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x2c]
mov dword [edx + edi*4], esi
mov esi, dword [esp + 0x28]
mov al, byte [esi + 8]
mov edx, dword [ebp + 0x28]
and al, bl
mov byte [edi + edx], al
mov eax, dword [esp + 0x2c]
add edi, 1
add esi, 0xc
cmp edi, dword [eax]
mov dword [esp + 0x28], esi
jl 0x43f7da
mov edi, dword [esp + 0x14]
mov edx, ebp
call fcn.0043fcd0
mov ecx, dword [esp + 0x18]
cmp ecx, dword [edi + 0xa4]
jne 0x43fa13
mov edx, ecx
mov ebx, dword [edx + 0x10]
test ebx, ebx
je 0x43fa0f
mov edi, edi
mov eax, dword [ebx + 4]
cmp eax, dword [ebp + 4]
jne 0x43fa04
xor edi, edi
test eax, eax
jle 0x43f9ff
mov esi, dword [ebp + 0x2c]
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 8]
mov ecx, dword [ebp + 8]
sub eax, esi
sub edx, esi
sub ecx, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], ecx
jmp 0x43f9c8
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov esi, dword [esp + 0x14]
push ecx
push eax
push str.table__s_has_no_column_named__s
call fcn.0041e940
add esp, 0xc
test ebp, ebp
je 0x43f983
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x43f97a
push eax
call fcn.00485420
add esp, 4
push ebp
call fcn.00485420
add esp, 4
mov ebx, dword [esp + 0x2c]
call fcn.00436370
mov eax, dword [esp + 0x30]
push eax
call fcn.004401d0
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x43f9aa
push eax
call fcn.00485420
add esp, 4
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00483c76
add esp, 0x7c
ret
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
mov ecx, dword [eax + esi]
mov eax, dword [edx + esi]
mov edx, dword [esp + 0x40]
cmp eax, dword [edx + esi]
jne 0x43f9ff
mov eax, dword [ebx + 0x28]
mov edx, dword [ebp + 0x28]
mov al, byte [edi + eax]
cmp al, byte [edi + edx]
jne 0x43f9ff
mov edx, dword [esi]
cmp ecx, edx
je 0x43f9f4
call fcn.0041ea90
test eax, eax
jne 0x43f9ff
add edi, 1
add esi, 4
cmp edi, dword [ebx + 4]
jl 0x43f9c0
cmp edi, dword [ebx + 4]
je 0x43fa72
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x43f910
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
cmp byte [ebx + 0x44], 0
je 0x43fab1
mov edx, dword [ebp]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43fa30
sub eax, esi
add eax, 1
push ebp
push eax
mov eax, dword [ebp + 0x24]
push edx
add eax, 0x20
call fcn.0041fae0
add esp, 0xc
test eax, eax
jne 0x43f966
or dword [ebx + 8], 0x10
cmp dword [esp + 0x30], eax
je 0x43fbf0
mov edx, ebx
mov eax, dword [edx + 0x40]
mov dword [ebp + 0x14], eax
jmp 0x43fbf0
mov al, byte [ebx + 0x18]
mov cl, byte [ebp + 0x18]
cmp al, cl
je 0x43f966
cmp al, 0x63
je 0x43fa9c
cmp cl, 0x63
je 0x43fa9c
mov esi, dword [esp + 0x14]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.0041e940
add esp, 8
cmp byte [ebx + 0x18], 0x63
jne 0x43f966
mov cl, byte [ebp + 0x18]
mov byte [ebx + 0x18], cl
jmp 0x43f966
mov ebx, dword [edi + 0x20]
lea ecx, [ebx + 1]
mov esi, edi
mov dword [esp + 0x34], ebx
mov dword [edi + 0x20], ecx
call fcn.0044e050
mov esi, eax
test esi, esi
je 0x43f966
mov edx, dword [esp + 0x24]
push edx
push 1
mov eax, edi
call fcn.004407a0
mov eax, dword [esp + 0x2c]
push 0
push eax
push 0x1f
call fcn.0042d070
add esp, 0x14
push 0
push ebx
push 0x7c
call fcn.0042d070
add esp, 0xc
cmp dword [esp + 0xa0], 0
je 0x43fb42
mov edx, dword [esp + 0x50]
test edx, edx
je 0x43fb42
cmp dword [esp + 0x9c], 0
mov ecx, 0x4a6221
je 0x43fb21
mov ecx, str._UNIQUE
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
mov edx, dword [edx]
sub edx, edi
push edi
add edx, 1
push edx
push ecx
push str.CREATE_s_INDEX__.s
call fcn.0041dd30
add esp, 0x10
mov edi, eax
jmp 0x43fb44
xor edi, edi
cmp dword [esp + 0x24], 1
mov eax, str.sqlite_temp_master
je 0x43fb55
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp]
mov ebx, dword [esp + 0x14]
push edi
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x58]
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.0043c5d0
push 0
push 1
push 0xb
call fcn.0042d070
add esp, 0x24
push edi
call fcn.0041cb40
add esp, 4
cmp dword [esp + 0x30], 0
je 0x43fbf0
mov eax, dword [esp + 0x34]
push eax
mov ecx, ebx
push ebp
push ecx
call fcn.0043f080
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov eax, esi
call fcn.0043d940
mov edx, dword [ebp]
push 0xffffffffffffffff
push ecx
push edx
push str.name_q
call fcn.0041dd30
add esp, 0xc
push eax
xor eax, eax
push esi
mov ecx, edi
lea edx, [eax + 0x1c]
call fcn.0042d0e0
add esp, 0xc
push 0
push 0
push 0xf
call fcn.0042d070
add esp, 0xc
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x44], 0
jne 0x43fc05
cmp dword [esp + 0x30], 0
jne 0x43f966
mov ecx, dword [esp + 0x18]
mov edx, 5
cmp dword [esp + 0x9c], edx
jne 0x43fc4e
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x43fc4e
cmp byte [eax + 0x18], dl
je 0x43fc4e
cmp dword [eax + 0x20], 0
je 0x43fc40
lea esp, [esp]
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], dl
je 0x43fc40
mov eax, ecx
cmp dword [eax + 0x20], 0
jne 0x43fc30
mov ecx, dword [eax + 0x20]
mov dword [ebp + 0x20], ecx
mov dword [eax + 0x20], ebp
jmp 0x43f983
mov edx, dword [ecx + 0x10]
mov dword [ebp + 0x20], edx
mov dword [ecx + 0x10], ebp
jmp 0x43f983