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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [edx + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0x20], ecx
mov dword [esp], 0
push ebx
push esi
push edi
test eax, eax
je 0x100fb867
mov ebx, dword [eax + 0x10]
jmp 0x100fb869
xor ebx, ebx
mov eax, dword [edx]
xorps xmm0, xmm0
movq qword [esp + 0x34], xmm0
mov esi, dword [esp + 0x38]
mov dword [esp + 0x10], ebx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x3c], 0
mov eax, dword [eax + 0x30]
sub eax, 0
je 0x100fba25
sub eax, 2
jne 0x100fbb79
lea eax, [ebx - 1]
xor edi, edi
mov dword [esp + 0x20], eax
cmp edi, eax
jge 0x100fb91b
lea eax, [esp + 0x28]
mov edx, edi
push eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x34]
call fcn.100e85a0
mov dword [esp + 0x14], eax
add esp, 8
mov eax, dword [esp + 0x28]
cdq
mov ebx, eax
mov dword [esp + 0x24], edx
lea eax, [esi + 9]
cmp eax, dword [esp + 0x3c]
jbe 0x100fb8f5
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x10]
call fcn.100e0470
mov esi, dword [esp + 0x3c]
add esp, 4
test eax, eax
jne 0x100fb90f
mov ecx, dword [esp + 0x34]
push dword [esp + 0x24]
push ebx
lea ecx, [ecx + esi]
call fcn.10103910
add esp, 8
add esi, eax
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x20]
inc edi
cmp dword [esp + 0xc], 0
je 0x100fb8a5
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp dword [esp + 0xc], ecx
jne 0x100fbb79
nop dword [eax + eax]
cmp ecx, dword [esp + 0x10]
jge 0x100fbb79
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 0
mov edi, dword [eax + 0x34]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax]
cmp dword [edx + 4], 0
jne 0x100fb9bb
mov ebx, dword [edx + 0x10]
mov dword [esp + 0xc], ebx
mov ebx, dword [edx + 0x14]
mov edx, dword [edi + 8]
mov edi, dword [esp + 0xc]
cmp edi, dword [edx + 0x10]
jne 0x100fb9bb
cmp ebx, dword [edx + 0x14]
jne 0x100fb9bb
cmp dword [eax + 8], 0
jle 0x100fb9bb
mov edx, dword [eax + 0x20]
lea edi, [eax + 0x14]
test edx, edx
je 0x100fb9b0
lea eax, [esp + 0x20]
add edx, 0x10
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
push ebx
push dword [esp + 0x18]
call fcn.100e3f30
mov edi, dword [esp + 0x30]
add esp, 0x10
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jmp 0x100fb9c7
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0xc]
jmp 0x100fb9bf
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
test edi, edi
je 0x100fba10
lea eax, [esi + edi]
cmp eax, dword [esp + 0x3c]
jbe 0x100fb9f5
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x10]
call fcn.100e0470
mov esi, dword [esp + 0x3c]
add esp, 4
test eax, eax
jne 0x100fba0c
mov eax, dword [esp + 0x34]
push edi
add eax, esi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add esi, edi
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x18]
inc ecx
cmp dword [esp + 0xc], 0
mov dword [esp + 0x18], ecx
je 0x100fb930
jmp 0x100fbb79
lea eax, [ebx - 1]
xor ecx, ecx
mov dword [esp + 0x24], ecx
test eax, eax
jle 0x100fbaf4
mov edi, dword [edx + 0x34]
mov eax, dword [edi + 0x14]
mov edx, dword [eax + ecx*4]
mov ecx, dword [edx]
cmp dword [ecx + 4], 0
jne 0x100fba5f
mov edi, dword [edi + 8]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edi + 0x10]
jne 0x100fba5f
mov eax, dword [ecx + 0x14]
cmp eax, dword [edi + 0x14]
jne 0x100fba5f
mov eax, dword [edx + 8]
jmp 0x100fba61
xor eax, eax
cdq
mov ebx, eax
mov edi, edx
lea eax, [esi + 9]
cmp eax, dword [esp + 0x3c]
jbe 0x100fba88
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x10]
call fcn.100e0470
mov esi, dword [esp + 0x3c]
add esp, 4
test eax, eax
jne 0x100fbada
mov ecx, dword [esp + 0x34]
add ecx, esi
test edi, edi
ja 0x100fbaca
jb 0x100fba99
cmp ebx, 0x7f
ja 0x100fbaa5
and bl, 0x7f
mov eax, 1
mov byte [ecx], bl
jmp 0x100fbad4
test edi, edi
ja 0x100fbaca
jb 0x100fbab3
cmp ebx, 0x3fff
ja 0x100fbaca
mov eax, ebx
shrd eax, edi, 7
or al, 0x80
and bl, 0x7f
mov byte [ecx], al
mov eax, 2
mov byte [ecx + 1], bl
jmp 0x100fbad4
push edi
push ebx
call fcn.10103800
add esp, 8
add esi, eax
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
inc ecx
mov edx, dword [esp + 0x14]
dec eax
mov dword [esp + 0x24], ecx
cmp ecx, eax
jl 0x100fba36
xor ebx, ebx
cmp dword [esp + 0x10], ebx
jle 0x100fbb79
nop dword [eax]
mov edx, dword [edx + 0x34]
mov eax, dword [edx + 0x14]
mov edi, dword [eax + ebx*4]
mov ecx, dword [edi]
cmp dword [ecx + 4], 0
jne 0x100fbb6e
mov edx, dword [edx + 8]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 0x10]
jne 0x100fbb6e
mov eax, dword [ecx + 0x14]
cmp eax, dword [edx + 0x14]
jne 0x100fbb6e
mov eax, dword [edi + 4]
mov edi, dword [edi + 8]
mov dword [esp + 0x28], eax
test edi, edi
je 0x100fbb6e
lea eax, [edi + esi]
cmp eax, dword [esp + 0x3c]
jbe 0x100fbb54
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x10]
call fcn.100e0470
mov esi, dword [esp + 0x3c]
add esp, 4
test eax, eax
jne 0x100fbb6e
mov eax, dword [esp + 0x34]
push edi
push dword [esp + 0x2c]
add eax, esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add esi, edi
mov dword [esp + 0x38], esi
mov edx, dword [esp + 0x14]
inc ebx
cmp ebx, dword [esp + 0x10]
jl 0x100fbb00
mov ebx, dword [esp + 0x2c]
mov eax, esi
push sym.sqlite3.dll_sqlite3_free
cdq
push 0
mov ecx, dword [ebx]
push edx
mov edx, dword [esp + 0x40]
push eax
call fcn.10028550
add esp, 0x10
test eax, eax
je 0x100fbc9b
mov esi, dword [ebx]
cmp eax, 0x12
jne 0x100fbc2f
mov dword [ebx + 0x14], eax
mov edi, dword [esi + 0x20]
test edi, edi
je 0x100fbbb9
mov edi, dword [edi + 0x78]
jmp 0x100fbbbe
mov edi, 0x3b9aca00
mov eax, 0x2400
test word [esi + 8], ax
jne 0x100fbbcf
cmp dword [esi + 0x18], 0
je 0x100fbbd6
mov ecx, esi
call fcn.10027d40
mov dword [esi + 0x10], str.string_or_blob_too_big
mov eax, 0xa02
mov dword [esi + 0x24], 0
mov dword [esi + 0xc], 0x16
mov word [esi + 8], ax
mov byte [esi + 0xa], 1
cmp edi, 0x16
jge 0x100fbc9b
mov eax, dword [esi + 0x20]
test eax, eax
je 0x100fbc9b
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x100fbc9b
inc dword [eax + 0x24]
mov dword [eax + 0xc], 0x12
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x2400
test word [esi + 8], ax
je 0x100fbc43
mov ecx, esi
call fcn.10027d00
jmp 0x100fbc4c
mov eax, 1
mov word [esi + 8], ax
mov eax, dword [ebx]
mov dword [ebx + 0x14], 7
mov eax, dword [eax + 0x20]
cmp byte [eax + 0x53], 0
jne 0x100fbc9b
cmp byte [eax + 0x54], 0
jne 0x100fbc9b
cmp dword [eax + 0xc8], 0
mov byte [eax + 0x53], 1
jle 0x100fbc7b
mov dword [eax + 0x128], 1
inc dword [eax + 0x130]
xor ecx, ecx
mov word [eax + 0x134], cx
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x100fbc9b
mov dword [eax + 0xc], 7
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret