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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov esi, edx
mov edx, dword [ebp + 8]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [esp + 0x30], eax
mov bl, 1
cmp dword [edx], 0
je 0x10194bdb
movzx esi, bl
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.10157a00
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, ecx
mov eax, dword [esi]
dec eax
cmp eax, 3
jbe switch.0x10194d69
cmp dword [edi + 0x1c], 0
je 0x10194e45
cmp byte [esi + 0x22], 0
je 0x10194e16
mov ecx, dword [esi + 0x14]
cmp dword [ecx + 0x18], 0
je 0x10194c18
push dword [ecx + 0x1c]
mov ebx, ecx
call sym.nss3.dll_sqlite3_free
mov ecx, ebx
mov edx, dword [ebp + 8]
add esp, 4
mov dword [esp + 0x1c], esi
xor eax, eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x18], eax
cmp dword [ecx + 0x40], 0
mov dword [esp], ecx
jle 0x1019501a
lea ebx, [ecx + 0x58]
xor esi, esi
dec esi
mov dword [esp + 0x18], esi
xor esi, esi
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov dword [esp + 4], edi
mov dword [esp + 0xc], ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10194cdc
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x10194f4a
mov edi, dword [eax]
call sym.nss3.dll_sqlite3_initialize
test eax, eax
jne 0x10194deb
mov edx, edi
sar edx, 0x1f
mov ecx, edi
call fcn.10142fa0
test eax, eax
je 0x10194deb
mov edi, eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x28]
call fcn.10188d90
mov ecx, dword [ebx + 0xc]
mov ebx, dword [ecx]
sub ebx, eax
add eax, dword [ecx + 4]
push ebx
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 8]
test eax, eax
jne 0x10194efe
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 8], edi
mov edi, dword [esp + 4]
mov edx, dword [ebp + 8]
mov ecx, dword [esp]
mov eax, dword [esp + 0x14]
inc esi
mov ebx, dword [esp + 0xc]
add ebx, 0x18
cmp esi, dword [ecx + 0x40]
jl 0x10194c58
mov esi, dword [esp + 0x18]
test esi, esi
js 0x1019501a
mov eax, dword [ecx + 0x2c]
test eax, eax
js 0x10194fef
mov ebx, edi
mov edx, ecx
mov ecx, esi
sub ecx, eax
neg ecx
sub esi, eax
cmovb esi, ecx
mov dword [esp + 0x18], esi
mov eax, dword [edx + 0x1c]
mov esi, dword [esp + 8]
mov ecx, esi
cmovb ecx, eax
cmovb eax, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
call sym.nss3.dll_sqlite3_initialize
test eax, eax
jne 0x10194d54
mov ecx, dword [esp + 0x10]
add ecx, 8
mov edx, ecx
sar edx, 0x1f
mov dword [esp + 0x10], ecx
call fcn.10142fa0
test eax, eax
jne 0x10195064
push esi
call sym.nss3.dll_sqlite3_free
add esp, 4
mov esi, 7
mov edi, ebx
jmp 0x10194df4
jmp dword [eax*4 + 0x101b9704]
mov edx, dword [esi + 0xc]
mov ecx, edi
mov eax, dword [ebp + 8]
push eax
call fcn.10194ba0
add esp, 4
test eax, eax
jne 0x10194f75
cmp dword [esi], 1
jne 0x10194e4b
mov eax, dword [esi + 8]
test eax, eax
je 0x10194da2
cmp dword [eax], 1
je 0x10194e4b
mov ebx, esi
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x10194ec9
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x1c]
mov esi, edi
xor ecx, dword [edi + 0x24]
mov edx, dword [eax + 0x18]
xor edx, dword [edi + 0x20]
or edx, ecx
jne 0x10194de3
mov esi, dword [eax + 0x14]
cmp dword [esi + 0x18], 0
je 0x10194dd8
push dword [esi + 0x1c]
call sym.nss3.dll_sqlite3_free
add esp, 4
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x18], eax
mov ebx, dword [ebx + 0xc]
mov esi, dword [ebx + 0x14]
jmp 0x10194da7
mov esi, 7
mov edi, dword [esp + 4]
mov edx, dword [ebp + 8]
mov ecx, dword [esp]
mov dword [edx], esi
cmp dword [ecx + 0x1c], 0
setne bl
movsd xmm0, qword [edi + 0x20]
mov eax, dword [esp + 0x1c]
movsd qword [eax + 0x18], xmm0
jmp 0x10194bc3
mov eax, dword [esi + 0x1c]
xor eax, dword [edi + 0x24]
mov ecx, dword [esi + 0x18]
xor ecx, dword [edi + 0x20]
or ecx, eax
jne 0x10194e45
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x10194e45
mov dword [esp + 0x1c], esi
mov esi, eax
mov eax, dword [ecx + 0x18]
test eax, eax
cmove esi, eax
mov eax, esi
jmp 0x10194c27
cmp byte [esi + 0x20], 0
je 0x10194e52
xor ebx, ebx
jmp 0x10194bc3
mov eax, dword [esi + 0x1c]
xor eax, dword [edi + 0x24]
mov ecx, dword [esi + 0x18]
xor ecx, dword [edi + 0x20]
or ecx, eax
jne 0x10194e4b
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x20], 0
setg bl
jmp 0x10194bc3
mov edx, dword [esi + 0xc]
mov ecx, edi
mov ebx, dword [ebp + 8]
push ebx
call fcn.10194ba0
add esp, 4
test eax, eax
je 0x10194e4b
mov edx, dword [esi + 0x10]
mov ecx, edi
push ebx
call fcn.10194ba0
add esp, 4
test eax, eax
sete bl
jmp 0x10194bc3
mov edx, dword [esi + 0xc]
mov ecx, edi
mov ebx, dword [ebp + 8]
push ebx
call fcn.10194ba0
add esp, 4
mov ecx, edi
mov edi, eax
mov edx, dword [esi + 0x10]
push ebx
call fcn.10194ba0
add esp, 4
or eax, edi
setne bl
jmp 0x10194bc3
mov eax, dword [ebx + 0x1c]
xor eax, dword [edi + 0x24]
mov ecx, dword [ebx + 0x18]
xor ecx, dword [edi + 0x20]
or ecx, eax
jne 0x10194e4b
cmp dword [esi + 0x18], 0
je 0x10194eee
push dword [esi + 0x1c]
call sym.nss3.dll_sqlite3_free
add esp, 4
xor ebx, ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
jmp 0x10194bc3
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
mov edx, esi
sub edx, dword [esp + 0x18]
mov ebx, eax
lea ecx, [esp + 0x28]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
push 1
push 0
call fcn.101931b0
add esp, 0x10
push ebx
call sym.nss3.dll_sqlite3_free
add esp, 4
mov eax, dword [esp + 0x28]
sub eax, edi
je 0x1019503b
mov dword [esp + 0x10], eax
jmp 0x10194cc6
push dword [esp + 8]
call sym.nss3.dll_sqlite3_free
add esp, 4
push dword [esp + 0x14]
call sym.nss3.dll_sqlite3_free
add esp, 4
xor esi, esi
mov ecx, dword [esp]
mov dword [ecx + 0x1c], esi
mov dword [ecx + 0x20], esi
mov edx, dword [ebp + 8]
jmp 0x10194dfa
mov edx, dword [esi + 0x10]
mov ecx, edi
push dword [ebp + 8]
call fcn.10194ba0
add esp, 4
test eax, eax
je 0x10194d89
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10194bc3
cmp dword [esi], 1
jne 0x10194bc3
mov eax, dword [esi + 8]
test eax, eax
je 0x10194fb2
cmp dword [eax], 1
je 0x10194bc3
mov dword [esp + 4], edi
mov edx, dword [esi + 0xc]
test edx, edx
mov dword [esp + 0x1c], esi
je 0x101950d0
xor edi, edi
mov ecx, esi
xor eax, eax
mov esi, edx
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x20]
mov edx, ecx
sar edx, 0x1f
add edi, ecx
adc eax, edx
mov edx, esi
mov esi, dword [esi + 0xc]
mov ecx, edx
test esi, esi
jne 0x10194fcd
jmp 0x101950d6
mov eax, dword [esp + 8]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x20], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov esi, dword [esp]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x18], 1
mov eax, dword [esp + 0x14]
xor esi, esi
cmp dword [ecx + 0x1c], eax
je 0x10194dfa
push eax
mov ebx, edx
call sym.nss3.dll_sqlite3_free
mov ecx, dword [esp + 4]
mov edx, ebx
add esp, 4
jmp 0x10194dfa
push edi
call sym.nss3.dll_sqlite3_free
add esp, 4
push dword [esp + 0x14]
call sym.nss3.dll_sqlite3_free
add esp, 4
xor esi, esi
mov ecx, dword [esp]
mov dword [ecx + 0x1c], esi
mov dword [ecx + 0x20], esi
mov edi, dword [esp + 4]
jmp 0x10194f6d
mov edi, eax
xor esi, esi
push dword [esp + 0x10]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [esp + 0x20]
mov dword [ecx], edi
mov eax, dword [esp]
mov dword [eax + 0x1c], edi
mov edi, eax
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
push 1
push esi
call fcn.101931b0
add esp, 0x10
test eax, eax
je 0x101951e5
mov dword [edi + 0x18], 1
mov esi, dword [esp + 0x20]
sub esi, dword [edi + 0x1c]
mov dword [edi + 0x20], esi
push dword [esp + 8]
call sym.nss3.dll_sqlite3_free
mov ecx, dword [esp + 4]
add esp, 4
mov edi, ebx
mov edx, dword [ebp + 8]
jmp 0x10195016
xor edi, edi
xor eax, eax
mov edx, esi
mov dword [esp + 0xc], eax
mov dword [esp], edx
mov eax, dword [edx + 0x14]
mov esi, dword [eax + 0x20]
call sym.nss3.dll_sqlite3_initialize
test eax, eax
je 0x10195102
mov eax, dword [ebp + 8]
mov dword [eax], 7
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 4]
jmp 0x10194d89
mov eax, esi
sar eax, 0x1f
add edi, esi
mov edx, dword [esp + 0xc]
adc edx, eax
shld edx, edi, 1
add edi, edi
mov ecx, edi
call fcn.10142fa0
mov dword [esp + 0xc], eax
test eax, eax
je 0x101950ec
mov esi, dword [esp]
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x40]
mov dword [esp + 0x24], eax
mov esi, dword [esi + 8]
xor edi, edi
inc edi
test esi, esi
je 0x10195171
cmp dword [esi], 1
jne 0x10195171
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0xc]
push dword [eax + 0x14]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10195480
add esp, 0xc
mov edi, eax
test eax, eax
je 0x10195171
mov esi, dword [esi + 8]
jmp 0x1019513e
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x40]
mov dword [esp + 0x24], eax
mov esi, dword [edx + 0xc]
test esi, esi
je 0x101951c4
test edi, edi
je 0x101951c4
cmp dword [esi], 1
mov eax, esi
jne 0x1019519e
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0xc]
push dword [eax + 0x14]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10195480
add esp, 0xc
mov edi, eax
mov esi, dword [esi + 0xc]
jmp 0x1019518c
push dword [esp + 0xc]
call sym.nss3.dll_sqlite3_free
add esp, 4
test edi, edi
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 4]
jne 0x10194bc3
jmp 0x10194d89
push dword [esp + 0x20]
call sym.nss3.dll_sqlite3_free
add esp, 4
mov dword [edi + 0x1c], 0
jmp 0x101950b3