Function at 0x101a7fe0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
push ebx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0x1c]
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0xa4
mov dword [edx + 0x1c], 0xffffffff
cmp dword [ebp + 0xc], ecx
je 0x101a8073
mov ecx, dword [ebp + 0x18]
test byte [ecx + 0x18], 6
je 0x101a8030
mov dword [ebp + 0xc], 0
jmp 0x101a8073
mov ecx, dword [eax + 0x14]
xor edi, edi
mov dword [ebp - 0x2c], ecx
test ecx, ecx
jle 0x101a8073
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], eax
mov ebx, eax
mov eax, dword [ebx]
mov esi, dword [ebp + 0xc]
sub esi, eax
jmp 0x101a8050
movzx ecx, byte [eax]
movzx edx, byte [esi + eax]
cmp ecx, edx
jne 0x101a813f
test ecx, ecx
jne 0x101a8151
mov edx, dword [ebp - 0x10]
add edi, edi
mov eax, dword [edx + edi*8 + 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x101a82b9
cmp dword [ecx], 0
lea eax, [ecx + 8]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], eax
jle 0x101a8290
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 4], edx
test eax, eax
je 0x101a8112
test dword [eax + 4], 0x800
je 0x101a8112
mov eax, dword [eax + 0x1c]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x30], eax
cmp dword [eax], esi
jle 0x101a8108
lea ebx, [eax + 4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, ebx
call fcn.10129450
add esp, 8
test eax, eax
je 0x101a80f5
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
mov edi, 1
add dword [ebp - 8], edi
mov dword [ebp - 0x18], 2
mov dword [ebp - 0xc], edx
mov dword [eax + 0x20], esi
mov ecx, dword [ebp - 0x30]
inc esi
add ebx, 0x14
cmp esi, dword [ecx]
jl 0x101a80c1
test edi, edi
jne 0x101a8275
cmp dword [ebp + 0x10], 0
je 0x101a8275
cmp dword [ebp + 0xc], 0
je 0x101a8127
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x48]
cmp eax, dword [ebp - 0x1c]
jne 0x101a8275
cmp dword [ebp + 0x10], 0
je 0x101a81ce
mov ecx, dword [ebp - 0x10]
mov edi, dword [ecx + 0xc]
test edi, edi
je 0x101a8169
mov ecx, edi
jmp 0x101a816e
movzx edx, byte [edx + 0x1026d428]
movzx ecx, byte [ecx + 0x1026d428]
sub ecx, edx
jne 0x101a8157
inc eax
jmp 0x101a8050
inc edi
add ebx, 0x10
cmp edi, dword [ebp - 0x2c]
jl 0x101a8044
jmp 0x101a8073
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
mov esi, dword [ebp + 0x10]
sub esi, ecx
movzx eax, byte [ecx]
movzx edx, byte [esi + ecx]
cmp eax, edx
jne 0x101a81af
test eax, eax
jne 0x101a81c5
mov eax, dword [ebp + 8]
cmp byte [eax + 0xca], 2
jb 0x101a81ce
test edi, edi
je 0x101a81ce
mov eax, dword [eax + 0x110]
test eax, eax
je 0x101a81ce
mov ecx, dword [ebp + 0x1c]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x101a81c8
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x101a81a2
jmp 0x101a81ce
movzx edx, byte [edx + 0x1026d428]
movzx eax, byte [eax + 0x1026d428]
sub eax, edx
jne 0x101a8275
inc ecx
jmp 0x101a8173
mov dword [eax], 0
mov eax, dword [ebp - 0x18]
mov ecx, eax
inc eax
mov dword [ebp - 0x18], eax
test ecx, ecx
jne 0x101a81e1
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
movsx eax, word [eax + 0x2a]
xor edi, edi
mov dword [ebp - 0x30], eax
test eax, eax
jle 0x101a8275
mov eax, dword [ebx]
mov esi, dword [ebp + 0x14]
sub esi, eax
nop
movzx ecx, byte [eax]
movzx edx, byte [esi + eax]
cmp ecx, edx
jne 0x101a823e
test ecx, ecx
jne 0x101a8250
cmp dword [ebp - 8], 1
jne 0x101a8253
mov edx, dword [ebp - 0x10]
test byte [edx + 0x24], 4
jne 0x101a8233
mov eax, dword [ebp + 0x14]
mov ecx, edx
push eax
mov eax, dword [ecx + 0x34]
call fcn.10129520
add esp, 4
test eax, eax
je 0x101a8253
inc edi
add ebx, 0x14
cmp edi, dword [ebp - 0x30]
jl 0x101a81f8
jmp 0x101a8275
movzx edx, byte [edx + 0x1026d428]
movzx ecx, byte [ecx + 0x1026d428]
sub ecx, edx
jne 0x101a8233
inc eax
jmp 0x101a8200
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x28]
inc dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
cmp edi, ecx
jne 0x101a826c
or eax, 0xffffffff
jmp 0x101a826f
movsx eax, di
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x34]
inc ecx
add eax, 0x48
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10], eax
cmp ecx, dword [edx]
jl 0x101a809a
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x101a82b9
mov edx, dword [eax + 0x2c]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x1c], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x2c], edx
test byte [eax + 0x24], 8
je 0x101a82b3
or dword [ecx + 4], 0x100000
mov ecx, dword [edx + 0x48]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 0xc], 0
jne 0x101a8531
cmp dword [ebp + 0x10], 0
je 0x101a8531
cmp dword [ebp - 0x18], 0
jne 0x101a8531
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax + 0x78], edi
je 0x101a8366
movzx ebx, byte [eax + 0x90]
cmp ebx, 0x7e
je 0x101a8330
mov esi, dword [ebp + 0x10]
mov ecx, 0x10276b58
sub esi, ecx
mov edi, edi
movzx eax, byte [ecx]
movzx edx, byte [ecx + esi]
cmp eax, edx
jne 0x101a831b
test eax, eax
jne 0x101a832d
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x1c], 1
jmp 0x101a835d
movzx edx, byte [edx + 0x1026d428]
movzx eax, byte [eax + 0x1026d428]
sub eax, edx
jne 0x101a8330
inc ecx
jmp 0x101a8300
cmp ebx, 0x7d
je 0x101a8366
mov esi, dword [ebp + 0x10]
mov ecx, 0x10276b5c
sub esi, ecx
nop
movzx eax, byte [ecx]
movzx edx, byte [ecx + esi]
cmp eax, edx
jne 0x101a8423
test eax, eax
jne 0x101a8439
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x1c], edi
mov edx, dword [ebp + 8]
mov edi, dword [edx + 0x78]
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x18]
test dword [eax + 0x18], 0x200
je 0x101a83ad
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x101a83ad
mov esi, dword [ebp + 0x10]
mov ecx, str.excluded
sub esi, ecx
movzx eax, byte [ecx]
movzx edx, byte [ecx + esi]
cmp eax, edx
jne 0x101a843f
test eax, eax
jne 0x101a8455
mov ecx, dword [ebx + 0x14]
mov edi, dword [ecx + 0x18]
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 4], edi
mov dword [edx + 0x1c], 2
test edi, edi
je 0x101a8531
mov eax, dword [edi + 0x48]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x1c], eax
movsx eax, word [edi + 0x2a]
xor esi, esi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x101a83fd
mov eax, dword [ebx]
mov edi, dword [ebp + 0x14]
sub edi, eax
lea esp, [esp]
movzx ecx, byte [eax]
movzx edx, byte [edi + eax]
cmp ecx, edx
jne 0x101a845b
test ecx, ecx
jne 0x101a846d
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x28]
cmp esi, eax
jne 0x101a83fd
or esi, 0xffffffff
cmp esi, dword [ebp - 0x10]
jl 0x101a8485
mov edx, dword [ebp + 0x14]
call fcn.101290b0
test eax, eax
je 0x101a8485
mov edi, dword [ebp - 4]
test dword [edi + 0x24], 0x200
jne 0x101a8488
or esi, 0xffffffff
jmp 0x101a8488
movzx edx, byte [edx + 0x1026d428]
movzx eax, byte [eax + 0x1026d428]
sub eax, edx
jne 0x101a8366
inc ecx
jmp 0x101a8340
movzx edx, byte [edx + 0x1026d428]
movzx eax, byte [eax + 0x1026d428]
sub eax, edx
jne 0x101a83ad
inc ecx
jmp 0x101a8383
movzx edx, byte [edx + 0x1026d428]
movzx ecx, byte [ecx + 0x1026d428]
sub ecx, edx
jne 0x101a8473
inc eax
jmp 0x101a83e0
inc esi
add ebx, 0x14
cmp esi, dword [ebp - 0x10]
jl 0x101a83d2
jmp 0x101a83fd
mov edi, dword [ebp - 4]
cmp esi, dword [ebp - 0x10]
jge 0x101a8531
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x1c]
mov edx, 1
add dword [ebp - 8], edx
cmp ecx, 2
jne 0x101a84da
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xca], 2
jb 0x101a84bc
mov dword [eax + 0x20], esi
mov dword [ebp - 0x20], 0xa4
jmp 0x101a852e
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + 8]
mov edx, dword [ecx + 0x18]
add edx, esi
or dword [eax + 4], 0x400000
mov dword [eax + 0x1c], edx
mov dword [ebp - 0x20], 0xad
jmp 0x101a8531
test esi, esi
jns 0x101a84e4
mov byte [eax + 1], 0x44
jmp 0x101a8521
test ecx, ecx
jne 0x101a850a
cmp esi, 0x20
jl 0x101a84fb
mov ecx, dword [ebp + 8]
or edx, 0xffffffff
or dword [ecx + 0x88], edx
jmp 0x101a8521
mov ecx, esi
shl edx, cl
mov ecx, dword [ebp + 8]
or dword [ecx + 0x88], edx
jmp 0x101a8521
cmp esi, 0x20
jl 0x101a8514
or edx, 0xffffffff
jmp 0x101a8518
mov ecx, esi
shl edx, cl
mov ecx, dword [ebp + 8]
or dword [ecx + 0x8c], edx
movsx ecx, si
mov dword [eax + 0x20], ecx
mov dword [ebp - 0x20], 0x4d
mov dword [eax + 0x2c], edi
mov edi, dword [ebp - 8]
test edi, edi
jne 0x101a857c
cmp dword [ebp - 0x18], 1
jne 0x101a857c
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x101a857c
mov edx, dword [ebp + 0x18]
test byte [edx + 0x18], 0x28
jne 0x101a857c
mov edx, dword [ebp + 0x14]
call fcn.101290b0
test eax, eax
je 0x101a857c
mov eax, dword [esi + 0x10]
test dword [eax + 0x24], 0x200
jne 0x101a857c
mov eax, dword [ebp + 0x1c]
mov edi, 1
mov dword [ebp - 8], edi
mov dword [eax + 0x20], 0xffffffff
mov byte [eax + 1], 0x44
mov ecx, dword [ebp + 0x18]
test byte [ecx + 0x18], 0x80
je 0x101a8614
test edi, edi
jne 0x101a881b
cmp dword [ebp + 0x10], edi
jne 0x101a861c
mov edx, ecx
mov eax, dword [edx + 8]
mov eax, dword [eax]
xor ebx, ebx
mov dword [ebp - 0x34], eax
test eax, eax
jle 0x101a861c
mov eax, ecx
mov esi, dword [eax + 8]
mov eax, dword [ebp + 0x14]
add esi, 0x10
mov dword [ebp - 0x2c], esi
test byte [esi], 3
mov ecx, dword [esi - 8]
jne 0x101a85f1
test ecx, ecx
jne 0x101a85cc
mov edx, eax
neg edx
sbb edx, edx
jmp 0x101a85e9
test eax, eax
je 0x101a85f1
mov esi, ecx
sub eax, ecx
movzx edx, byte [esi]
movzx edi, byte [esi + eax]
cmp edx, edi
jne 0x101a85ff
test edx, edx
jne 0x101a8611
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp + 0x14]
test edx, edx
je 0x101a86d2
inc ebx
add esi, 0x14
mov dword [ebp - 0x2c], esi
cmp ebx, dword [ebp - 0x34]
jl 0x101a85b8
jmp 0x101a861c
movzx edi, byte [edi + 0x1026d428]
movzx edx, byte [edx + 0x1026d428]
sub edx, edi
jne 0x101a85e3
inc esi
jmp 0x101a85d4
test edi, edi
jne 0x101a881b
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0xc]
inc dword [ebp - 0x24]
mov dword [ebp + 0x18], eax
test eax, eax
jne 0x101a8073
cmp dword [ebp + 0x10], eax
jne 0x101a8828
mov esi, dword [ebp + 0x1c]
mov ebx, dword [esi + 4]
test bl, 0x40
je 0x101a869e
mov ecx, dword [ebp - 0x28]
cmp byte [ecx + 0xa5], al
jne 0x101a87f2
mov edx, dword [ebp - 0x14]
test dword [edx + 0x18], 0x10000
mov eax, dword [ecx + 0x20]
je 0x101a87e3
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x3c], ecx
mov ecx, eax
and ecx, 0x10000001
xor edx, edx
cmp ecx, 1
jne 0x101a868f
test edx, edx
jne 0x101a868f
mov ecx, eax
and ecx, 0x40000000
or ecx, edx
jne 0x101a87f2
and eax, 0x20000000
xor ecx, ecx
or eax, ecx
jne 0x101a87f2
test ebx, 0x4000000
jne 0x101a8828
mov eax, esi
mov edx, dword [eax + 8]
call fcn.10129190
test eax, eax
je 0x101a8828
mov ecx, esi
or eax, ebx
mov dword [ecx + 4], eax
mov byte [ecx], 0xa7
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 8]
mov edx, dword [edx + 0x18]
lea esi, [ebx + ebx*4]
mov eax, dword [eax + esi*4 + 4]
test dl, 1
jne 0x101a870b
test byte [eax + 4], 0x10
je 0x101a870b
mov edx, dword [ebp + 8]
push ecx
push str.misuse_of_aliased_aggregate__s
push edx
call fcn.1015fc10
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax + 4], 0x8000
je 0x101a8742
test edx, 0x4000
je 0x101a8724
mov edi, dword [ebp - 0x14]
cmp dword [ebp + 0x18], edi
je 0x101a8745
mov eax, dword [ebp + 8]
push ecx
push str.misuse_of_aliased_window_function__s
push eax
call fcn.1015fc10
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x14]
mov dl, byte [eax]
cmp dl, 0xad
jne 0x101a874f
mov dl, byte [eax + 2]
cmp dl, 0xae
jne 0x101a875b
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
jmp 0x101a8768
cmp dl, 0x88
jne 0x101a878a
mov edx, dword [eax + 0x14]
mov eax, dword [edx + 0x1c]
mov eax, dword [eax]
cmp eax, 1
je 0x101a878a
mov ecx, dword [ebp + 8]
push str.row_value_misused
push ecx
call fcn.1015fc10
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
push 0x10275ad6
push edx
mov edx, dword [ebp - 0x24]
push esi
mov eax, ebx
call fcn.101a3a90
add esp, 0xc
cmp byte [esi + 0xca], 2
jb 0x101a8977
mov eax, dword [esi + 0x110]
test eax, eax
je 0x101a8977
mov ecx, dword [ebp + 0x1c]
cmp dword [eax], ecx
je 0x101a87d8
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x101a87c8
jmp 0x101a8977
mov dword [eax], 0
jmp 0x101a8977
and eax, 0x40000000
xor ecx, ecx
or eax, ecx
je 0x101a869e
mov edx, dword [ebp + 0x14]
push edx
push str.double_quoted_string_literal:___w_
push 0x1c
call sym.SQLite.Interop.dll_sqlite3_log
add esp, 0xc
mov byte [esi], 0x73
mov dword [esi + 0x2c], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 1
je 0x101a889d
test edi, edi
jne 0x101a882f
mov eax, str.no_such_column
jmp 0x101a8834
mov eax, str.ambiguous_column_name
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x101a8862
push edx
push ecx
push eax
push str._s:__s._s._s
push esi
call fcn.1015fc10
mov eax, dword [ebp - 0x14]
add esp, 0x18
mov byte [esi + 0x11], 1
inc dword [eax + 0x14]
jmp 0x101a88a0
test edx, edx
je 0x101a8882
push edx
push eax
push str._s:__s._s
push esi
call fcn.1015fc10
mov eax, dword [ebp - 0x14]
add esp, 0x14
mov byte [esi + 0x11], 1
inc dword [eax + 0x14]
jmp 0x101a88a0
push eax
push str._s:__s
push esi
call fcn.1015fc10
mov eax, dword [ebp - 0x14]
add esp, 0x10
mov byte [esi + 0x11], 1
inc dword [eax + 0x14]
jmp 0x101a88a0
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
mov ecx, dword [ecx + 0x20]
test ecx, ecx
js 0x101a892b
cmp dword [ebp - 0xc], 0
je 0x101a892b
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x2c]
mov dl, 0x60
test byte [eax + 0x24], dl
je 0x101a890c
mov ebx, dword [eax + 4]
lea edi, [ecx + ecx*4]
test byte [ebx + edi*4 + 0x10], dl
je 0x101a890c
movzx eax, word [eax + 0x2a]
cmp ax, 0x40
jl 0x101a88ec
mov ecx, dword [ebp - 0xc]
or eax, 0xffffffff
or edx, 0xffffffff
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], edx
jmp 0x101a892b
movsx ecx, ax
mov eax, 1
xor edx, edx
call fcn.101020d0
mov ecx, dword [ebp - 0xc]
add eax, 0xffffffff
adc edx, 0xffffffff
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], edx
jmp 0x101a892b
mov ebx, dword [ebp - 0xc]
cmp ecx, 0x40
jl 0x101a8919
mov ecx, 0x3f
mov eax, 1
xor edx, edx
call fcn.101020d0
or dword [ebx + 0x38], eax
or dword [ebx + 0x3c], edx
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx + 0xc]
xor edi, edi
cmp eax, edi
je 0x101a8944
push eax
mov eax, dword [ebp - 0x28]
push eax
call fcn.10143ba0
add esp, 8
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0xc], edi
cmp eax, edi
je 0x101a895b
mov ecx, dword [ebp - 0x28]
push eax
push ecx
call fcn.10143ba0
add esp, 8
mov dl, byte [ebp - 0x20]
or dword [ebx + 4], 0x800000
cmp dword [ebp - 8], 1
mov dword [ebx + 0x10], edi
mov byte [ebx], dl
jne 0x101a86ff
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
test dword [eax + 4], 0x400000
jne 0x101a8997
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp - 0x1c]
push edx
push eax
push esi
call fcn.10172710
add esp, 0xc
inc dword [edi + 0x10]
cmp edi, dword [ebp + 0x18]
je 0x101a89c0
mov ecx, dword [ebp + 0x18]
mov edx, 1
jmp 0x101a89b3
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0xc]
add dword [eax + 0x10], edx
mov dword [ebp - 0x14], eax
cmp eax, ecx
jne 0x101a89b0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret