Function at 0x100bdfc0
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 eax, dword [0x101d2014]
mov edi, dword [ebp + 8]
mov bl, 1
xor eax, ebp
mov dword [esp + 0x30], eax
cmp dword [edi], 0
je 0x100bdff9
mov ecx, dword [esp + 0x30]
movzx esi, bl
xor ecx, ebp
call fcn.10192ef0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [edx]
mov esi, ecx
dec eax
cmp eax, 3
jbe switch.0x100be14c
cmp dword [esi + 0x1c], 0
je 0x100be119
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
xor ecx, dword [esi + 0x24]
xor eax, dword [esi + 0x20]
or eax, ecx
mov al, byte [edx + 0x22]
jne 0x100be02d
mov ebx, dword [edx + 0x14]
test al, al
jne 0x100be038
jmp 0x100be05b
test al, al
je 0x100be119
mov ebx, dword [edx + 0x14]
cmp dword [ebx + 0x18], 0
je 0x100be050
push dword [ebx + 0x1c]
mov edi, edx
call sym.nss3.dll_sqlite3_free
mov edx, edi
mov edi, dword [ebp + 8]
add esp, 4
xor eax, eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x18], eax
cmp dword [ebx + 0x40], 0
mov dword [esp + 0x14], esi
jle 0x100be126
xor eax, eax
lea esi, [ebx + 0x58]
xor ecx, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
dec eax
mov dword [esp + 0xc], eax
xor eax, eax
mov edi, dword [esi]
test edi, edi
je 0x100be0cf
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100be2b2
mov ebx, dword [eax]
mov dword [esp + 0x1c], esi
mov esi, ecx
call sym.nss3.dll_sqlite3_initialize
test ebx, ebx
jle 0x100be418
test eax, eax
jne 0x100be418
mov ecx, ebx
xor edx, edx
call fcn.10002c70
test eax, eax
je 0x100be418
jmp 0x100be1cb
mov edi, dword [ebp + 8]
inc eax
add esi, 0x18
cmp eax, dword [ebx + 0x40]
jl 0x100be087
xor esi, esi
cmp dword [esp + 0xc], 0
js 0x100be428
mov eax, dword [ebx + 0x2c]
test eax, eax
js 0x100be34d
mov ebx, dword [esp + 0xc]
mov edi, eax
mov dword [esp + 0x10], ecx
sub edi, ebx
jle 0x100be373
mov eax, dword [esp + 4]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x24], eax
jmp 0x100be388
cmp byte [edx + 0x20], 0
je 0x100be12d
xor ebx, ebx
jmp 0x100bdfe1
xor esi, esi
jmp 0x100be428
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
xor ecx, dword [esi + 0x24]
xor eax, dword [esi + 0x20]
or eax, ecx
jne 0x100be11f
mov eax, dword [edx + 0x14]
cmp dword [eax + 0x20], 0
setg bl
jmp 0x100bdfe1
jmp dword [eax*4 + 0x1019bb38]
mov eax, dword [ebp + 8]
mov edi, edx
mov edx, dword [edx + 0xc]
mov ecx, esi
push eax
call fcn.100bdfc0
add esp, 4
test eax, eax
jne 0x100be2cf
cmp dword [edi], 1
jne 0x100be11f
mov eax, dword [edi + 8]
mov ecx, edi
test eax, eax
je 0x100be181
cmp dword [eax], 1
je 0x100be11f
mov ebx, esi
mov esi, dword [ecx + 0x14]
test esi, esi
jne 0x100be27d
mov eax, dword [ecx + 0x10]
mov edi, ecx
mov esi, ebx
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
xor edx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x20]
or ecx, edx
jne 0x100be1c4
mov esi, dword [eax + 0x14]
cmp dword [esi + 0x18], 0
je 0x100be1b9
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 ecx, edi
mov ecx, dword [edi + 0xc]
jmp 0x100be183
mov ebx, eax
mov eax, dword [edi + 0xc]
lea edx, [esp + 0x28]
mov ecx, dword [eax + 4]
call fcn.100b1da0
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
sub edx, eax
add eax, dword [ecx + 4]
mov dword [esp + 0x18], edx
push edx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
test esi, esi
jne 0x100be444
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ecx, ebx
mov dword [esp + 0xc], eax
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 4]
mov esi, dword [esp + 0x1c]
jmp 0x100be0d2
mov ebx, dword [ebp + 8]
mov edi, edx
mov edx, dword [edx + 0xc]
mov ecx, esi
push ebx
call fcn.100bdfc0
add esp, 4
test eax, eax
je 0x100be11f
mov edx, dword [edi + 0x10]
mov ecx, esi
push ebx
call fcn.100bdfc0
add esp, 4
test eax, eax
sete bl
jmp 0x100bdfe1
mov eax, dword [ebp + 8]
mov edi, edx
mov edx, dword [edx + 0xc]
mov ecx, esi
push eax
call fcn.100bdfc0
add esp, 4
mov edx, dword [edi + 0x10]
mov ebx, eax
mov ecx, esi
push dword [ebp + 8]
call fcn.100bdfc0
add esp, 4
or eax, ebx
setne bl
jmp 0x100bdfe1
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
xor ecx, dword [ebx + 0x24]
xor eax, dword [ebx + 0x20]
or eax, ecx
jne 0x100be11f
cmp dword [esi + 0x18], 0
je 0x100be2a2
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 0x100bdfe1
push ecx
call sym.nss3.dll_sqlite3_free
add esp, 4
xor esi, esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
mov edx, dword [esp + 8]
mov edi, dword [ebp + 8]
jmp 0x100be428
mov edx, dword [edi + 0x10]
mov ecx, esi
push dword [ebp + 8]
call fcn.100bdfc0
add esp, 4
test eax, eax
je 0x100be16e
mov eax, dword [ebp + 8]
mov dword [esp + 8], edi
cmp dword [eax], 0
jne 0x100bdfe1
mov ecx, dword [esp + 8]
cmp dword [ecx], 1
jne 0x100bdfe1
mov eax, dword [ecx + 8]
mov dword [esp + 0x14], esi
test eax, eax
je 0x100be318
cmp dword [eax], 1
je 0x100bdfe1
mov eax, dword [ecx + 0xc]
xor esi, esi
test eax, eax
je 0x100be49e
mov ecx, dword [esp + 8]
xor edi, edi
mov edx, eax
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x20]
mov ecx, eax
sar ecx, 0x1f
add esi, eax
mov eax, dword [edx + 0xc]
adc edi, ecx
mov ecx, edx
test eax, eax
jne 0x100be32b
jmp 0x100be4a4
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x20], eax
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x18], 1
jmp 0x100be428
mov edx, ecx
mov ecx, dword [esp + 4]
sub ebx, eax
mov edi, ebx
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
call sym.nss3.dll_sqlite3_initialize
mov ecx, dword [esp + 0x18]
cmp ecx, 0xfffffff9
jl 0x100be404
test eax, eax
jne 0x100be404
add ecx, 8
mov edx, ecx
sar edx, 0x1f
call fcn.10002c70
test eax, eax
mov dword [esp + 0x20], eax
je 0x100be40c
mov ecx, dword [esp + 4]
mov edx, edi
mov dword [ecx + 0x1c], eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push 1
push 0
call fcn.100bc690
add esp, 0x10
test eax, eax
je 0x100be57f
mov ecx, dword [esp + 4]
mov dword [ecx + 0x18], 1
mov eax, dword [esp + 0x20]
sub eax, dword [ecx + 0x1c]
mov ebx, dword [esp + 4]
mov dword [ebx + 0x20], eax
push dword [esp + 0x10]
call sym.nss3.dll_sqlite3_free
add esp, 4
jmp 0x100be2c3
mov dword [esp + 0x20], 0
push dword [esp + 0x10]
call sym.nss3.dll_sqlite3_free
add esp, 4
mov edx, dword [esp + 8]
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 4]
mov esi, 7
mov eax, dword [esp + 0x14]
mov dword [edi], esi
cmp dword [ebx + 0x1c], 0
movsd xmm0, qword [eax + 0x20]
setne bl
movsd qword [edx + 0x18], xmm0
jmp 0x100bdfe1
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x20]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x28]
mov edx, edi
sub edx, dword [esp + 0xc]
push eax
lea eax, [esp + 0x28]
push eax
push 1
push 0
call fcn.100bc690
add esp, 0x10
push esi
call sym.nss3.dll_sqlite3_free
add esp, 4
mov eax, dword [esp + 0x28]
sub eax, ebx
mov dword [esp + 0x18], eax
je 0x100be56d
mov edx, dword [esp + 8]
mov ecx, ebx
mov eax, edi
mov dword [esp + 0xc], edi
jmp 0x100be20b
mov edx, dword [esp + 8]
xor edi, edi
mov eax, dword [edx + 0x14]
mov dword [esp + 4], esi
mov dword [esp + 0x10], edx
mov esi, dword [eax + 0x20]
call sym.nss3.dll_sqlite3_initialize
test eax, eax
je 0x100be4d1
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 8]
mov dword [eax], 7
jmp 0x100be16e
mov ecx, dword [esp + 4]
mov eax, esi
sar eax, 0x1f
add ecx, esi
adc edi, eax
shld edi, ecx, 1
add ecx, ecx
mov edx, edi
call fcn.10002c70
test eax, eax
mov dword [esp + 0xc], eax
je 0x100be4bb
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x40]
mov dword [esp + 0x24], eax
xor eax, eax
mov esi, dword [edx + 8]
inc eax
mov dword [esp + 4], eax
test esi, esi
je 0x100be51f
cmp dword [esi], 1
je 0x100be5df
mov eax, dword [esp + 8]
cmp dword [esp + 4], 0
mov eax, dword [eax + 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
je 0x100be549
mov eax, dword [esp + 8]
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x100be59d
push dword [esp + 0xc]
call sym.nss3.dll_sqlite3_free
add esp, 4
cmp dword [esp + 4], 0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 8]
jne 0x100bdfe1
jmp 0x100be16e
push ebx
call sym.nss3.dll_sqlite3_free
add esp, 4
mov ebx, dword [esp + 4]
jmp 0x100be2bb
push dword [esp + 0x20]
call sym.nss3.dll_sqlite3_free
add esp, 4
mov eax, dword [esp + 4]
mov dword [eax + 0x1c], 0
xor eax, eax
jmp 0x100be3ec
lea edi, [esp + 0x24]
mov eax, dword [esi + 8]
cmp dword [esi], 1
mov ecx, dword [eax + 4]
mov eax, esi
jne 0x100be5b1
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0xc]
push dword [eax + 0x14]
push edi
lea eax, [esp + 0x30]
push eax
call fcn.100be870
add esp, 0xc
test eax, eax
mov dword [esp + 4], eax
je 0x100be549
mov esi, dword [esi + 0xc]
test esi, esi
je 0x100be549
jmp 0x100be5a1
lea edi, [esp + 0x24]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0xc]
push dword [eax + 0x14]
push edi
lea eax, [esp + 0x30]
push eax
call fcn.100be870
add esp, 0xc
test eax, eax
mov dword [esp + 4], eax
je 0x100be51f
mov esi, dword [esi + 8]
test esi, esi
je 0x100be51f
cmp dword [esi], 1
jne 0x100be51f
jmp 0x100be5e3