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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov dword [esp + 0x3c], edx
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [esp + 0xb8], eax
mov eax, edx
or eax, esi
je 0x1001a1b4
mov eax, dword [ecx + 0xf4]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1001a1b4
mov dword [esp + 0x10], ecx
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
test esi, esi
jne 0x1001aa4c
mov eax, dword [esp + 0xc]
mov esi, dword [eax]
push 0x5f
push esi
call sub.VCRUNTIME140.dll_strrchr
add esp, 8
test eax, eax
mov edi, dword [esp + 0x20]
je 0x10019ffc
mov ebx, eax
mov byte [eax], 0
mov ecx, edi
mov edx, esi
push 0
call fcn.1014f930
add esp, 4
mov byte [ebx], 0x5f
test eax, eax
jne 0x1001a4ae
lea eax, [edi + 0xb1]
mov dword [esp + 0x28], eax
cmp byte [edi + 0xb1], 0
je 0x1001a02f
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0x2b], 0
mov eax, dword [edi + 0xac]
jne 0x1001abf6
mov dword [ecx + 0x14], eax
cmp eax, 1
je 0x1001a3d5
mov ebx, dword [ebp + 0xc]
bt ebx, 0x10
jb 0x1001aa73
test bl, bl
js 0x1001a1ca
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x1001aaf3
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x10]
add ecx, 0xc
xor esi, esi
dec esi
inc esi
lea edx, [ecx + 0x10]
cmp dword [ecx], eax
mov ecx, edx
jne 0x1001a060
mov dword [esp + 0x1c], esi
mov edi, dword [esp + 0xc]
mov edx, dword [edi + 0x10]
test edx, edx
jne 0x1001a935
test byte [edi + 0x1c], 0x60
movzx eax, word [edi + 0x22]
jne 0x1001aafd
test ax, ax
jle 0x1001a4a7
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 4]
movzx edx, ax
inc edx
add ecx, 9
xor eax, eax
movzx esi, byte [ecx]
add eax, esi
dec edx
add ecx, 0x10
cmp edx, 1
ja 0x1001a0a4
mov ecx, dword [esp + 0xc]
movzx edx, word [ecx + 0x20]
shr edx, 0xf
add edx, eax
lea ecx, [edx*4]
cmp ecx, 8
jb 0x1001abe4
cmp ecx, 0x100
jae 0x1001a8b0
xor edx, edx
mov ax, 0x28
cmp ecx, 0x10
mov esi, edx
sbb esi, 0
jb 0x1001a10c
mov esi, 0x1f
mov edi, edx
mov ebx, ecx
add eax, 0xa
mov ecx, edx
shld ecx, ebx, 0x1f
shr edi, 1
cmp esi, ebx
mov ebx, 0
sbb ebx, edx
mov edx, edi
jb 0x1001a0f2
and ecx, 7
add ax, word [ecx + ecx + 0x101b5eae]
add eax, 0xfffffff6
mov esi, dword [esp + 0x10]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [esp + 0xc]
mov word [ecx + 0x28], ax
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x1001b19b
mov eax, dword [esp + 0x28]
cmp byte [eax], 0
je 0x1001a4f6
mov edi, dword [esp + 0xc]
mov edx, dword [edi]
mov ecx, dword [edi + 0x3c]
add ecx, 8
push edi
call fcn.10151b60
add esp, 4
test eax, eax
jne 0x1001ac0e
mov dword [esi + 0xf4], 0
mov eax, dword [esp + 0x20]
or byte [eax + 0x18], 1
push str.sqlite_sequence
push dword [edi]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x1001a8e7
test ebx, ebx
jne 0x1001a1b4
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x2b], 0
jne 0x1001a1b4
mov eax, dword [esp + 0x3c]
cmp dword [eax], 0
mov ecx, dword [ebp + 8]
cmovne ecx, eax
mov eax, dword [ecx]
sub eax, dword [esi + 0xc4]
add eax, 0xd
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x2c], eax
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.10156ff0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x1c]
test al, 8
jne 0x1001ac38
test al, 4
mov edx, dword [esp + 0x10]
je 0x1001ac42
or eax, 0x280
mov esi, dword [esp + 0xc]
mov dword [esi + 0x1c], eax
mov edi, dword [edx]
mov ecx, dword [edx + 8]
mov dword [esp + 0x38], ecx
test byte [edi + 0xb4], 2
jne 0x1001a25c
movzx ecx, word [esi + 0x22]
test cx, cx
jle 0x1001a254
xor eax, eax
mov edx, 4
mov esi, dword [esp + 0xc]
mov esi, dword [esi + 4]
test byte [esi + edx + 0xa], 1
je 0x1001a229
mov ebx, dword [esi + edx]
test bl, 0xf
je 0x1001a236
inc eax
movsx esi, cx
add edx, 0x10
cmp eax, esi
jl 0x1001a213
jmp 0x1001a249
and ebx, 0xfffffff0
or ebx, 2
mov dword [esi + edx], ebx
mov ecx, dword [esp + 0xc]
movzx ecx, word [ecx + 0x22]
jmp 0x1001a229
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 0x10]
or eax, 0x800
mov dword [esi + 0x1c], eax
mov eax, dword [edx + 0x88]
test eax, eax
jne 0x1001a845
mov ecx, dword [esp + 0xc]
movzx eax, word [ecx + 0x20]
test ax, ax
mov dword [esp + 0x24], edi
jns 0x1001ac5b
mov eax, dword [ecx + 8]
test eax, eax
je 0x1001acef
mov ecx, dword [eax + 0x38]
and ecx, 3
cmp ecx, 2
jne 0x1001acf6
mov dword [esp + 0x14], eax
movzx edx, word [eax + 0x32]
xor eax, eax
inc eax
cmp dx, 2
jae 0x1001a3e2
mov edx, dword [esp + 0x14]
mov word [edx + 0x32], ax
mov eax, dword [edx + 0x38]
mov ecx, eax
or ecx, 0x20
mov dword [edx + 0x38], ecx
test byte [edi + 0xb4], 2
jne 0x1001a2d0
or eax, 0x28
mov dword [edx + 0x38], eax
movzx eax, word [edx + 0x32]
mov dword [esp + 0x1c], eax
mov word [edx + 0x34], ax
mov esi, dword [esp + 0x38]
test esi, esi
mov dword [esp + 0x14], edx
jne 0x1001a86a
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x2c], eax
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x1001a311
mov eax, dword [ebx + 0x38]
and eax, 3
cmp eax, 2
jne 0x1001acfe
mov ebx, dword [ebx + 0x14]
jmp 0x1001a2f9
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x22]
test eax, eax
jle 0x1001a679
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], ecx
xor ebx, ebx
xor edx, edx
mov ecx, ebx
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
test esi, esi
jle 0x1001a34d
dec esi
movsx ebx, word [edi]
add edi, 2
cmp edx, ebx
jne 0x1001a33a
mov ebx, ecx
jmp 0x1001a368
mov esi, dword [esp + 0xc]
mov esi, dword [esi + 4]
mov edi, edx
shl edi, 4
mov bl, byte [esi + edi + 0xe]
and bl, 0x20
cmp bl, 1
mov ebx, ecx
adc ebx, 0
inc edx
cmp edx, eax
jne 0x1001a330
add ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
movzx ecx, word [ecx + 0x34]
cmp ebx, ecx
jle 0x1001a8e0
lea edi, [ebx + ebx*8]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1001adb9
mov eax, edi
sar eax, 0x1f
movzx esi, word [ecx + 0x12c]
xor edx, edx
cmp esi, edi
sbb edx, eax
jb 0x1001a4da
cmp edi, 0x80
ja 0x1001a68e
mov esi, dword [ecx + 0x150]
test esi, esi
je 0x1001a680
mov eax, dword [esi]
mov dword [ecx + 0x150], eax
inc dword [ecx + 0x138]
jmp 0x1001a6c5
mov eax, dword [esp + 0xc]
or byte [eax + 0x1c], 1
jmp 0x1001a02f
mov ecx, eax
mov word [esp + 0x36], dx
mov dword [esp + 0x18], eax
test eax, eax
jle 0x1001a477
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
movzx eax, word [eax + ecx*2]
mov word [esp + 0x30], ax
xor edx, edx
mov eax, dword [esp + 0x2c]
movzx esi, word [esp + 0x30]
cmp word [eax + edx*2], si
je 0x1001a423
inc edx
cmp edx, dword [esp + 0x18]
jne 0x1001a40b
jmp 0x1001a477
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
mov esi, dword [eax + ecx*4]
mov dword [esp + 0x1c], esi
mov esi, dword [eax + edx*4]
xor edi, edi
movzx eax, byte [esi + edi]
mov ebx, dword [esp + 0x1c]
movzx ebx, byte [ebx + edi]
cmp al, bl
jne 0x1001aa35
test eax, eax
je 0x1001a451
inc edi
jmp 0x1001a436
mov eax, dword [esp + 0x14]
dec word [eax + 0x34]
movzx edx, word [esp + 0x36]
inc ecx
movzx eax, dx
cmp ecx, eax
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
jae 0x1001a2ae
jmp 0x1001a3e4
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x20]
mov edx, dword [eax + ecx*4]
mov edi, dword [esp + 0x18]
mov dword [eax + edi*4], edx
mov eax, dword [esi + 0x1c]
mov dl, byte [eax + ecx]
mov byte [eax + edi], dl
mov eax, dword [esi + 4]
movzx edx, word [eax + ecx*2]
mov word [eax + edi*2], dx
inc edi
mov dword [esp + 0x18], edi
movzx edx, word [esi + 0x32]
jmp 0x1001a45e
xor eax, eax
jmp 0x1001a0b2
cmp byte [eax + 0x2b], 1
jne 0x10019ffc
mov ecx, edi
mov edx, eax
push esi
call fcn.10170090
add esp, 4
test eax, eax
je 0x10019ffc
mov eax, dword [esp + 0xc]
or byte [eax + 0x1d], 0x10
jmp 0x10019ffc
cmp dword [ecx + 0x128], 0
je 0x1001a9e1
cmp byte [ecx + 0x57], 0
je 0x1001a6b0
jmp 0x1001a044
mov edi, dword [esi + 8]
test edi, edi
je 0x1001ae30
mov eax, dword [edi + 0x6c]
cmp dword [edi + 0x70], eax
jle 0x1001a8f6
lea ecx, [eax + 1]
mov dword [edi + 0x6c], ecx
mov ecx, dword [edi + 0x68]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4], 0x7a
xorps xmm0, xmm0
movups xmmword [ecx + eax*4 + 1], xmm0
mov dword [ecx + eax*4 + 0x10], 0
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x2b], 0
mov ecx, 0x101d4dba
mov eax, str.VIEW
cmove eax, ecx
mov ecx, 0x101ce2b4
mov edx, 0x101c8840
cmove edx, ecx
mov dword [esp + 0x14], edx
test ebx, ebx
jne 0x1001ae54
mov ecx, esi
add esi, 0xcc
cmp dword [ebp + 0xc], 0
cmove esi, dword [ebp + 8]
mov edi, dword [esi]
mov ecx, dword [ecx + 0xc4]
mov edx, edi
sub edx, ecx
cmp byte [edi], 0x3b
je 0x1001a583
add edx, dword [esi + 4]
push ecx
push edx
push eax
push str.CREATE__s__.s
mov edi, dword [esp + 0x30]
push edi
call fcn.10020cd0
add esp, 0x14
mov ebx, eax
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x1c]
shl edx, 4
push dword [esi + 0x5c]
push ebx
push dword [esi + 0x60]
push eax
push eax
push dword [esp + 0x28]
mov dword [esp + 0x2c], edx
push dword [ecx + edx]
push str.UPDATE__Q.sqlite_master_SET_type_s__name_Q__tbl_name_Q__rootpage_d__sql_Q_WHERE_rowid_d
push esi
call fcn.10020d70
add esp, 0x24
test ebx, ebx
je 0x1001a5dd
mov ecx, edi
mov edx, ebx
call fcn.1014d210
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + edx + 0xc]
mov eax, dword [eax]
inc eax
mov edx, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], edx
jle 0x1001a90f
lea esi, [edx + 1]
mov dword [ecx + 0x6c], esi
mov esi, dword [esp + 0x10]
mov ecx, dword [ecx + 0x68]
lea edx, [edx + edx*4]
mov dword [ecx + edx*4], 0x64
mov edi, dword [esp + 0x1c]
mov dword [ecx + edx*4 + 4], edi
mov dword [ecx + edx*4 + 8], 1
mov dword [ecx + edx*4 + 0xc], eax
mov dword [ecx + edx*4 + 0x10], 0
mov ebx, dword [esp + 0xc]
test byte [ebx + 0x1c], 8
jne 0x1001a9ec
push dword [ebx]
push str.tbl_name_q_AND_type_trigger
mov edi, dword [esp + 0x28]
push edi
call fcn.10020cd0
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push 0
push eax
call fcn.1001b2a0
add esp, 8
cmp byte [edi + 0xb1], 0
mov ebx, dword [ebp + 0x10]
je 0x1001a187
jmp 0x1001a141
xor ebx, ebx
jmp 0x1001a36d
mov esi, dword [ecx + 0x14c]
test esi, esi
jne 0x1001a8a3
mov esi, dword [ecx + 0x148]
test esi, esi
jne 0x1001a896
mov esi, dword [ecx + 0x144]
test esi, esi
jne 0x1001a928
inc dword [ecx + 0x140]
mov edx, edi
push eax
call fcn.10137840
add esp, 4
mov esi, eax
test eax, eax
je 0x1001a044
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edi, dword [esp + 0x14]
movzx eax, word [edi + 0x34]
shl eax, 2
push eax
push dword [edi + 0x20]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi + 0x20], esi
lea esi, [esi + ebx*4]
movzx eax, word [edi + 0x32]
add eax, eax
add eax, 2
push eax
push dword [edi + 8]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi + 8], esi
lea esi, [esi + ebx*2]
movzx eax, word [edi + 0x34]
add eax, eax
push eax
push dword [edi + 4]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi + 4], esi
lea esi, [esi + ebx*2]
movzx eax, word [edi + 0x34]
push eax
push dword [edi + 0x1c]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi + 0x1c], esi
mov word [edi + 0x34], bx
or byte [edi + 0x38], 0x10
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 0x22]
test ax, ax
jle 0x1001a7af
xor ecx, ecx
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 4]
mov esi, dword [esp + 0x1c]
mov edi, edx
test esi, esi
jle 0x1001a76d
dec esi
movsx ebx, word [edi]
add edi, 2
cmp ecx, ebx
jne 0x1001a75c
jmp 0x1001a79f
mov ebx, dword [esp + 0xc]
mov esi, dword [ebx + 4]
mov edi, ecx
shl edi, 4
test byte [esi + edi + 0xe], 0x20
jne 0x1001a79f
mov esi, dword [esp + 0x1c]
mov word [edx + esi*2], cx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
mov dword [eax + esi*4], 0x101afa5f
inc esi
mov dword [esp + 0x1c], esi
movzx eax, word [ebx + 0x22]
inc ecx
movsx edx, ax
cmp ecx, edx
jl 0x1001a74f
mov eax, dword [esp + 0x14]
movzx ebx, word [eax + 0x34]
test bx, bx
je 0x1001a83f
movzx esi, bx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], eax
inc esi
xor ecx, ecx
xor edx, edx
mov eax, dword [esp + 0x18]
movsx ebx, word [eax + esi*2 - 4]
test ebx, ebx
js 0x1001a826
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 4]
mov ecx, ebx
shl ecx, 4
test byte [edi + ecx + 0xe], 0x20
jne 0x1001aa2c
cmp bx, 0x3e
ja 0x1001aa2c
xor edi, edi
mov ecx, ebx
xor eax, eax
inc eax
shld edi, eax, cl
shl eax, cl
test bl, 0x20
cmovne edi, eax
mov ecx, 0
cmovne eax, ecx
or edx, edi
mov ecx, dword [esp + 0x1c]
or ecx, eax
dec esi
cmp esi, 1
ja 0x1001a7d2
not edx
not ecx
mov eax, dword [esp + 0x14]
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
jmp 0x1001a044
xor ecx, ecx
xor edx, edx
jmp 0x1001a82c
mov edx, dword [esp + 0x38]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
jne 0x1001b179
lea eax, [eax + eax*4]
shl eax, 2
add eax, dword [edx + 0x68]
mov dword [eax + 0xc], 2
jmp 0x1001a26a
mov eax, dword [edx + 0x2c]
test eax, eax
je 0x1001a2ec
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
jne 0x1001b183
lea eax, [eax + eax*4]
shl eax, 2
add eax, dword [esi + 0x68]
mov byte [eax], 9
mov edx, dword [esp + 0x14]
jmp 0x1001a2ec
mov eax, dword [esi]
mov dword [ecx + 0x148], eax
jmp 0x1001a3ca
mov eax, dword [esi]
mov dword [ecx + 0x14c], eax
jmp 0x1001a3ca
xor esi, esi
mov ax, 0x28
mov edi, 0xfff
mov ebx, ecx
xor edx, edx
mov ecx, esi
shld ecx, ebx, 0x1c
add eax, 0x28
shr edx, 4
cmp edi, ebx
mov ebx, 0
sbb ebx, esi
mov ebx, ecx
mov esi, edx
jae 0x1001a0e1
jmp 0x1001a8bf
mov ebx, ecx
jmp 0x1001a748
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x3c]
mov dword [eax + 0x48], ecx
jmp 0x1001a187
xor eax, eax
mov ecx, edi
mov edx, 0x7a
push eax
push eax
push eax
call fcn.10016c40
add esp, 0xc
jmp 0x1001a52d
mov edx, 0x64
push eax
push 1
push dword [esp + 0x24]
call fcn.10016c40
add esp, 0xc
jmp 0x1001a62f
mov eax, dword [esi]
mov dword [ecx + 0x144], eax
jmp 0x1001a3ca
xor eax, eax
lea ecx, [esp + 0x40]
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x18], eax
xorps xmm0, xmm0
movups xmmword [ecx + 8], xmm0
lea eax, [esp + 0x60]
movaps xmmword [eax], xmm0
movaps xmmword [eax + 0x10], xmm0
movaps xmmword [eax + 0x20], xmm0
movaps xmmword [eax + 0x30], xmm0
movaps xmmword [eax + 0x40], xmm0
mov dword [eax], 1
mov esi, dword [edi]
mov dword [eax + 0x10], esi
mov dword [eax + 0x18], edi
mov dword [eax + 0x34], 0xffffffff
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx]
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x18], ecx
xor ebx, ebx
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
cmp ecx, dword [esi + 0x1c]
lea ecx, [esp + 0x40]
mov esi, dword [esp + 0x10]
mov dword [ecx], esi
mov dword [ecx + 4], eax
setne bl
shl ebx, 0x12
or ebx, 0x10004
mov dword [ecx + 0x18], ebx
call fcn.10030e90
xor eax, eax
cmp dword [esi + 0x24], eax
je 0x1001a07d
mov edx, dword [edi + 0x10]
test edx, edx
je 0x1001a9d1
mov ecx, dword [esp + 0x20]
call fcn.10017250
mov edi, dword [esp + 0xc]
mov dword [edi + 0x10], 0
jmp 0x1001a07d
inc dword [ecx + 0x13c]
jmp 0x1001a6b0
cmp byte [esi + 0xd8], 0
jne 0x1001a63d
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x14]
mov ecx, dword [eax + ecx + 0xc]
cmp dword [ecx + 0x48], 0
jne 0x1001a63d
mov ecx, dword [esp + 0x14]
push dword [eax + ecx]
push str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
push esi
call fcn.10020d70
add esp, 0xc
jmp 0x1001a63d
mov ecx, dword [esp + 0x1c]
jmp 0x1001a826
mov al, byte [eax + 0x101af7e8]
cmp al, byte [ebx + 0x101af7e8]
je 0x1001a44e
jmp 0x1001a41a
mov eax, dword [esp + 0x20]
cmp byte [eax + 0xb1], 0
je 0x1001ae74
push 0x101e0242
push dword [esp + 0x14]
call fcn.100463a0
add esp, 8
jmp 0x1001a1b4
mov eax, dword [esp + 0xc]
or byte [eax + 0x1e], 1
cmp word [eax + 0x22], 0
jle 0x1001a03c
xor ecx, ecx
mov eax, 0xe
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 4]
mov esi, dword [edx + eax - 0xa]
mov edi, esi
shr edi, 4
and edi, 0xf
cmp edi, 1
je 0x1001aaae
test edi, edi
jne 0x1001aab3
jmp 0x1001add8
mov byte [edx + eax - 6], 0x41
test byte [edx + eax], 1
je 0x1001aade
mov edi, dword [esp + 0xc]
movsx edi, word [edi + 0x20]
cmp ecx, edi
je 0x1001aade
mov edi, esi
and edi, 0xf
jne 0x1001aade
and esi, 0xfffffff0
or esi, 2
mov dword [edx + eax - 0xa], esi
mov edx, dword [esp + 0xc]
or byte [edx + 0x1d], 8
inc ecx
mov edx, dword [esp + 0xc]
movsx edx, word [edx + 0x22]
add eax, 0x10
cmp ecx, edx
jl 0x1001aa8d
jmp 0x1001a03c
mov esi, 0xffff8000
jmp 0x1001a06a
test ax, ax
jle 0x1001ac27
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
test byte [eax + edi + 0xe], 0x60
je 0x1001abbb
movzx ecx, word [eax + edi + 0xc]
xor eax, eax
test ecx, ecx
je 0x1001ab3d
mov edx, dword [esp + 0xc]
cmp byte [edx + 0x2b], 0
je 0x1001abc1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
call fcn.10170190
add esp, 4
test eax, eax
je 0x1001aba5
mov ecx, dword [esp + 0x20]
mov edx, 0x34
push 0
call fcn.10157570
add esp, 4
test eax, eax
je 0x1001ab8e
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x20], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x30], 0
mov byte [eax], 0x79
mov word [eax + 0x22], 0xffff
mov dword [eax + 0x18], 1
mov edx, dword [esp + 0xc]
mov esi, dword [edx + 4]
add esi, edi
mov ecx, dword [esp + 0x10]
push eax
push esi
call fcn.10018690
add esp, 8
inc ebx
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x22]
add edi, 0x10
cmp ebx, eax
jl 0x1001ab12
jmp 0x1001ac1c
inc dword [esp + 0x14]
jmp 0x1001aba5
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0x34]
test edx, edx
je 0x1001ab3d
cmp dword [edx], ecx
jl 0x1001ab3d
lea eax, [ecx + ecx*4]
mov eax, dword [edx + eax*4 - 0xc]
jmp 0x1001ab3d
test ecx, ecx
je 0x1001ac31
shl edx, 3
mov ax, 0x1e
mov ecx, edx
jmp 0x1001a10c
test eax, eax
jne 0x1001aa5d
mov eax, dword [esp + 0xc]
mov dword [eax + 0x14], 0
jmp 0x1001a02f
mov ecx, dword [esp + 0x20]
call fcn.10157ae0
jmp 0x1001a1b4
cmp dword [esp + 0x14], 0
jne 0x1001a08b
push str.must_have_at_least_one_non_generated_column
jmp 0x1001aa62
xor eax, eax
jmp 0x1001a11a
push str.AUTOINCREMENT_not_allowed_on_WITHOUT_ROWID_tables
jmp 0x1001aa62
mov eax, dword [esp + 0xc]
push dword [eax]
push str.PRIMARY_KEY_missing_on_table__s
push edx
call fcn.100463a0
add esp, 0xc
jmp 0x1001a1b4
mov ecx, dword [ecx + 4]
shl eax, 4
mov eax, dword [ecx + eax]
mov dword [esp + 0x60], eax
test eax, eax
je 0x1001adff
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
and eax, 0x3fffffff
lea esi, [esp + 0x60]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x24]
mov edx, 0x3b
push 0
push esi
call fcn.100383a0
add esp, 8
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
mov edx, eax
call fcn.100167f0
test eax, eax
je 0x1001aeda
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0xd8], 2
jb 0x1001ae88
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x114]
test ecx, ecx
je 0x1001ae88
mov edx, dword [esp + 0xc]
lea esi, [edx + 0x20]
mov edx, dword [eax + 8]
cmp dword [ecx], esi
je 0x1001ae86
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x1001acdb
jmp 0x1001ae88
xor eax, eax
jmp 0x1001a299
mov eax, dword [eax + 0x14]
jmp 0x1001a282
movzx eax, word [ebx + 0x32]
mov word [esp + 0x2c], ax
cmp dword [esp + 0x1c], 0
je 0x1001adca
movzx eax, word [esp + 0x2c]
mov dword [esp + 0x18], eax
xor esi, esi
xor edi, edi
mov ecx, ebx
mov edx, dword [esp + 0x18]
push edi
push dword [esp + 0x18]
call fcn.101705c0
add esp, 8
cmp eax, 1
adc esi, 0
inc edi
cmp dword [esp + 0x1c], edi
jne 0x1001ad1f
test esi, esi
je 0x1001adca
add esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, ebx
push esi
call fcn.10170650
add esp, 4
test eax, eax
jne 0x1001a044
movzx edi, word [ebx + 0x32]
xor esi, esi
movzx edx, word [ebx + 0x32]
mov ecx, ebx
push esi
push dword [esp + 0x18]
call fcn.101705c0
add esp, 8
test eax, eax
je 0x1001ad8b
inc esi
cmp dword [esp + 0x1c], esi
jne 0x1001ad68
jmp 0x1001a30c
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
movzx eax, word [eax + esi*2]
mov ecx, dword [ebx + 4]
mov word [ecx + edi*2], ax
mov eax, dword [edx + 0x20]
mov eax, dword [eax + esi*4]
mov ecx, dword [ebx + 0x20]
mov dword [ecx + edi*4], eax
mov eax, dword [edx + 0x1c]
cmp byte [eax + esi], 0
je 0x1001adb6
or byte [ebx + 0x39], 2
inc edi
jmp 0x1001ad7f
mov edx, edi
sar edx, 0x1f
mov ecx, edi
call fcn.10143580
jmp 0x1001a6bb
movzx eax, word [esp + 0x2c]
mov word [ebx + 0x34], ax
jmp 0x1001a30c
test byte [edx + eax], 4
mov esi, dword [edx + eax - 0xe]
jne 0x1001ae06
push esi
mov eax, dword [esp + 0x10]
push dword [eax]
push str.missing_datatype_for__s._s
push dword [esp + 0x1c]
call fcn.100463a0
add esp, 0x10
jmp 0x1001a1b4
xor eax, eax
jmp 0x1001ac7e
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
add eax, esi
inc eax
push eax
push esi
mov eax, dword [esp + 0x14]
push dword [eax]
push str.unknown_datatype_for__s._s:___s_
push dword [esp + 0x20]
call fcn.100463a0
add esp, 0x14
jmp 0x1001a1b4
cmp dword [esi + 0x78], 0
je 0x1001b15c
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.1002f500
mov edi, eax
test eax, eax
je 0x1001a1b4
jmp 0x1001a501
cmp byte [esi + 0xd8], 0
je 0x1001af0d
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], 1
inc dword [eax + 0x24]
jmp 0x1001a1b4
mov eax, dword [esp + 0x20]
add eax, 0xb1
mov dword [esp + 0x28], eax
jmp 0x1001a02f
mov dword [ecx], edx
mov esi, dword [esp + 0x10]
mov cl, byte [esi + 0xd6]
mov byte [eax + 0x10], cl
mov ecx, dword [esp + 0xc]
mov word [ecx + 0x20], 0xffff
movzx ecx, byte [ecx + 0x2a]
sub esp, 0x24
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
xor edi, edi
mov dword [esp + 4], edi
mov dword [esp], edi
mov dword [esp + 0x20], 2
mov ecx, esi
xor edx, edx
call fcn.1001f130
add esp, 0x24
xor edx, edx
cmp dword [esi + 0x24], edi
je 0x1001aee7
mov eax, dword [esp + 0xc]
and byte [eax + 0x1c], 0x7f
jmp 0x1001a044
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x1001af04
mov ecx, dword [eax + 0x38]
and ecx, 3
cmp ecx, 2
je 0x1001af02
mov eax, dword [eax + 0x14]
jmp 0x1001aeee
mov edx, eax
mov edi, dword [esp + 0x24]
jmp 0x1001a2b6
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x78]
lea edx, [ecx + 1]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
add ecx, 3
mov dword [esp + 0x2c], ecx
mov dword [esi + 0x2c], ecx
test eax, eax
cmove eax, esi
mov byte [eax + 0x15], 1
mov edi, dword [esp + 0x18]
mov ecx, edi
mov edx, 0x71
push dword [esp + 0x1c]
push dword [esi + 0x60]
push 1
call fcn.1002fb80
add esp, 0xc
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x1001af69
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x68]
lea eax, [eax + eax*4]
mov word [ecx + eax*4 - 0x12], 0x10
mov esi, dword [esp + 0x10]
mov dword [esi + 0x28], 2
mov ecx, dword [esp + 0x18]
mov ebx, dword [ecx + 0x6c]
lea eax, [ebx + 1]
mov edx, 0xb
push eax
push 0
push dword [esp + 0x30]
call fcn.1002fb80
add esp, 0xc
cmp dword [esi + 0x24], 0
jne 0x1001a1b4
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
push 0x41
call fcn.10170230
add esp, 4
test eax, eax
je 0x1001a1b4
movzx ecx, word [eax + 0x22]
mov edx, dword [esp + 0xc]
mov word [edx + 0x24], cx
mov word [edx + 0x22], cx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov word [eax + 0x22], 0
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x208], 0
je 0x1001b18d
mov ecx, dword [esp + 0x20]
mov edx, eax
call fcn.1001dfd0
lea eax, [esp + 0x60]
mov byte [eax], 0xd
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
xorps xmm0, xmm0
movups xmmword [eax + 8], xmm0
mov esi, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [ebp + 0x10]
push eax
call fcn.10027cd0
add esp, 4
cmp dword [esi + 0x24], 0
jne 0x1001a1b4
add dword [esp + 0x24], 2
xor edi, edi
mov esi, dword [esp + 0x18]
mov ecx, esi
mov edx, 0x44
push edi
push edi
push dword [esp + 0x30]
call fcn.1002fb80
add esp, 0xc
mov eax, dword [esi + 0xc]
mov byte [eax + 0x13], 0
mov eax, dword [esi + 0xc]
mov dword [eax + 0x1c], edi
mov ecx, dword [esi]
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x28], 0x101f2320
cmp byte [ecx + 0x57], 0
mov ecx, 0x101f2320
jne 0x1001b077
lea ecx, [ebx + ebx*4]
shl ecx, 2
mov edx, dword [esp + 0x18]
add ecx, dword [edx + 0x68]
mov dword [ecx + 8], eax
mov edi, dword [esp + 0x18]
mov ecx, edi
mov edx, 0xc
xor eax, eax
push eax
push eax
xor esi, esi
push dword [esp + 0x6c]
call fcn.1002fb80
add esp, 0xc
mov dword [esp + 0x30], eax
mov ecx, edi
mov edx, 0x61
mov ebx, dword [esp + 0x24]
push ebx
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.1002fb80
add esp, 0xc
mov ecx, edi
mov edx, dword [esp + 0xc]
push esi
call fcn.10052360
add esp, 4
xor eax, eax
inc eax
mov ecx, edi
mov edx, 0x7f
push esi
mov esi, dword [esp + 0x30]
push esi
push eax
call fcn.1002fb80
add esp, 0xc
mov ecx, edi
mov edx, 0x80
push esi
push ebx
xor eax, eax
inc eax
push eax
call fcn.1002fb80
add esp, 0xc
mov ecx, edi
mov edx, 9
xor eax, eax
push eax
mov ebx, dword [esp + 0x34]
mov esi, ebx
push ebx
push eax
call fcn.1002fb80
add esp, 0xc
mov ecx, dword [edi]
mov eax, dword [edi + 0x6c]
cmp byte [ecx + 0x57], 0
jne 0x1001b12a
lea edx, [esi + esi*4]
shl edx, 2
mov ecx, dword [esp + 0x18]
add edx, dword [ecx + 0x68]
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x28]
mov dword [ecx + 8], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edx, 0x7a
push eax
push eax
push 1
call fcn.1002fb80
add esp, 0xc
mov edi, dword [esp + 0x20]
mov ecx, edi
mov edx, dword [esp + 0xc]
call fcn.10170350
jmp 0x1001a598
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test byte [eax + 0x50], 8
jne 0x1001ae3a
mov eax, dword [esp + 0x10]
mov byte [eax + 0x17], 1
jmp 0x1001ae3a
mov eax, 0x101f2320
jmp 0x1001a85e
mov eax, 0x101f2320
jmp 0x1001a88a
dec dword [eax + 0x18]
jne 0x1001aff4
jmp 0x1001afe9
movzx edx, word [ecx + 0x34]
xor edi, edi
test edx, edx
je 0x1001b24b
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [ecx + 4]
xor esi, esi
movzx eax, word [ecx + esi*2]
xor ebx, ebx
inc ebx
test ax, ax
js 0x1001b1d4
shl eax, 4
mov ebx, dword [esp + 0x14]
movzx ebx, byte [ebx + eax + 9]
add edi, ebx
inc esi
cmp edx, esi
jne 0x1001b1bc
shl edi, 2
cmp edi, 8
jb 0x1001b24f
cmp edi, 0x100
jae 0x1001b261
xor edx, edx
mov bx, 0x28
cmp edi, 0x10
mov eax, edx
sbb eax, 0
jb 0x1001b21c
mov ecx, edx
mov eax, edi
add ebx, 0xa
mov edi, edx
shld edi, eax, 0x1f
shr ecx, 1
mov esi, 0x1f
cmp esi, eax
mov eax, 0
sbb eax, edx
mov edx, ecx
jb 0x1001b1fd
mov ecx, edi
mov esi, dword [esp + 0x10]
and ecx, 7
add bx, word [ecx + ecx + 0x101b5eae]
add ebx, 0xfffffff6
mov ecx, dword [esp + 0x18]
mov word [ecx + 0x30], bx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
mov ebx, dword [ebp + 0x10]
je 0x1001a134
jmp 0x1001b19b
xor ebx, ebx
jmp 0x1001b234
mov bx, 0x1e
xor ecx, ecx
test edi, edi
jne 0x1001b21e
xor ebx, ebx
mov esi, dword [esp + 0x10]
jmp 0x1001b230
xor ecx, ecx
mov bx, 0x28
mov esi, edi
xor edx, edx
add ebx, 0x28
mov edi, ecx
shld edi, esi, 0x1c
shr edx, 4
mov eax, 0xfff
cmp eax, esi
mov eax, 0
sbb eax, ecx
mov esi, edi
mov ecx, edx
jae 0x1001b1f1
jmp 0x1001b26b