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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov eax, dword [0x101d2014]
mov ebx, dword [ebp + 0xc]
mov edi, ecx
lea esi, [esp + 0x50]
xorps xmm0, xmm0
xor eax, ebp
mov dword [esp + 0xa8], eax
xor eax, eax
movaps xmmword [esi + 0x20], xmm0
movaps xmmword [esi + 0x10], xmm0
movaps xmmword [esi], xmm0
mov dword [esp + 0x18], edx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
push esi
mov esi, ebx
push eax
push 1
push eax
push eax
push ebx
push dword [ebp + 8]
call fcn.100b0e50
add esp, 0x1c
mov ebx, eax
test eax, eax
jne 0x100bf626
cmp dword [esp + 0x54], 0
mov ebx, 0
jne 0x100bf647
lea ecx, [esp + 0x50]
call fcn.100b0db0
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.10192ef0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp esi, 0xffffffff
jne 0x100bf79e
mov esi, edi
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov ecx, edi
sar eax, 0x1f
sar ecx, 0x1f
mov dword [esp + 0xc], eax
mov dword [esp], ecx
mov ecx, dword [esi + 0x100]
mov eax, edi
mov dword [esp + 8], esi
mov ebx, ecx
mul ecx
sar ebx, 0x1f
mov esi, eax
imul ebx, edi
mov edi, dword [esp]
add ebx, edx
mov edx, dword [ebp + 0xc]
imul ecx, edi
add ecx, ebx
add esi, dword [ebp + 8]
mov eax, edx
adc ecx, dword [esp + 0xc]
sar eax, 0x1f
shld ecx, esi, 0xa
shl esi, 0xa
add esi, edx
mov edx, 8
adc eax, ecx
add esi, 1
mov dword [esp + 0x24], esi
mov esi, dword [esp + 8]
adc eax, 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x90]
mov ecx, esi
push 0
push eax
call fcn.100b1ab0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x100bf626
mov ecx, dword [esi + 0x100]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x90]
mov eax, esi
imul edi, ecx
mul ecx
sar ecx, 0x1f
imul ecx, esi
mov esi, dword [ebp + 0xc]
add ecx, edx
add edi, ecx
lea edx, [esi + 1]
mov ecx, edx
sar ecx, 0x1f
add eax, dword [ebp + 8]
adc edi, dword [esp + 0xc]
mov dword [esp + 0xc], edx
shld edi, eax, 0xa
shl eax, 0xa
add eax, edx
adc edi, ecx
push edi
push eax
push 1
push ebx
call sym.nss3.dll_sqlite3_bind_int64
add esp, 0x10
push ebx
call sym.nss3.dll_sqlite3_step
add esp, 4
cmp eax, 0x64
jne 0x100bf8c8
mov ecx, ebx
xor edx, edx
call fcn.1000cae0
mov ecx, eax
call fcn.1000a8b0
mov ecx, ebx
mov edi, eax
call fcn.1000cb60
push ebx
call sym.nss3.dll_sqlite3_reset
add esp, 4
mov ebx, eax
test eax, eax
jne 0x100bf626
cmp edi, 0xf
jle 0x100bfa9b
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x18]
mov ecx, edi
push dword [esp + 0xc]
push dword [ebp + 8]
call fcn.100bf5c0
add esp, 8
jmp 0x100bf8d5
lea eax, [esp + 0x90]
mov ecx, edi
mov edx, 0xf
push 0
push eax
call fcn.100b1ab0
add esp, 8
test eax, eax
jne 0x100bf8c1
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
imul dword [edi + 0x100]
mov ebx, ecx
sar ebx, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x90]
adc edx, ebx
shld edx, eax, 0xa
shl eax, 0xa
mov dword [esp], ecx
push edx
push eax
push 1
push ecx
call sym.nss3.dll_sqlite3_bind_int64
add esp, 0x10
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], ebx
imul dword [edi + 0x100]
add eax, dword [ebp + 8]
adc edx, ebx
mov ebx, dword [esp]
shld edx, eax, 0xa
shl eax, 0xa
or eax, 0x3ff
push edx
push eax
push 2
push ebx
call sym.nss3.dll_sqlite3_bind_int64
add esp, 0x10
push ebx
call sym.nss3.dll_sqlite3_step
add esp, 4
cmp eax, 0x64
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
jne 0x100bf85f
mov ecx, ebx
xor edx, edx
call fcn.1000cae0
mov ecx, eax
call fcn.1000a8b0
mov ecx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
call fcn.1000cb60
push ebx
call sym.nss3.dll_sqlite3_reset
add esp, 4
mov ebx, eax
test eax, eax
jne 0x100bf626
cmp esi, 0xfffffffe
jne 0x100bfa8b
cmp dword [esp + 0x54], 1
jne 0x100bf897
mov eax, dword [esp + 0x50]
mov ebx, 0x65
mov eax, dword [eax]
cmp dword [eax + 0x38], 0
je 0x100bf626
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
xorps xmm0, xmm0
mov eax, 3
mov dword [esp + 0xc], 0
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
jmp 0x100bf915
mov ebx, eax
jmp 0x100bf626
push ebx
call sym.nss3.dll_sqlite3_reset
add esp, 4
mov edi, dword [esp + 8]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], 0
jne 0x100bf626
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
cmp dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
sbb eax, dword [esp + 0x20]
setl al
xor ecx, ecx
movzx eax, al
inc ecx
cmp esi, 0xffffffff
lea eax, [eax + eax + 1]
cmove eax, ecx
lea ecx, [esp + 0x90]
lea edx, [esp + 0x50]
mov dword [ecx + 0xc], eax
xor eax, eax
mov dword [edx + 0xc], ecx
mov ecx, edi
push eax
push eax
call fcn.100b1ed0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x100bf626
lea edx, [esp + 0x50]
mov dword [esp], 0
mov ecx, edi
call fcn.100b2460
test eax, eax
je 0x100bfaa8
mov ebx, eax
cmp eax, 0x64
jne 0x100bff62
mov edx, dword [esp + 0x80]
mov esi, dword [esp]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x7c]
test esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], edx
jne 0x100bfa22
call sym.nss3.dll_sqlite3_initialize
xor esi, esi
mov ebx, 7
test eax, eax
jne 0x100bff65
jmp 0x100bfbc8
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
inc edx
mov edi, dword [esp + 0x44]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x40]
lea ebx, [eax + 1]
mov dword [esp + 0x1c], ebx
shrd esi, ecx, 7
shr ecx, 7
mov ebx, esi
mov dword [esp + 0x40], ecx
or ebx, ecx
mov ebx, dword [esp + 0x48]
lea ecx, [ebx + 1]
mov dword [esp + 0x3c], ecx
lea ecx, [edi + 1]
mov dword [esp + 0x44], ecx
jne 0x100bf9ad
jmp 0x100bfb3a
shrd edx, ebx, 7
mov ecx, edi
shr ebx, 7
mov dword [esp + 0x1c], esi
inc eax
inc esi
mov edi, edx
or edi, ebx
lea edi, [ecx + 1]
jne 0x100bf9f1
jmp 0x100bfb4a
shrd edx, eax, 7
shr eax, 7
inc esi
inc ecx
mov edi, edx
or edi, eax
jne 0x100bfa0e
jmp 0x100bfb5c
mov eax, dword [esi + 0x2c]
xor ecx, ecx
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, dword [esi + 0x1c]
test eax, eax
jg 0x100bfba0
mov eax, edx
mov ebx, 0x10b
sub eax, ecx
mov dword [esp + 0x34], eax
jle 0x100bff65
mov eax, dword [esp + 0x14]
mov dword [esp + 8], edi
mov edi, dword [esp + 4]
mov esi, ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], esi
lea ebx, [edx + eax]
lea eax, [edx + eax + 2]
xor edx, edx
lea ecx, [edi + ebx + 2]
sub ebx, esi
sub eax, esi
inc ebx
sub ecx, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], ecx
jmp 0x100bf9ad
mov esi, edi
mov edi, dword [esp + 0x18]
mov ecx, edi
sar ecx, 0x1f
jmp 0x100bf675
mov dword [esp + 0xc], edi
mov edi, dword [esp + 8]
jmp 0x100bf8e7
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x100bfad0
mov ecx, edi
push dword [esp + 0x54]
push dword [esp + 0x54]
push esi
push eax
call fcn.100c0000
add esp, 0x10
test eax, eax
jne 0x100bff60
mov edx, dword [esp]
xor ebx, ebx
test edx, edx
je 0x100bf626
mov ecx, edi
push dword [esp + 0xc]
push dword [esp + 0x24]
push dword [esp + 0x2c]
call fcn.100c0150
add esp, 0xc
test eax, eax
jne 0x100bfea5
cmp esi, 0xffffffff
je 0x100bfb18
mov eax, dword [esp + 0x24]
xor ebx, ebx
mov ecx, dword [esp + 0x20]
cmp eax, dword [esp + 0x2c]
sbb ecx, dword [esp + 0x28]
jge 0x100bfea7
mov esi, dword [esp]
mov edx, dword [esp + 0x24]
mov ecx, edi
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [esp + 0x28]
call fcn.100c0280
add esp, 0xc
mov ebx, eax
jmp 0x100bff6d
mov edx, dword [esp + 0x34]
mov esi, ebx
mov ebx, edx
sar ebx, 0x1f
jmp 0x100bf9f1
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, edx
sar eax, 0x1f
jmp 0x100bfa0e
cmp dword [esp + 4], 0
jle 0x100bfd12
mov eax, dword [esp + 8]
mov edi, dword [esp]
cmp ecx, dword [eax + 0xe8]
jle 0x100bfd15
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov ebx, 0x10b
mov ecx, eax
mov esi, edx
xor ecx, 0x7fffffff
not esi
or esi, ecx
jne 0x100bfc60
mov esi, edi
jmp 0x100bff6d
mov ecx, dword [esi + 0x18]
xor ebx, ebx
mov dl, byte [ecx + ebx]
mov esi, dword [esp + 0x38]
cmp dl, byte [esi + ebx]
jne 0x100bfc43
inc ebx
cmp eax, ebx
jne 0x100bfba5
mov esi, dword [esp]
mov edx, dword [esp + 0x10]
mov ecx, eax
jmp 0x100bfa39
mov ecx, 0x40
xor edx, edx
xor esi, esi
call fcn.10002c70
test eax, eax
je 0x100bff65
xor ecx, ecx
mov dword [esp], eax
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x38], ecx
mov esi, dword [edi + 0xe8]
call sym.nss3.dll_sqlite3_initialize
test esi, esi
jle 0x100bfc51
test eax, eax
jne 0x100bfc51
mov ecx, esi
xor edx, edx
call fcn.10002c70
mov ecx, dword [esp]
test eax, eax
mov dword [ecx + 0x30], eax
jne 0x100bfed8
mov esi, ecx
jmp 0x100bff65
mov esi, dword [esp]
mov edx, dword [esp + 0x10]
mov ecx, ebx
jmp 0x100bfa39
mov esi, dword [esp]
mov dword [esi + 0x30], 0
jmp 0x100bff65
mov ecx, edx
mov esi, dword [edi + 0x30]
add ecx, 1
mov dword [edi + 0x10], ecx
mov ecx, eax
adc ecx, 0
mov dword [edi + 0x14], ecx
mov edi, dword [esp + 8]
mov ecx, edi
push dword [esp + 4]
push esi
push eax
call fcn.100c0530
add esp, 0xc
test eax, eax
jne 0x100bfea5
inc dword [edi + 0x34]
mov ecx, edi
mov eax, dword [esp + 0x30]
mov edx, dword [esp]
inc eax
push eax
push dword [esp + 0x3c]
call fcn.100c05f0
add esp, 8
test eax, eax
jne 0x100bfea5
mov eax, dword [esp]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [eax + 0x1c], 0
mov eax, edx
lea ecx, [esi + edx + 1]
lea edi, [esi + edx + 2]
sar eax, 0x1f
shrd edx, eax, 7
mov esi, edi
shr eax, 7
inc ecx
mov edi, edx
or edi, eax
lea edi, [esi + 1]
jne 0x100bfcd0
mov ecx, dword [esp + 0x14]
mov eax, ecx
sar eax, 0x1f
shrd ecx, eax, 7
shr eax, 7
inc esi
mov dword [esp + 4], 0
mov edx, ecx
or edx, eax
jne 0x100bfcec
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], eax
mov edi, dword [esp]
mov eax, esi
sar eax, 0x1f
add dword [edi + 0x38], esi
adc dword [edi + 0x3c], eax
cmp esi, dword [edi + 0x28]
mov edi, dword [edi + 0x30]
jle 0x100bfd63
call sym.nss3.dll_sqlite3_initialize
mov ebx, 7
test eax, eax
jne 0x100bfea7
test esi, esi
mov edx, 0
mov ecx, edi
cmovns edx, esi
push 0
call fcn.10002f90
add esp, 4
test eax, eax
je 0x100bfea7
mov ecx, dword [esp]
mov edi, eax
mov dword [ecx + 0x30], edi
mov dword [ecx + 0x28], esi
add edi, dword [esp + 4]
mov esi, dword [esp + 0x30]
xor ecx, ecx
mov eax, edi
mov dword [esp + 0x1c], edi
mov edx, esi
mov esi, ecx
shr ecx, 7
mov ebx, edx
shld esi, edx, 0x19
or bl, 0x80
mov edi, esi
mov byte [eax], bl
inc eax
or edi, ecx
jne 0x100bfd73
and dl, 0x7f
mov ecx, dword [esp]
mov edi, dword [esp + 0x34]
mov byte [eax - 1], dl
sub eax, dword [esp + 0x1c]
mov esi, dword [ecx + 0x30]
mov edx, edi
add eax, dword [esp + 4]
sar edx, 0x1f
add esi, eax
mov dword [esp + 4], esi
mov ebx, edi
mov edi, edx
shr edx, 7
mov ecx, ebx
shld edi, ebx, 0x19
or cl, 0x80
mov byte [esi], cl
mov ecx, edi
inc esi
or ecx, edx
jne 0x100bfdaf
and bl, 0x7f
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov byte [esi - 1], bl
sub esi, dword [esp + 4]
add ecx, dword [esp + 0x38]
mov ebx, esi
mov esi, dword [esp + 0x14]
add ebx, eax
mov eax, dword [esp]
sar esi, 0x1f
mov eax, dword [eax + 0x30]
add eax, ebx
push edi
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp]
add ebx, edi
mov dword [esp + 4], ebx
mov eax, dword [eax + 0x30]
add eax, ebx
mov ebx, dword [esp + 0x14]
mov edi, eax
mov ecx, ebx
mov ebx, esi
shr esi, 7
mov edx, ecx
shld ebx, ecx, 0x19
or dl, 0x80
mov byte [edi], dl
mov edx, ebx
inc edi
or edx, esi
jne 0x100bfe10
mov ebx, dword [esp]
and cl, 0x7f
mov esi, dword [esp + 0x14]
mov byte [edi - 1], cl
sub edi, eax
add edi, dword [esp + 4]
mov eax, dword [ebx + 0x30]
add eax, edi
push esi
push dword [esp + 0x50]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x10]
add edi, esi
mov dword [ebx + 0x2c], edi
cmp dword [ebx + 0x20], ecx
jge 0x100bfeaf
mov edi, dword [ebx + 0x24]
call sym.nss3.dll_sqlite3_initialize
mov ebx, 7
test eax, eax
jne 0x100bfea7
mov esi, dword [esp + 0x10]
mov edx, 0
mov ecx, edi
add esi, esi
cmovns edx, esi
push 0
call fcn.10002f90
add esp, 4
test eax, eax
je 0x100bfea7
mov ecx, dword [esp]
mov edi, dword [esp + 8]
mov dword [ecx + 0x20], esi
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x18], eax
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x100bfeb9
mov ebx, eax
mov esi, dword [esp]
jmp 0x100bff6d
mov eax, dword [ebx + 0x18]
mov edi, dword [esp + 8]
mov esi, dword [ebp + 0xc]
push ecx
push dword [esp + 0x3c]
push eax
mov ebx, ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp]
lea edx, [esp + 0x50]
mov dword [eax + 0x1c], ebx
jmp 0x100bf949
mov eax, dword [edi + 0xe8]
mov edx, 0xa
mov dword [ecx + 0x28], eax
mov ecx, edi
push 0
lea eax, [esp + 0xa8]
push eax
call fcn.100b1ab0
add esp, 8
test eax, eax
jne 0x100bff60
mov ebx, dword [esp + 0xa4]
push ebx
call sym.nss3.dll_sqlite3_step
add esp, 4
cmp eax, 0x64
jne 0x100bff43
mov ecx, ebx
xor edx, edx
call fcn.1000cae0
mov ecx, eax
call fcn.1000a8b0
mov ecx, ebx
mov esi, eax
mov dword [esp + 4], edx
call fcn.1000cb60
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 8], esi
push ebx
call sym.nss3.dll_sqlite3_reset
add esp, 4
mov esi, dword [esp]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x100bfb33
jmp 0x100bfa22
mov ebx, eax
mov esi, dword [esp]
test esi, esi
je 0x100bf626
push dword [esi + 0x30]
call sym.nss3.dll_sqlite3_free
add esp, 4
push dword [esi + 0x24]
call sym.nss3.dll_sqlite3_free
add esp, 4
mov ecx, dword [esi]
call fcn.100c0db0
push esi
call sym.nss3.dll_sqlite3_free
add esp, 4
jmp 0x100bf626