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

Disassembly:
sub esp, 0x80
cmp dword [esp + 0x8c], 0
push ebp
mov ebp, dword [esp + 0x88]
push edi
mov edi, dword [ebp]
mov dword [esp + 8], edi
jne 0x1006ff1e
cmp dword [esp + 0x98], 0
je 0x100702de
cmp dword [ebp + 0x40], 0
jne 0x100702de
cmp byte [edi + 0x1e], 0
jne 0x100702de
push ebx
mov ebx, dword [ebp + 0xd4]
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x100702dd
push esi
mov esi, dword [ebx + 0x4c]
mov ecx, edi
call fcn.10049f80
mov esi, dword [ebx + 0x2c]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x1006ffd8
xor eax, eax
push 0x38
push eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x60]
push eax
call fcn.1007f650
mov edx, dword [ebx]
mov ecx, 1
mov dword [esp + 0x78], ebx
lea eax, [esp + 0x64]
add esp, 0xc
mov ebx, esi
lea edi, [esp + 0x34]
mov word [esp + 0x58], cx
mov dword [esp + 0x64], edx
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], eax
mov byte [esp + 0x4a], cl
call fcn.1005f0d0
test eax, eax
jne 0x100702dc
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x50], 0
je 0x1006ffee
mov ecx, dword [edi + 0x4c]
mov dword [ebx + 0x14], ecx
cmp byte [edi + 0x50], 0
jne 0x100701f4
mov edi, ebp
call fcn.10052ce0
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
je 0x100702dc
xor eax, eax
lea ecx, [eax + 0x1f]
call fcn.1004dd90
cmp dword [ebx + 0x18], 0
jne 0x10070022
mov dword [esp + 0x20], str.table
mov edx, str.TABLE
jmp 0x1007002f
mov dword [esp + 0x20], str.view
mov edx, str.VIEW
cmp dword [esp + 0xa0], 0
je 0x100700f8
mov edi, dword [esp + 0x1c]
mov edx, dword [ebp + 0x9c]
push edi
push edx
push 1
push 8
call fcn.1004dd10
mov dl, 1
mov eax, esi
call fcn.10048700
push 8
mov edx, 1
lea eax, [esp + 0x3c]
mov dword [ebp + 0x44], 2
call fcn.10049fb0
mov ecx, dword [esp + 0xb4]
push 0
push 0
push 0
push 0
push eax
push ecx
push ebp
call fcn.1006e860
mov eax, 1
add esp, 0x30
lea ecx, [eax + 0x1e]
call fcn.1004dd90
xor esi, esi
cmp dword [ebp + 0x40], esi
jne 0x100700d5
mov edx, dword [esp + 0xa0]
push edx
push esi
push ebp
call fcn.1006e5e0
add esp, 0xc
cmp eax, esi
je 0x100702dc
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 8]
mov dword [ebx + 8], edx
push eax
mov dword [eax + 4], esi
mov dword [eax + 8], esi
call fcn.10052050
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [ebx + 0x4c]
xor eax, eax
cmp edx, dword [ecx + 0x2c]
sete al
push eax
mov eax, dword [esp + 0x14]
push ebx
push eax
call fcn.10056c80
add esp, 0xc
jmp 0x10070126
mov ecx, dword [ebp + 0xbc]
mov eax, dword [esp + 0x9c]
mov eax, dword [eax]
mov ebx, dword [esp + 0x10]
sub eax, ecx
push ecx
inc eax
push eax
push edx
push str.CREATE__s__.s
call fcn.10054c70
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x18], eax
mov ecx, str.sqlite_temp_master
cmp edi, 1
je 0x10070139
mov ecx, str.sqlite_master
mov edx, dword [ebp + 0x98]
mov eax, dword [ebx]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [ebp + 0x9c]
push edx
push eax
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 8]
lea esi, [edi + edi*2]
add esi, esi
add esi, esi
add esi, esi
mov eax, dword [esi + edx]
push eax
push str.UPDATE__Q._s_SET_type_s__name_Q__tbl_name_Q__rootpage_d__sql_Q_WHERE_rowid_d
push ebp
call fcn.10056900
mov ecx, dword [esp + 0x40]
push ecx
call fcn.1004bdf0
push edi
mov edi, ebp
call fcn.1004ece0
add esp, 0x30
cmp byte [ebx + 0x38], 0
je 0x100701b4
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
mov ecx, dword [eax + esi + 0x14]
add eax, esi
cmp dword [ecx + 0x54], 0
jne 0x100701b4
mov edx, dword [eax]
push edx
push str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
push ebp
call fcn.10056900
add esp, 0xc
mov eax, dword [ebx]
mov ebx, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
push str.tbl_name_q
call fcn.10054c70
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
add esp, 8
push eax
push 0x1d
push ecx
xor eax, eax
xor ecx, ecx
call fcn.100517a0
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
add esp, 0x10
cmp byte [edi + 0x50], 0
je 0x100702dc
cmp dword [ebp + 0x40], 0
jne 0x100702dc
mov edi, dword [ebx]
mov esi, dword [ebx + 0x4c]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10070208
sub eax, edx
push ebx
push edi
inc eax
lea edi, [esi + 4]
call fcn.1004c440
add esp, 8
test eax, eax
je 0x10070236
mov edx, dword [esp + 0x10]
pop esi
pop ebx
pop edi
mov byte [edx + 0x1e], 1
pop ebp
add esp, 0x80
ret
mov ebp, dword [ebx + 0x24]
test ebp, ebp
je 0x10070280
add esi, 0x40
mov ebx, dword [ebp + 8]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10070248
sub eax, edx
lea edi, [eax + 1]
call fcn.10045b00
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
push ebp
push eax
mov eax, edi
mov edi, esi
call fcn.1004c440
add esp, 8
cmp eax, ebp
jne 0x10070279
mov ecx, dword [esp + 0x10]
mov byte [ecx + 0x1e], 1
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x10070240
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [ecx + 0xd4], 0
inc dword [eax + 0x20]
or dword [eax + 0xc], 0x10
cmp dword [esi + 0x18], 0
jne 0x100702dc
mov edx, dword [esp + 0x98]
cmp dword [edx], 0
mov ecx, dword [ecx + 0xbc]
jne 0x100702c6
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x98], eax
mov edx, dword [esp + 0x98]
mov edx, dword [edx]
sub edx, ecx
call fcn.10044cd0
add eax, 0xd
mov dword [esi + 0x30], eax
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x80
ret