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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x1011d004]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, edx
mov dword [esp + 0x3c], eax
push esi
push edi
mov dword [esp + 0x24], ebx
mov edi, ecx
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x40], 0
movzx esi, byte [eax + 2]
movzx eax, byte [eax + 3]
shl esi, 8
add esi, eax
mov dword [esp + 0x18], esi
call sym.sqlite3.dll_sqlite3_initialize
test eax, eax
jne 0x100d9e8f
lea eax, [esi + 1]
imul eax, eax, 0x34
push 0
push eax
call fcn.100049e0
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
je 0x100d9e8f
lea ecx, [esi + esi*2]
shl ecx, 4
add eax, ecx
lea ecx, [esi*4 + 4]
push ecx
mov dword [esp + 0x18], eax
add eax, 0x30
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor esi, esi
add esp, 0xc
cmp dword [esp + 0x18], esi
jbe 0x100d97c4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
push eax
push esi
mov edx, ebx
mov ecx, edi
call fcn.100d65d0
mov eax, dword [esp + 0x24]
inc esi
add eax, 0x30
add esp, 8
mov dword [esp + 0x1c], eax
cmp esi, dword [esp + 0x18]
jl 0x100d97a4
mov eax, dword [edi + 0x10]
sub eax, 2
push eax
mov eax, dword [ebx + 0x18]
add eax, 2
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov eax, dword [esp + 0x14]
inc dword [esp + 0x18]
mov dword [ebx + 0x14], 1
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [eax + 0x20], xmm0
cmp dword [ebx + 8], 1
lea eax, [ebx + 8]
mov dword [esp + 0x30], eax
jne 0x100d99b3
cmp dword [eax + 4], 0
jne 0x100d99b3
mov esi, dword [edi + 0x10]
add esi, 0x20
call sym.sqlite3.dll_sqlite3_initialize
test eax, eax
je 0x100d9839
mov dword [esp + 0x1c], 0
jmp 0x100d987c
push 0
push esi
call fcn.100049e0
mov esi, eax
add esp, 8
mov dword [esp + 0x1c], esi
test esi, esi
je 0x100d987c
mov ecx, dword [edi + 0x10]
add ecx, 0x20
push ecx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
lea eax, [esi + 0x20]
mov dword [esi + 0x10], 1
mov dword [esi + 0x18], eax
add esp, 0xc
inc dword [edi + 0x3c]
mov dword [esi], ebx
mov dword [esi + 0x14], 1
inc dword [ebx + 0x10]
mov esi, dword [edi + 0x10]
add esi, 0x20
call sym.sqlite3.dll_sqlite3_initialize
test eax, eax
je 0x100d9893
xor esi, esi
mov dword [esp + 0x20], esi
jmp 0x100d98d6
push 0
push esi
call fcn.100049e0
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
test esi, esi
je 0x100d98d6
mov ecx, dword [edi + 0x10]
add ecx, 0x20
push ecx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
lea eax, [esi + 0x20]
mov dword [esi + 0x10], 1
mov dword [esi + 0x18], eax
add esp, 0xc
inc dword [edi + 0x3c]
mov dword [esi], ebx
mov dword [esi + 0x14], 1
inc dword [ebx + 0x10]
inc dword [edi + 0x1c]
mov ecx, dword [ebx + 0x18]
mov dword [ebx + 0x14], 1
mov ebx, esi
mov edx, dword [edi + 0x1c]
mov eax, edx
sar eax, 8
mov byte [ecx], al
mov eax, dword [esp + 0x20]
mov byte [ecx + 1], dl
mov ecx, dword [esp + 0x1c]
mov edx, ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], edx
test esi, esi
jne 0x100d9a49
mov dword [esp + 0x28], eax
mov esi, 7
mov eax, ecx
mov edx, eax
mov ecx, edi
mov ebx, edi
call fcn.100d6500
mov edx, dword [esp + 0x28]
mov ecx, ebx
call fcn.100d6500
cmp dword [0x1011d0f8], 0
je 0x100d9e6b
mov eax, dword [0x1011f3e8]
test eax, eax
je 0x100d9965
push eax
call dword [0x1011d148]
add esp, 4
mov ebx, dword [esp + 0x38]
push ebx
call dword [0x1011d124]
sub dword [0x1011f200], eax
add esp, 4
dec dword [0x1011f224]
push ebx
call dword [0x1011d11c]
mov eax, dword [0x1011f3e8]
add esp, 4
test eax, eax
je 0x100d999c
push eax
call dword [0x1011d150]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.10105304
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x10]
add eax, 0x20
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], eax
call sym.sqlite3.dll_sqlite3_initialize
test eax, eax
je 0x100d99d8
xor edx, edx
mov dword [esp + 0x10], edx
jmp 0x100d9a2a
push 0
push dword [esp + 0x18]
call fcn.100049e0
mov edx, eax
add esp, 8
mov dword [esp + 0x10], edx
test edx, edx
je 0x100d9a2a
mov eax, dword [edi + 0x10]
add eax, 0x20
push eax
push 0
push edx
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [edx + 0x20]
mov dword [edx + 0x10], 1
mov dword [edx + 0x18], eax
inc dword [edi + 0x3c]
mov eax, dword [esp + 0x3c]
mov dword [edx], eax
mov dword [edx + 0x14], 1
test eax, eax
je 0x100d9a2a
inc dword [eax + 0x10]
inc dword [ebx + 0x10]
mov esi, ebx
mov eax, ebx
mov dword [esp + 0x28], esi
mov esi, edx
mov dword [esp + 0x2c], ebx
mov ecx, edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x18]
test edx, edx
je 0x100d9924
push dword [edi + 0x10]
push 0
push dword [ebx + 0x18]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x1c]
add esp, 0xc
push dword [edi + 0x10]
push 0
push dword [eax + 0x18]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x84]
add esp, 0xc
mov ecx, edi
push eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x18]
push ebx
push esi
call fcn.100d8dd0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x100d9e5e
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.100d63b0
mov esi, eax
test esi, esi
jne 0x100d9e4d
cmp dword [ebx + 8], eax
jne 0x100d9ad6
cmp dword [ebx + 0xc], eax
jne 0x100d9ad6
mov edx, ebx
mov ecx, edi
call fcn.100d63b0
mov esi, eax
test esi, esi
jne 0x100d9e4d
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x2c], ecx
cmp dword [eax], 1
jne 0x100d9b35
cmp dword [eax + 4], 0
jne 0x100d9b35
mov eax, dword [ebp + 0xc]
mov edx, ecx
inc eax
mov ecx, edi
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x4c]
push eax
call fcn.100dac00
mov esi, eax
add esp, 8
test esi, esi
jne 0x100d9e5e
mov eax, dword [esp + 0x14]
jmp 0x100d9b85
lea eax, [esp + 0x14]
mov edx, ebx
push eax
mov ecx, edi
call fcn.100d6fd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x100d9e5e
push dword [esp + 0x14]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x4c]
push eax
mov ecx, edi
call fcn.100d6350
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x50]
push eax
mov ecx, edi
call fcn.100d88f0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100d9e5e
mov eax, dword [ebp + 0xc]
inc eax
push eax
lea eax, [esp + 0x7c]
mov ecx, edi
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
call fcn.100dac00
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test esi, esi
jne 0x100d9e62
mov edx, dword [eax + 0x18]
mov dword [esp + 0x2c], esi
movzx eax, byte [edx + 2]
movzx ecx, byte [edx + 3]
shl eax, 8
add ecx, eax
mov ecx, fcn.100d8af0
je 0x100d9cda
cmp dword [ebp + 0xc], esi
mov eax, fcn.100d8b40
cmove eax, ecx
mov dword [esp + 0x14], eax
nop word [eax + eax]
movzx eax, byte [edi + 0x17]
imul eax, esi
cmp dword [ebp + 0xc], 0
mov ecx, dword [eax + edx + 4]
mov edx, dword [eax + edx + 8]
bswap ecx
bswap edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
jle 0x100d9c7a
mov eax, 0x51d07eaf
mul edx
mov eax, dword [esp + 0x20]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x20]
shr eax, 6
mov ecx, edx
imul eax, eax, 0x61
sub ecx, eax
mov esi, dword [edi + ecx*4 + 0x74]
mov ecx, dword [esp + 0x18]
test esi, esi
je 0x100d9c41
nop dword [eax]
cmp dword [esi + 8], edx
jne 0x100d9c3a
cmp dword [esi + 0xc], ecx
je 0x100d9c41
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x100d9c30
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x100d9c6f
mov eax, dword [eax]
test eax, eax
jne 0x100d9c45
test esi, esi
je 0x100d9c76
mov edx, dword [esi]
mov ecx, edi
call fcn.100d6500
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
inc dword [eax + 0x10]
mov dword [esi], eax
jmp 0x100d9c7e
mov esi, 0x10b
jmp 0x100d9c98
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push dword [eax + 0xc]
push dword [eax + 8]
push ecx
push edx
push edi
call dword [esp + 0x28]
mov edx, dword [esp + 0x34]
add esp, 0x14
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x44]
cmp edx, dword [eax]
jne 0x100d9cad
cmp ecx, dword [eax + 4]
jne 0x100d9cad
mov dword [esp + 0x40], 1
test esi, esi
jne 0x100d9d9b
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
inc esi
mov dword [esp + 0x2c], esi
mov edx, dword [eax + 0x18]
movzx eax, byte [edx + 2]
movzx ecx, byte [edx + 3]
shl eax, 8
add ecx, eax
cmp esi, ecx
jl 0x100d9be0
mov eax, dword [esp + 0x30]
cmp dword [eax], 1
jne 0x100d9dfb
cmp dword [eax + 4], 0
jne 0x100d9dfb
mov edx, dword [ebx + 0x18]
xor esi, esi
mov dword [esp + 0x30], esi
movzx ecx, byte [edx + 2]
movzx eax, byte [edx + 3]
shl ecx, 8
add ecx, eax
je 0x100d9e20
cmp dword [ebp + 0xc], esi
mov eax, fcn.100d8b40
mov ecx, fcn.100d8af0
cmove eax, ecx
mov dword [esp + 0x40], eax
movzx eax, byte [edi + 0x17]
imul eax, esi
cmp dword [ebp + 0xc], 0
mov ecx, dword [eax + edx + 4]
mov ebx, dword [eax + edx + 8]
bswap ecx
mov dword [esp + 0x14], ecx
bswap ebx
jle 0x100d9da4
mov eax, 0x51d07eaf
mov esi, ebx
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x61
sub esi, eax
mov esi, dword [edi + esi*4 + 0x74]
test esi, esi
je 0x100d9d71
nop
cmp dword [esi + 8], ebx
jne 0x100d9d6a
cmp dword [esi + 0xc], ecx
je 0x100d9d71
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x100d9d60
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x100d9de5
mov eax, dword [eax]
test eax, eax
jne 0x100d9d75
test esi, esi
je 0x100d9da4
mov edx, dword [esi]
mov ecx, edi
call fcn.100d6500
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
inc dword [eax + 0x10]
mov dword [esi], eax
jmp 0x100d9da8
mov eax, dword [esp + 0x3c]
jmp 0x100d992f
mov eax, dword [esp + 0x24]
push dword [eax + 0xc]
push dword [eax + 8]
push ecx
push ebx
push edi
call dword [esp + 0x54]
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x100d9dea
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
inc esi
mov dword [esp + 0x30], esi
mov edx, dword [ebx + 0x18]
movzx ecx, byte [edx + 2]
movzx eax, byte [edx + 3]
shl ecx, 8
add ecx, eax
cmp esi, ecx
jl 0x100d9d21
jmp 0x100d9e20
mov esi, 0x10b
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
jmp 0x100d992f
cmp dword [esp + 0x40], 0
jne 0x100d9e20
mov eax, dword [esp + 0x44]
mov edx, ebx
push dword [ebp + 0xc]
mov ecx, edi
push dword [eax + 4]
push dword [eax]
call fcn.100d9640
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100d9e5e
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.100d6500
mov esi, eax
xor eax, eax
test esi, esi
jne 0x100d9e62
mov edx, ebx
mov ecx, edi
call fcn.100d6500
mov esi, eax
mov dword [esp + 0x28], 0
xor eax, eax
jmp 0x100d992f
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
jmp 0x100d992f
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], ebx
jmp 0x100d992f
push dword [esp + 0x38]
call dword [0x1011d11c]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.10105304
mov esp, ebp
pop ebp
ret
xor edx, edx
mov ecx, edi
call fcn.100d6500
xor edx, edx
mov ecx, edi
call fcn.100d6500
mov ecx, dword [esp + 0xac]
mov eax, 7
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10105304
mov esp, ebp
pop ebp
ret