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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x50], 0
mov eax, dword [esi + 0xc]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], 0
jne 0x101ed424
mov eax, esi
call fcn.101bf1d0
cmp dword [esi + 0x24], 0
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
jne 0x101ed424
mov eax, esi
call fcn.101d1b50
mov dword [esi + 0x50], eax
cmp dword [esi + 0x24], 0
lea eax, [esi + 0x24]
mov dword [esp + 0xc], eax
je 0x101ed439
xor edx, edx
mov dword [esp + 0x24], edx
jmp 0x101ed447
mov eax, dword [esi + 0x50]
inc dword [eax]
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x24], ecx
mov edx, ecx
mov ebx, edx
mov ecx, esi
mov dword [esp + 0x14], ebx
call fcn.101165d0
mov edi, dword [esi + 0x50]
mov dword [esp + 0x3c], eax
test edi, edi
je 0x101ed46f
call fcn.1012f660
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x50], 0
test eax, eax
je 0x101ed992
mov ecx, dword [esi]
mov edx, dword [ecx + 0x48]
mov ecx, dword [ecx + 0x30]
push eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x58], ecx
call fcn.10161b90
mov edi, dword [esp + 0x10]
add esp, 4
cmp dword [edi], 0
jne 0x101ed8ba
mov eax, dword [esp + 0x18]
lea edx, [eax + 0x10]
push edx
push 0
push 0
push eax
call fcn.10149640
add esp, 0x10
mov dword [edi], eax
test eax, eax
jne 0x101ed8ba
jmp 0x101ed4c5
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x101ed8b6
lea edi, [ebx + 0x28]
mov eax, edi
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x101ed4e0
mov ecx, dword [esp + 0x18]
sub eax, esi
push 0
push ecx
mov esi, eax
call fcn.10124510
mov ebx, dword [ebx + 0x10]
sub ebx, esi
add esp, 8
lea edx, [esi + edi + 1]
sub ebx, 0x29
mov eax, edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x101ed513
mov ecx, dword [ebp + 8]
sub eax, esi
push edi
push eax
lea eax, [esp + 0x60]
push eax
push ecx
call fcn.101da970
mov edx, dword [esp + 0x1c]
add esp, 0x10
cmp dword [edx], 0
jne 0x101ed8b3
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x74]
lea ecx, [esi + eax]
lea edx, [ecx + ebx + 1]
cmp dword [esp + 0x1c], edx
jl 0x101ed571
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
push ebx
push eax
add ecx, esi
push ecx
call fcn.100ffb30
add esp, 0xc
add esi, ebx
mov dword [esp + 0x68], esi
jmp 0x101ed890
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x10], eax
jmp 0x101ed594
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x38]
jge 0x101ed890
add eax, dword [esp + 0x20]
lea edi, [esp + 0x48]
call fcn.10114dc0
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
movzx eax, al
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
add ebx, eax
adc edi, edx
cmp byte [esp + 0x91], 0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
je 0x101ed66e
mov ecx, dword [esp + 0x64]
mov al, byte [esp + 0x68]
mov edx, esi
shr edx, 8
mov byte [ecx], dl
mov byte [ecx + 1], al
add ecx, esi
test edi, edi
ja 0x101ed630
jb 0x101ed5f7
cmp ebx, 0x7f
ja 0x101ed605
mov dl, bl
and dl, 0x7f
mov byte [ecx], dl
mov eax, 1
jmp 0x101ed63a
test edi, edi
ja 0x101ed630
jb 0x101ed613
cmp ebx, 0x3fff
ja 0x101ed630
mov eax, ebx
mov edx, edi
shrd eax, edx, 7
or al, 0x80
mov byte [ecx], al
mov al, bl
shr edx, 7
and al, 0x7f
mov byte [ecx + 1], al
mov eax, 2
jmp 0x101ed63a
push edi
push ebx
call fcn.10114cc0
add esp, 8
mov edx, dword [ebp + 8]
push edi
push ebx
lea ecx, [esp + 0x60]
push ecx
add esi, eax
push edx
mov dword [esp + 0x78], esi
mov byte [esp + 0xa1], 0
call fcn.101c5110
mov eax, dword [esp + 0x1c]
add esp, 0x10
cmp dword [eax], 0
jne 0x101ed8a6
mov esi, dword [esp + 0x68]
jmp 0x101ed6c3
mov edi, dword [esp + 0x64]
add edi, esi
test edx, edx
ja 0x101ed6b1
jb 0x101ed67f
cmp eax, 0x7f
ja 0x101ed68a
and al, 0x7f
mov byte [edi], al
mov eax, 1
jmp 0x101ed6bd
test edx, edx
ja 0x101ed6b1
jb 0x101ed697
cmp eax, 0x3fff
ja 0x101ed6b1
mov ecx, eax
shrd ecx, edx, 7
or cl, 0x80
shr edx, 7
and al, 0x7f
mov byte [edi + 1], al
mov byte [edi], cl
mov eax, 2
jmp 0x101ed6bd
push edx
push eax
mov ecx, edi
call fcn.10114cc0
add esp, 8
add esi, eax
mov dword [esp + 0x68], esi
mov edi, 1
cmp dword [esp + 0x54], edi
jne 0x101ed738
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jge 0x101ed70e
mov edi, dword [esp + 0x20]
cmp byte [eax + edi], 0
jne 0x101ed70e
mov edx, dword [esp + 0x64]
inc eax
mov byte [edx + esi], 0
inc esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x10], eax
cmp eax, ecx
jge 0x101ed70e
cmp byte [eax + edi], 0
jne 0x101ed70e
mov byte [edx + esi], 0
inc esi
inc eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x74]
lea eax, [esi + edx]
cmp eax, dword [esp + 0x1c]
jl 0x101ed883
mov ecx, dword [ebp + 8]
push ecx
lea edi, [esp + 0x5c]
call fcn.101c4fe0
mov esi, dword [esp + 0x6c]
add esp, 4
jmp 0x101ed883
mov edx, dword [esp + 0x20]
add edx, dword [esp + 0x10]
movzx ecx, byte [edx]
mov dword [esp + 0x28], edx
test cl, cl
jns 0x101ed7a4
movzx eax, byte [edx + 1]
test al, al
js 0x101ed762
and ecx, 0x7f
shl ecx, 7
or ecx, eax
mov eax, 2
jmp 0x101ed7a2
movzx edi, byte [edx + 2]
shl ecx, 0xe
or ecx, edi
test cl, cl
js 0x101ed784
and eax, 0x7f
shl eax, 7
and ecx, 0x1fc07f
or ecx, eax
mov eax, 3
jmp 0x101ed7a2
lea eax, [edx]
lea edi, [esp + 0xb8]
call fcn.10114dc0
mov ecx, dword [esp + 0xb8]
and ecx, 0x7fffffff
movzx eax, al
mov edi, eax
mov eax, ecx
mov ecx, dword [esp + 0x74]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
add ebx, edi
lea edx, [esi + ecx]
add edx, ebx
mov dword [esp + 0x34], ebx
cmp edx, dword [esp + 0x1c]
jg 0x101ed7e2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
push ebx
push eax
add ecx, esi
push ecx
call fcn.100ffb30
add esp, 0xc
add esi, ebx
mov dword [esp + 0x68], esi
jmp 0x101ed87b
mov edx, dword [esp + 0xc]
xor edi, edi
cmp dword [edx], edi
jne 0x101ed87b
jmp 0x101ed7f6
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
sub eax, esi
sub eax, dword [esp + 0x74]
sub ebx, edi
cmp ebx, eax
jle 0x101ed818
push eax
mov eax, dword [esp + 0x2c]
lea ebx, [edi + eax]
call fcn.10116480
add esp, 4
mov ebx, eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x64]
push ebx
lea edx, [edi + ecx]
push edx
add eax, esi
push eax
call fcn.100ffb30
mov ecx, dword [esp + 0x80]
add esi, ebx
add edi, ebx
lea edx, [esi + ecx]
add esp, 0xc
mov dword [esp + 0x68], esi
mov dword [esp + 0x30], edi
cmp edx, dword [esp + 0x1c]
jl 0x101ed864
mov eax, dword [ebp + 8]
push eax
lea edi, [esp + 0x5c]
call fcn.101c4fe0
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x34]
add esp, 4
cmp edi, dword [esp + 0x34]
jge 0x101ed877
mov ecx, dword [esp + 0xc]
cmp dword [ecx], 0
je 0x101ed7f2
mov ebx, dword [esp + 0x34]
add dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0xc]
cmp dword [edx], 0
je 0x101ed590
mov eax, dword [esp + 0xc]
cmp dword [eax], 0
jne 0x101ed8a6
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 4]
mov dword [eax + 0x10], edx
mov eax, dword [esp + 0xc]
cmp dword [eax], 0
je 0x101ed4c2
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
call fcn.1012f7e0
lea edx, [esp + 0x30]
add esp, 4
push edx
lea eax, [esp + 0x5c]
mov ecx, esi
call fcn.101d4f20
mov eax, dword [esp + 0x28]
add esp, 4
cmp dword [eax + 0x14], 0
jne 0x101ed8fc
mov ecx, dword [esp + 0xc]
push ecx
lea ebx, [esp + 0x18]
call fcn.10116e40
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0xc]
cmp dword [edx], 0
jne 0x101ed955
mov eax, dword [ebx + 0x1c]
lea edi, [eax + eax*2 + 3]
mov eax, dword [ebx + 0x20]
add edi, edi
add edi, edi
mov dword [esp + 0x30], eax
call sym.SQLite.Interop.dll_sqlite3_initialize
test eax, eax
jne 0x101ed94b
mov ecx, dword [esp + 0x30]
push eax
push edi
push ecx
call fcn.10147760
add esp, 0xc
test eax, eax
je 0x101ed94b
mov edx, dword [ebx + 0x1c]
xor ecx, ecx
lea edx, [edx + edx*2]
lea edx, [eax + edx*4]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [ebx + 0x20], eax
jmp 0x101ed955
mov eax, dword [esp + 0xc]
mov dword [eax], 7
mov ecx, dword [esp + 0xc]
cmp dword [ecx], 0
jne 0x101ed986
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
lea edx, [eax + eax*2]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x3c]
inc eax
mov dword [ebx + 0x1c], eax
mov dword [ecx], edx
mov edx, dword [esp + 0x2c]
mov eax, 1
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
add dword [ebx + 0x10], eax
push ebx
push 0
push esi
call fcn.1012f5c0
add esp, 0xc
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.101ec670
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push esi
call fcn.101e7f80
mov edi, dword [esp + 0x1c]
push edi
push esi
call fcn.101c5620
add esp, 0x10
call fcn.1012f660
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret