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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, edx
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 8]
mov ebx, dword [eax + 0x18]
mov edx, dword [ecx + 0x28]
test edx, edx
mov dword [esp + 0x18], esi
jne 0x1015feb3
lea esi, [ecx + 0x28]
mov dword [esp + 0x10], ecx
mov ecx, ebx
xor edx, edx
push esi
push 0
call fcn.101604a0
add esp, 8
mov edi, eax
test eax, eax
jne 0x1015fee8
mov edx, dword [esi]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 8]
mov esi, eax
sar esi, 0x1f
add eax, dword [ecx + 0x30]
adc esi, dword [ecx + 0x34]
add eax, 9
adc esi, 0
mov edi, ecx
mov ecx, ebx
mov ebx, edi
push esi
push eax
call fcn.10160580
add esp, 8
mov ecx, edi
mov edx, dword [esp + 0x18]
call fcn.1015cee0
mov edi, eax
test eax, eax
je 0x1015fefd
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.1014dc80
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebx + 0x34]
mov dword [esp + 0xc], eax
mov esi, dword [ebx + 0x30]
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], ebx
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x14], ecx
mov ebx, dword [eax + 0xc]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov edi, ebx
sar edi, 0x1f
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
mov ecx, ebx
mov edx, edi
call fcn.10144e50
mov dword [esp + 0x54], eax
test eax, eax
jne 0x1015ff4f
mov dword [esp + 0x50], 7
jmp 0x1015ff81
push edi
push ebx
mov edi, dword [esp + 0x14]
push edi
push esi
call fcn.1014df60
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov ecx, eax
sar ecx, 0x1f
sub esi, eax
sbb edi, ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x10]
inc dword [eax + 0x1c]
add eax, 0x30
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 8]
mov eax, edx
sar eax, 0x1f
lea ecx, [esp + 0x50]
push eax
call fcn.10160640
add esp, 4
mov ebx, dword [esi]
test ebx, ebx
je 0x1016014f
lea edi, [esp + 0x50]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [esp + 0x40], eax
mov eax, edx
sar eax, 0x1f
mov ecx, edi
push eax
call fcn.10160640
add esp, 4
mov eax, dword [ebx]
test eax, eax
jle 0x10160132
mov edx, eax
mov dword [esp + 0x3c], ebx
lea eax, [ebx + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x20], ecx
mov ecx, edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ebx
test eax, eax
jne 0x10160102
mov eax, ebx
mov ebx, dword [esp + 0x34]
mov edi, ebx
mov esi, dword [esp + 0xc]
sub edi, esi
cmp ecx, edi
cmovle edi, ecx
add eax, esi
mov dword [esp + 0x14], eax
mov eax, edx
mov dword [esp + 0x38], ecx
sub eax, ecx
add eax, dword [esp + 0x4c]
push edi
push eax
push dword [esp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add esi, edi
xor eax, eax
cmp esi, ebx
jne 0x101600ea
mov edx, ebx
mov eax, ebx
sar eax, 0x1f
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x20]
mov eax, ebx
sar eax, 0x1f
mov esi, dword [esp + 0x24]
mov ecx, esi
add ecx, ebx
mov dword [esp + 0x14], ecx
adc eax, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov eax, edx
sub eax, ebx
mov dword [esp + 0x44], eax
add ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
call dword [section..00cfg]
push dword [esp + 0x48]
push dword [esp + 0x18]
push dword [esp + 0x4c]
push ebx
push dword [esp + 0x3c]
call ecx
add esp, 0x14
add esi, dword [esp + 0x34]
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x1c]
adc ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], 0
jmp 0x101600ee
mov dword [esp + 0xc], esi
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
sub ecx, edi
jg 0x10160028
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], eax
mov esi, dword [esp + 0x18]
lea edi, [esp + 0x50]
mov ebx, dword [esp + 0x3c]
cmp dword [esi + 4], 0
jne 0x10160141
push ebx
call sym.nss3.dll_sqlite3_free
add esp, 4
mov eax, dword [esp + 0x40]
mov ebx, eax
test eax, eax
jne 0x1015ffb6
mov dword [esi], 0
lea ecx, [esp + 0x50]
mov edx, dword [esp + 0x10]
call fcn.101606c0
mov edi, eax
jmp 0x1015fee8