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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov eax, edx
push edi
mov dword [esp + 0x10], eax
mov edx, str.sqlite_temp_master
mov edi, dword [esi]
mov dword [esp + 0xc], edi
cmp byte [edi + 0xb1], 0
je 0x10053eed
cmp dword [edi + 0xac], 1
jne 0x10053eed
movzx ebx, byte [edi + 0xb0]
mov eax, str.sqlite_master
cmp ebx, 1
cmove eax, edx
mov ecx, eax
mov dword [esp + 0x14], eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10053eb0
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, edi
push eax
mov dword [esp + 0x20], eax
call fcn.10005060
mov edi, eax
add esp, 8
test edi, edi
je 0x10053fbc
push dword [esp + 0x18]
push dword [esp + 0x18]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x10053fbc
lea ecx, [esp + 0x18]
mov edx, eax
push ecx
push dword [ebp + 8]
mov ecx, esi
call fcn.10053b00
mov ebx, eax
add esp, 8
test ebx, ebx
js 0x10054422
cmp dword [ebp + 0xc], 0
je 0x10053f39
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jbe 0x10053f34
cmp ebx, 1
je 0x10053f34
push str.temporary_table_name_must_be_unqualified
push esi
call fcn.10008be0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10053fa4
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
test eax, eax
je 0x10053f95
xor eax, eax
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, edi
call fcn.10005060
mov edi, eax
add esp, 8
test edi, edi
je 0x10053f97
push dword [esp + 0x14]
push dword [esp + 0x1c]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, edi
mov byte [eax + edi], 0
call fcn.10008c40
mov eax, dword [esp + 0x10]
jmp 0x10053fa6
xor edi, edi
mov ecx, edi
call fcn.10008c40
mov eax, dword [esp + 0x10]
jmp 0x10053fa6
xor edi, edi
cmp byte [esi + 0xcc], 2
jb 0x10053fbc
push eax
mov edx, edi
mov ecx, esi
call fcn.1004b590
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], ecx
test edi, edi
je 0x10054422
cmp dword [ebp + 0x10], 0
mov ecx, str.table
mov eax, str.view
mov edx, edi
cmove eax, ecx
mov ecx, esi
push edi
push eax
call fcn.10053b90
add esp, 8
test eax, eax
jne 0x10054413
mov eax, dword [esp + 0xc]
mov edx, 1
mov ecx, ebx
cmp byte [eax + 0xb0], dl
mov eax, dword [eax + 0x10]
cmovne edx, dword [ebp + 0xc]
shl ecx, 4
cmp edx, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
mov edx, 0x12
mov eax, dword [ecx + eax]
mov ecx, str.sqlite_temp_master
push eax
mov dword [esp + 0x1c], eax
mov eax, str.sqlite_master
cmove eax, ecx
mov ecx, esi
push 0
push eax
call fcn.10051b80
add esp, 0xc
test eax, eax
jne 0x10054413
cmp dword [ebp + 0x14], eax
jne 0x10054081
push dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x24]
push edi
movzx edx, byte [eax + ecx*2 + 0x10114718]
mov ecx, esi
call fcn.10051b80
add esp, 0xc
test eax, eax
jne 0x10054413
cmp byte [esi + 0xcc], 0
jne 0x10054121
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov eax, dword [ecx + eax]
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.100716c0
test eax, eax
jne 0x10054413
push dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.100524b0
add esp, 4
test eax, eax
je 0x100540f7
cmp dword [ebp + 0x18], 0
jne 0x100540e2
push dword [esp + 0x10]
push str.table__T_already_exists
push esi
call fcn.10008be0
add esp, 0xc
jmp 0x10054413
mov edx, ebx
mov ecx, esi
call fcn.1005a700
mov ecx, esi
call fcn.10053dc0
jmp 0x10054413
push dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.100529b0
add esp, 4
test eax, eax
je 0x10054121
push edi
push str.there_is_already_an_index_named__s
push esi
call fcn.10008be0
add esp, 0xc
jmp 0x10054413
mov ecx, dword [esp + 0xc]
push 0
push 0x40
call fcn.10005060
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10054409
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x28]
or eax, 0xffffffff
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov dword [edx], edi
mov edi, dword [esp + 0x14]
mov word [edx + 0x20], ax
mov eax, dword [ecx + 0x10]
mov eax, dword [edi + eax + 0xc]
mov dword [edx + 0x3c], eax
mov eax, 0xc8
mov dword [edx + 0x18], 1
mov word [edx + 0x26], ax
mov dword [esi + 0xe8], edx
cmp byte [ecx + 0xb1], 0
jne 0x10054422
mov ecx, esi
call fcn.10075ea0
mov edi, eax
test edi, edi
je 0x10054422
push ebx
mov edx, 1
mov ecx, esi
call fcn.1005a7f0
add esp, 4
cmp dword [ebp + 0x14], 0
je 0x100541bf
mov edx, 0xa8
mov ecx, edi
call fcn.10029300
mov eax, dword [esi + 0x2c]
mov edx, 0x61
inc eax
mov ecx, edi
mov dword [esp + 0x10], eax
mov dword [esi + 0x58], eax
inc eax
mov dword [esi + 0x5c], eax
inc eax
push 2
push eax
push ebx
mov dword [esi + 0x2c], eax
call fcn.10029290
add esp, 0xc
mov edx, ebx
mov ecx, edi
call fcn.1002a870
mov eax, dword [esp + 0x10]
mov edx, 0x12
add eax, 2
mov ecx, edi
push eax
call fcn.10029360
mov dword [esp + 0x20], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x20]
mov eax, 1
and ecx, 2
or ecx, 0
jne 0x10054222
mov eax, 4
push eax
push 2
push ebx
mov edx, 0x62
mov ecx, edi
call fcn.10029290
mov eax, dword [esp + 0x18]
add esp, 0xc
mov edx, 0x62
mov ecx, edi
movzx eax, byte [eax + 0x50]
push eax
push 5
push ebx
call fcn.10029290
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, edi
call fcn.10029fc0
cmp dword [ebp + 0x10], 0
jne 0x10054287
cmp dword [ebp + 0x14], 0
jne 0x10054287
mov eax, dword [esp + 0x10]
mov edx, 0x91
push 1
inc eax
mov ecx, edi
push eax
push ebx
call fcn.10029290
add esp, 0xc
mov dword [esi + 0x84], eax
jmp 0x1005429e
mov eax, dword [esp + 0x10]
mov edx, 0x46
inc eax
mov ecx, edi
push eax
push 0
call fcn.100293c0
add esp, 8
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100542c5
cmp dword [esi + 0x74], eax
jne 0x100542ba
mov eax, dword [esi]
test byte [eax + 0x4c], 8
jne 0x100542ba
mov byte [esi + 0x17], 1
mov ecx, esi
call fcn.10028fb0
mov dword [esp + 0x18], eax
cmp ebx, 1
je 0x100542f2
mov ecx, dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + eax + 4]
cmp byte [ecx + 9], 0
je 0x100542f2
push str.sqlite_master
push 1
push 1
mov edx, ebx
mov ecx, esi
call fcn.10051c20
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov edx, 0x65
push 5
push ebx
push 1
push 0
call fcn.10029b70
add esp, 0x10
cmp dword [esi + 0x28], 0
jne 0x10054317
mov dword [esi + 0x28], 1
mov esi, dword [esp + 0x10]
mov edx, 0x7d
push esi
push 0
mov ecx, edi
call fcn.100293c0
mov edx, dword [edi + 0x74]
add esp, 8
mov dword [esp + 0x1c], edx
cmp dword [edi + 0x78], edx
jg 0x10054354
push 0
lea ebx, [esi + 2]
mov edx, 0x4b
push ebx
push 6
mov ecx, edi
call fcn.10029250
add esp, 0xc
mov edx, eax
jmp 0x1005438c
lea eax, [edx + 1]
mov ebx, esi
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
add ebx, 2
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 6
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
jne 0x100543cc
test edx, edx
jns 0x1005439c
mov edx, dword [edi + 0x74]
dec edx
mov eax, dword [edi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x100543c1
push 0xffffffffffffffff
push 0x10112348
mov edx, eax
mov ecx, edi
call fcn.1002a2c0
add esp, 8
jmp 0x100543cc
mov dword [eax + 0x10], 0x10112348
mov byte [eax + 1], 0xff
push esi
push ebx
push 0
mov edx, 0x7e
mov ecx, edi
call fcn.10029290
mov eax, dword [edi + 0x74]
add esp, 0xc
test eax, eax
jle 0x100543f6
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [edi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov edx, 0x78
mov ecx, edi
call fcn.10029300
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc dword [esi + 0x24]
mov dword [esi + 0xc], 7
mov ecx, dword [esp + 0xc]
mov edx, edi
mov byte [esi + 0x11], 1
call fcn.10004cc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret