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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
jne 0x1019c9cb
push 0x1027dfdc
push 0x13fc2
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call sym.SQLite.Interop.dll_sqlite3_log
add esp, 0x14
lea eax, [esi + 0x15]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1019c9df
push eax
call dword [0x10292478]
add esp, 4
mov edi, dword [esi + 0x18]
cmp byte [edi + 9], 0
je 0x1019c9f6
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x1019c9f6
call fcn.10134af0
mov eax, dword [esi]
test eax, eax
je 0x1019ca0d
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1019ca0d
push eax
call dword [0x10292478]
add esp, 4
mov ebx, dword [esi + 0x1c]
test ebx, ebx
je 0x1019ca22
cmp ebx, 5
je 0x1019ca22
cmp ebx, 6
jne 0x1019d1af
cmp dword [esi], 0
mov edi, dword [esi + 0x18]
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], 0
je 0x1019ca5a
mov eax, dword [edi + 4]
cmp byte [eax + 0x14], 2
jne 0x1019ca5a
mov ebx, 5
jmp 0x1019cbc8
xor ebx, ebx
cmp byte [edi + 8], bl
jne 0x1019cbc8
mov esi, dword [edi + 4]
mov dword [esp + 0xc], ebx
cmp byte [edi + 9], bl
je 0x1019ca7e
inc dword [edi + 0xc]
cmp byte [edi + 0xa], bl
jne 0x1019ca7e
call fcn.10134af0
mov al, byte [edi + 8]
cmp al, 2
je 0x1019cba7
cmp al, 1
je 0x1019cba7
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
and eax, 0x2000000
xor ecx, ecx
or eax, ecx
je 0x1019cab1
mov ecx, dword [esi]
cmp byte [ecx + 0xe], bl
jne 0x1019cab1
mov edx, 0xfffe
and word [esi + 0x18], dx
test byte [esi + 0x18], 0x80
je 0x1019cad8
mov eax, dword [esi + 0x50]
mov eax, dword [eax]
test eax, eax
je 0x1019cad8
push eax
mov eax, dword [edi]
call fcn.10132c70
add esp, 4
mov dword [esp + 0xc], 0x106
jmp 0x1019cba7
mov bl, 1
mov edx, 1
mov ecx, edi
call fcn.10134a60
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1019cba7
mov ecx, 0xffef
and word [esi + 0x18], cx
cmp dword [esi + 0x30], 0
movzx eax, word [esi + 0x18]
jne 0x1019cb0c
or eax, 0x10
mov word [esi + 0x18], ax
cmp dword [esi + 0xc], 0
jne 0x1019cb23
mov eax, esi
call fcn.10193d20
mov dword [esp + 0xc], eax
test eax, eax
je 0x1019cb0c
jmp 0x1019cb2a
cmp dword [esp + 0xc], 0
je 0x1019cb5c
cmp byte [esi + 0x14], 0
jne 0x1019cb5c
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1019cb5c
mov dword [esi + 0xc], 0
mov eax, dword [eax + 0x48]
mov ebx, dword [eax + 0x14]
call fcn.1012c920
mov edx, dword [ebx + 0xe4]
cmp dword [edx + 0xc], 0
jne 0x1019cb5c
mov eax, ebx
call fcn.101436a0
mov ebx, dword [esp + 0xc]
cmp bl, 5
jne 0x1019cb78
cmp byte [esi + 0x14], 0
jne 0x1019cb78
push esi
call fcn.1012ac30
add esp, 4
test eax, eax
jne 0x1019cb0c
test ebx, ebx
jne 0x1019cba7
lea eax, [ebx + 1]
cmp byte [edi + 8], bl
jne 0x1019cb9b
add dword [esi + 0x2c], eax
cmp byte [edi + 9], bl
je 0x1019cb9b
mov byte [edi + 0x28], al
mov ecx, dword [esi + 0x4c]
lea edx, [edi + 0x20]
mov dword [edi + 0x2c], ecx
mov dword [esi + 0x4c], edx
mov byte [edi + 8], al
cmp byte [esi + 0x14], al
jae 0x1019cba7
mov byte [esi + 0x14], 1
cmp byte [edi + 9], 0
je 0x1019cbb9
dec dword [edi + 0xc]
jne 0x1019cbb9
mov esi, edi
call fcn.1012b2f0
mov ebx, dword [esp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x2c], 1
cmp dword [esi + 0xc], 0
jne 0x1019cbf3
test ebx, ebx
jne 0x1019cc1c
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov eax, dword [ecx + 0x24]
push ebx
push 0xffffffffffffffff
push edx
call fcn.1017a590
add esp, 0xc
cmp eax, 7
jne 0x1019cbf7
mov ebx, eax
jmp 0x1019cc1c
test ebx, ebx
jne 0x1019cc1c
cmp dword [esi + 0xc], 0
jne 0x1019cc1c
mov ecx, dword [esi + 4]
lea eax, [esi + 8]
push eax
push 2
push ecx
call fcn.10197c50
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1019cc1c
mov dword [esi + 0xc], 1
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x24]
mov edx, dword [esi + 0x18]
mov eax, dword [eax]
mov ecx, dword [edx + 4]
movzx eax, byte [eax + 5]
mov edx, dword [ecx + 0x24]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], eax
test ebx, ebx
jne 0x1019cc50
cmp eax, 5
jne 0x1019cc50
cmp edx, edi
je 0x1019cc50
lea ebx, [eax + 3]
mov ecx, dword [ecx + 0x30]
and ecx, 0x7fffffff
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], 0
mov eax, dword [ebp + 0xc]
test eax, eax
js 0x1019cc72
cmp dword [esp + 0x18], eax
jge 0x1019cce9
mov edi, dword [esi + 0x10]
cmp edi, dword [esp + 0xc]
ja 0x1019cce9
test ebx, ebx
jne 0x1019cd2c
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx + 4]
mov eax, dword [0x10292424]
xor edx, edx
div dword [ecx + 0x24]
inc eax
cmp edi, eax
je 0x1019ccd8
mov eax, dword [esp + 0x28]
push 2
lea edx, [esp + 0x24]
push edx
push edi
push eax
mov eax, dword [eax + 0xcc]
call eax
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x1019ccd8
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
push ebx
push eax
push edi
push esi
call fcn.101798a0
mov ebx, eax
mov eax, dword [esp + 0x30]
add esp, 0x10
test eax, eax
je 0x1019ccd8
call fcn.10135150
mov eax, 1
add dword [esi + 0x10], eax
add dword [esp + 0x18], eax
jmp 0x1019cc65
test ebx, ebx
jne 0x1019cd2c
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x10]
mov edx, ecx
sub edx, eax
inc edx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], edx
cmp eax, ecx
ja 0x1019cd39
cmp dword [esi + 0x28], ebx
jne 0x1019d111
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [edx]
mov edx, dword [eax + 0x58]
mov dword [ecx + 0x2c], edx
mov dword [eax + 0x58], ecx
mov dword [ecx + 0x28], 1
jmp 0x1019d111
cmp ebx, 0x65
jne 0x1019d111
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x1019cd8c
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
cmp byte [esi + 9], cl
je 0x1019cd57
inc dword [esi + 0xc]
cmp byte [esi + 0xa], cl
jne 0x1019cd57
mov edi, esi
call fcn.10134af0
mov ecx, dword [esi + 4]
mov dword [ecx + 0x30], 0
mov ebx, dword [esi + 4]
call fcn.1017a4d0
cmp byte [esi + 9], 0
mov ebx, eax
je 0x1019cd7b
dec dword [esi + 0xc]
jne 0x1019cd7b
call fcn.1012b2f0
mov dword [esp + 0xc], 1
test ebx, ebx
je 0x1019cd8c
cmp ebx, 0x65
jne 0x1019cde8
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov edi, dword [eax + 4]
mov esi, dword [edi + 4]
inc ebx
cmp byte [edi + 9], 0
je 0x1019cdad
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x1019cdad
call fcn.10134af0
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x38]
mov esi, dword [eax + 0x48]
mov dword [esp + 0x20], edx
call fcn.101741b0
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1019cdd0
mov ecx, dword [esp + 0x20]
bswap ebx
mov dword [ecx + 0x28], ebx
cmp byte [edi + 9], 0
je 0x1019cde6
dec dword [edi + 0xc]
jne 0x1019cde6
mov esi, edi
call fcn.1012b2f0
mov eax, dword [esp + 0x18]
mov ebx, eax
test ebx, ebx
jne 0x1019d111
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x1019cdfe
call fcn.1015d950
cmp dword [esp + 0x30], 5
jne 0x1019ce1c
mov eax, dword [esi + 4]
push 2
call fcn.10199f30
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1019d111
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
cmp ecx, edi
jge 0x1019ce5b
mov eax, edi
cdq
idiv ecx
mov edx, dword [esp + 0xc]
mov esi, eax
lea eax, [esi + edx - 1]
cdq
idiv esi
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov edi, dword [edx + 4]
mov eax, dword [0x10292424]
xor edx, edx
div dword [edi + 0x24]
mov edi, dword [esp + 0x14]
inc eax
cmp esi, eax
jne 0x1019ce67
dec esi
jmp 0x1019ce67
mov eax, ecx
cdq
idiv edi
mov esi, eax
imul esi, dword [esp + 0xc]
cmp ecx, edi
jge 0x1019d0e0
mov eax, ecx
cdq
mov ecx, eax
mov eax, dword [esp + 0xc]
mov edi, edx
push edi
cdq
push ecx
push edx
push eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edi
call fcn.10100050
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x3c], edx
mov edx, dword [ecx + 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], edx
mov edi, esi
cmp edi, dword [esp + 0x30]
ja 0x1019cf03
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov esi, dword [edx + 4]
mov eax, dword [0x10292424]
xor edx, edx
div dword [esi + 0x24]
inc eax
cmp edi, eax
je 0x1019cefc
push 0
lea eax, [esp + 0x24]
push eax
push edi
push ecx
mov ecx, dword [ecx + 0xcc]
call ecx
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x1019cef8
mov esi, dword [esp + 0x20]
call fcn.101741b0
mov ebx, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1019cef8
call fcn.10135150
mov ecx, dword [esp + 0x10]
inc edi
test ebx, ebx
je 0x1019cea8
jmp 0x1019cf16
test ebx, ebx
jne 0x1019cf16
push 1
push ebx
mov eax, ecx
call fcn.10185690
add esp, 8
mov ebx, eax
mov eax, dword [0x10292424]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
cdq
cmp edx, ecx
jg 0x1019cf3a
jl 0x1019cf30
cmp eax, dword [esp + 0x38]
jae 0x1019cf3a
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jmp 0x1019cf46
mov edx, dword [esp + 0x38]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x1c]
add eax, dword [0x10292424]
cdq
mov esi, eax
mov edi, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
test ebx, ebx
jne 0x1019d111
cmp edi, dword [esp + 0x34]
jg 0x1019d04d
jl 0x1019cf7b
cmp esi, dword [esp + 0x30]
jae 0x1019d04d
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push 0
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
push edi
push esi
mov dword [esp + 0x30], 0
call fcn.10104240
inc eax
push eax
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0xcc]
push eax
call edx
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x1019cfd3
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
mov edx, dword [ecx]
push edi
push esi
push ebx
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
add esp, 0x14
mov ebx, eax
mov eax, dword [esp + 0x18]
mov ecx, eax
test eax, eax
je 0x1019d030
test byte [eax + 0x1c], 0x20
je 0x1019d02b
mov eax, dword [eax + 0x14]
dec dword [eax + 0x78]
mov edx, dword [eax + 0x88]
mov dword [ecx + 0x10], edx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], ecx
mov edx, dword [ecx + 4]
mov eax, dword [eax + 0x98]
mov ecx, dword [ecx + 0x18]
mov edi, dword [esi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.10100050
push edx
mov edx, dword [edi + 0x48]
push eax
push esi
call edx
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
add esp, 0x10
jmp 0x1019d030
call fcn.1012c920
add esi, dword [esp + 0x40]
adc edi, dword [esp + 0x44]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
test ebx, ebx
je 0x1019cf65
jmp 0x1019d111
test ebx, ebx
jne 0x1019d111
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x40]
push ecx
push esi
call edx
add esp, 8
test eax, eax
jne 0x1019d094
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x44], ecx
jl 0x1019d094
jg 0x1019d083
mov edx, dword [esp + 0x40]
cmp edx, dword [esp + 0x38]
jbe 0x1019d094
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
push esi
call edx
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x1019d111
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
je 0x1019d0b8
push ebx
push 0x15
push eax
mov eax, dword [ecx + 0x28]
call eax
add esp, 0xc
cmp eax, 0xc
jne 0x1019d0bc
xor eax, eax
jmp 0x1019d0c0
test eax, eax
jne 0x1019d0f3
cmp byte [esi + 7], 0
jne 0x1019d0f3
movzx eax, byte [esi + 0xa]
mov ecx, dword [esi + 0x3c]
test eax, eax
je 0x1019d0dc
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
jmp 0x1019d0f0
xor eax, eax
jmp 0x1019d0f3
mov eax, dword [esp + 0x10]
push 0
push 0
mov dword [eax + 0x18], esi
call fcn.10185690
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x1019d111
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ecx + 4]
call fcn.1017a400
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1019d111
lea ebx, [eax + 0x65]
cmp dword [esp + 0x2c], 0
je 0x1019d19a
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x18]
cmp byte [esi + 8], 2
jne 0x1019d18a
cmp byte [esi + 9], 0
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
je 0x1019d145
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x1019d145
mov edi, esi
call fcn.10134af0
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x11], 0
je 0x1019d15a
mov edi, ecx
call fcn.10193a80
test eax, eax
jne 0x1019d17a
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x13], 0
je 0x1019d16c
mov edx, dword [eax]
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x18], ecx
mov eax, dword [eax]
push 0
push 0
call fcn.10185690
add esp, 8
cmp byte [esi + 9], 0
je 0x1019d18a
dec dword [esi + 0xc]
jne 0x1019d18a
call fcn.1012b2f0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push 0
call fcn.1017a400
add esp, 4
cmp ebx, 0xc0a
jne 0x1019d1a7
mov ebx, 7
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], ebx
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x1019d1c6
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1019d1c6
push eax
call dword [0x10292480]
add esp, 4
mov eax, dword [esi + 0x18]
cmp byte [eax + 9], 0
je 0x1019d1de
dec dword [eax + 0xc]
jne 0x1019d1de
mov esi, eax
call fcn.1012b2f0
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x1019d1f2
push eax
call dword [0x10292480]
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret