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

Disassembly:
sub esp, 0x8c
mov eax, dword [esp + 0x90]
push ebx
push ebp
push esi
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax]
push edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], 0xffffffff
test byte [eax + 0x50], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
jne 0x1002e837
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
lea ecx, [ecx + ecx*8]
mov eax, dword [edx + 0x20]
shl ecx, 3
cmp dword [edx + 0x44], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ecx
lea ebp, [ecx + eax]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x44], eax
lea eax, [ebp + 0x1c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ecx
jne 0x1002e837
cmp dword [ecx + 0x44], 0
jne 0x1002e837
mov eax, dword [ecx + 0x3c]
mov edi, dword [ecx + 0x20]
test eax, eax
je 0x1002e7c8
cmp dword [edx + 0x3c], 0
jne 0x1002e837
cmp dword [eax + 0x10], 0
jne 0x1002e837
test dword [edx + 4], 0x100
je 0x1002e7d5
test eax, eax
jne 0x1002e837
mov esi, dword [edi]
test esi, esi
je 0x1002e837
mov edx, dword [ecx + 4]
test dl, 1
jne 0x1002e837
mov ebx, dword [esp + 0xac]
test eax, eax
je 0x1002e7fd
mov esi, dword [esp + 0x24]
cmp dword [esi], 1
mov esi, dword [edi]
jg 0x1002e837
test ebx, ebx
jne 0x1002e837
mov ebp, dword [esp + 0xa4]
cmp dword [ebp + 0x30], 0
mov ebp, dword [esp + 0x20]
je 0x1002e814
cmp dword [ecx + 0x30], 0
jne 0x1002e837
test ebx, ebx
je 0x1002e81e
cmp dword [ecx + 0x30], 0
jne 0x1002e837
test eax, eax
mov eax, dword [esp + 0xa4]
je 0x1002e844
cmp dword [eax + 0x24], 0
jne 0x1002e837
mov ecx, dword [eax + 4]
and ecx, 1
je 0x1002e84a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8c
ret
mov ecx, dword [eax + 4]
and ecx, 1
test edx, 0x2000
jne 0x1002e837
mov dl, byte [ebp + 0x2c]
lea eax, [ebp + 0x2c]
mov dword [esp + 0x40], eax
test dl, 0x60
je 0x1002e883
cmp esi, 1
jg 0x1002e837
mov eax, dword [edi + 0x18]
cmp byte [eax + 0x2b], 1
je 0x1002e837
test ecx, ecx
jne 0x1002e837
test dl, 0x10
jne 0x1002e837
mov edx, 1
mov dword [esp + 0x30], edx
jmp 0x1002e885
xor edx, edx
cmp dword [esp + 0xa8], 0
jle 0x1002e895
test byte [edi + 0x2c], 0x40
jne 0x1002e837
test dword [ebp + 0x30], 0x100
je 0x1002e8a7
mov eax, dword [ebp + 0x4c]
cmp byte [eax + 0x12], 0
je 0x1002e837
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x34], 0
je 0x1002ea42
cmp dword [esi + 0x30], 0
jne 0x1002e837
test ebx, ebx
jne 0x1002e837
test ecx, ecx
jne 0x1002e837
test edx, edx
jne 0x1002e837
mov eax, esi
nop dword [eax]
test byte [eax + 4], 9
jne 0x1002e837
mov edx, dword [eax + 0x34]
test edx, edx
je 0x1002e8fa
cmp byte [eax], 0x87
jne 0x1002e837
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jl 0x1002e837
cmp dword [eax + 0x44], 0
jne 0x1002e837
cmp dword [esp + 0xa8], 0
jle 0x1002e924
test byte [ecx + 0x2c], 0x40
jne 0x1002e837
mov eax, edx
test eax, eax
jne 0x1002e8e0
mov ebx, dword [esp + 0xa4]
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x1002e955
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
jle 0x1002e955
add eax, 0x18
cmp word [eax], 0
je 0x1002e837
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x1002e943
test dword [ebx + 4], 0x2000
jne 0x1002e837
mov eax, dword [esi + 0x1c]
xor ebp, ebp
cmp dword [eax], ebp
jle 0x1002e9bd
xor edi, edi
nop dword [eax]
push dword [eax + edi + 8]
call fcn.10056440
mov esi, dword [esi + 0x34]
add esp, 4
mov bl, al
test esi, esi
je 0x1002e9ae
nop word [eax + eax]
mov eax, dword [esi + 0x1c]
push dword [eax + edi + 8]
call fcn.10056440
add esp, 4
cmp al, bl
jne 0x1002e837
mov esi, dword [esi + 0x34]
test esi, esi
jne 0x1002e990
mov esi, dword [esp + 0x18]
inc ebp
add edi, 0x14
mov eax, dword [esi + 0x1c]
cmp ebp, dword [eax]
jl 0x1002e970
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0xa0]
cmp dword [eax], 1
jle 0x1002ea3c
cmp dword [edi + 0x68], 0x1f4
jg 0x1002e837
mov ecx, dword [esp + 0x14]
test dword [ecx + 0x50], 0x800000
jne 0x1002e837
mov eax, dword [edi + 0x28]
cdq
mov esi, eax
add esi, 1
adc edx, 0
shld edx, esi, 2
push edx
shl esi, 2
push esi
push ecx
call fcn.10053d40
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x1002ea2e
push esi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 0x28]
add esp, 0xc
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov dword [ebx], eax
jmp 0x1002ea49
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
jmp 0x1002ea49
mov ebp, dword [esp + 0x20]
jmp 0x1002ea49
mov edi, dword [esp + 0xa0]
mov eax, dword [ebp + 0x10]
push 0
push 0
push 0
push 0x15
push edi
mov dword [edi + 0xfc], eax
call fcn.1004a610
mov ebx, dword [esp + 0x3c]
add esp, 0x14
mov eax, dword [esp + 0x2c]
mov dword [edi + 0xfc], eax
mov eax, dword [ebx]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1002ea8b
push eax
push dword [esp + 0x18]
call fcn.10053c30
add esp, 8
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1002ea9f
push eax
push dword [esp + 0x18]
call fcn.10053c30
add esp, 8
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1002eab3
push eax
push dword [esp + 0x18]
call fcn.10053c30
add esp, 8
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov dword [ebx], 0
mov eax, dword [esi + 0x34]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1002ebeb
mov ecx, dword [esp + 0xa4]
mov edi, dword [ebp + 0x18]
mov eax, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x30]
mov esi, dword [ecx + 0x3c]
push 0
push ecx
push dword [esp + 0x1c]
mov dword [ebp + 0x18], 0
mov dword [esp + 0x24], eax
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x3c], 0
call fcn.10074420
mov ecx, dword [esp + 0xb0]
mov ebp, eax
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [ecx + 0x3c], esi
mov dword [ecx + 0x30], ebx
mov byte [ecx], 0x87
mov dword [eax + 0x18], edi
mov edi, dword [esp + 0xa0]
test ebp, ebp
jne 0x1002eb4c
mov eax, dword [esp + 0x18]
jmp 0x1002ebcd
inc dword [edi + 0x68]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 0x68]
mov dword [ebp + 0x10], eax
test ebx, ebx
je 0x1002ebba
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
jne 0x1002ebba
push dword [esp + 0xa8]
push dword [ebp + 0x20]
push ebx
push edi
call fcn.10093560
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0
xorps xmm0, xmm0
mov dword [esp + 0x6c], 0
push ebp
push eax
movlpd qword [esp + 0x6c], xmm0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x64], 0x10042f10
mov dword [esp + 0x68], sym.sqlite3.dll_sqlite3_global_recover
call fcn.1008a180
mov ecx, dword [esp + 0xbc]
add esp, 0x18
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x34], eax
test eax, eax
je 0x1002ebc8
mov dword [eax + 0x38], ebp
mov dword [ebp + 0x38], ecx
mov eax, ebp
mov ebp, dword [esp + 0x20]
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x1002eae4
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1002ec00
push eax
push dword [esp + 0x18]
call fcn.10053c30
add esp, 8
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
je 0x1002ec20
mov edi, dword [esp + 0x38]
mov eax, 1
mov dword [ebx], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x1002ec55
mov eax, dword [edx + 0x18]
cmp eax, 1
jne 0x1002ec4a
mov eax, dword [edi + 0x78]
mov ecx, edi
test eax, eax
push edx
cmovne ecx, eax
push 0x10054d40
push ecx
call fcn.10068f10
add esp, 0xc
jmp 0x1002ec4e
dec eax
mov dword [edx + 0x18], eax
mov dword [ebp + 0x18], 0
mov ecx, dword [esp + 0xa4]
mov ebx, ecx
mov edi, dword [esp + 0x38]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], ecx
nop word [eax + eax]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov esi, dword [edi + 0x20]
mov byte [esp + 0x13], 0
mov al, byte [edx + eax + 0x2c]
mov ebp, dword [esi]
and al, 0x40
mov byte [esp + 0x12], al
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
cmp ebx, ecx
jne 0x1002eca9
mov eax, dword [esp + 0x40]
mov al, byte [eax]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x24]
cmp ebp, 1
jle 0x1002ece3
mov eax, dword [esp + 0xa8]
inc eax
push eax
lea eax, [ebp - 1]
push eax
push dword [esp + 0x2c]
push dword [esp + 0xac]
call fcn.100752e0
add esp, 0x10
mov dword [esp + 0x24], eax
test eax, eax
je 0x1002efdb
mov edx, dword [esp + 0x3c]
mov dword [ebx + 0x20], eax
jmp 0x1002eceb
test ebp, ebp
jle 0x1002ed77
mov bl, byte [esp + 0x12]
lea edi, [esi + 8]
lea esi, [edx + eax]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x18], esi
add esi, 0x2c
test dword [esi + 4], 0x400
je 0x1002ed19
push dword [esi + 0xc]
push ebp
call fcn.100621f0
add esp, 8
movups xmm0, xmmword [edi]
push 0x48
push 0
movups xmmword [esi - 0x24], xmm0
push edi
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esi - 0x14], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esi - 4], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [esi + 0xc], xmm0
movq xmm0, qword [edi + 0x40]
movq qword [esi + 0x1c], xmm0
or byte [esi], bl
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x40], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
add esi, 0x48
add edi, 0x48
sub dword [esp + 0x28], 1
jne 0x1002ed04
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
jmp 0x1002ed82
lea ecx, [edx + eax]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
mov al, byte [ecx + 0x2c]
and al, 0x40
or al, byte [esp + 0x12]
or al, byte [esp + 0x13]
mov byte [ecx + 0x2c], al
mov edx, dword [edi + 0x30]
test edx, edx
je 0x1002edc8
test dword [ebx + 4], 0x400000
jne 0x1002edc8
xor ecx, ecx
cmp dword [edx], ecx
jle 0x1002edbe
lea eax, [edx + 0x18]
nop dword [eax + eax]
xor esi, esi
lea eax, [eax + 0x14]
mov word [eax - 0x14], si
inc ecx
cmp ecx, dword [edx]
jl 0x1002edb0
mov dword [ebx + 0x30], edx
mov dword [edi + 0x30], 0
mov edx, dword [esp + 0x30]
mov esi, dword [edi + 0x24]
mov dword [edi + 0x24], 0
test edx, edx
je 0x1002ede9
push 1
push dword [esp + 0x38]
push esi
call fcn.10074a10
add esp, 0xc
test esi, esi
je 0x1002eed0
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x28], eax
test eax, eax
je 0x1002eecd
mov eax, dword [esp + 0xa0]
push 0
push 0x34
push dword [eax]
call fcn.10053d40
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1002eea2
push 0x34
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x28]
or eax, 0xffffffff
mov edx, dword [esp + 0x34]
add esp, 0xc
mov word [ecx + 0x22], ax
mov dword [ecx + 0x10], edx
mov byte [ecx], 0x2c
mov eax, dword [edx + 4]
and eax, 0x400208
or dword [ecx + 4], eax
mov eax, dword [edx + 0x18]
inc eax
mov dword [ecx + 0x18], eax
mov edx, dword [ecx + 0x18]
mov dword [ecx + 0xc], esi
mov eax, dword [esi + 4]
and eax, 0x400208
or dword [ecx + 4], eax
mov eax, dword [esi + 0x18]
cmp eax, edx
jl 0x1002ee73
lea edx, [eax + 1]
mov dword [ecx + 0x18], edx
mov esi, dword [esp + 0xa0]
mov eax, dword [esi]
mov eax, dword [eax + 0x84]
cmp edx, eax
jle 0x1002eec4
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.10055e80
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [esp + 0x30]
mov dword [ebx + 0x24], ecx
jmp 0x1002eed0
push esi
mov esi, dword [esp + 0xa4]
push dword [esi]
call fcn.100597d0
mov edx, dword [esp + 0x30]
push edx
push dword [esi]
call fcn.100597d0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
mov edx, dword [esp + 0x30]
mov dword [ebx + 0x24], ecx
jmp 0x1002eed0
mov dword [ebx + 0x24], esi
mov eax, dword [esp + 0x14]
mov ecx, edi
cmp byte [eax + 0x57], 0
jne 0x1002ef32
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x34]
test eax, eax
je 0x1002ef19
nop dword [eax]
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x1002ef10
mov eax, dword [ecx + 0x1c]
push 0
mov dword [esp + 0x60], eax
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.10093af0
add esp, 0xc
mov ecx, edi
mov eax, dword [edi + 4]
add ecx, 0x34
and eax, 0x100
or dword [ebx + 4], eax
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x1002ef51
mov dword [ebx + 0x3c], eax
mov dword [edi + 0x3c], 0
test ebp, ebp
jle 0x1002efbf
mov esi, dword [esp + 0x18]
add esi, 0x40
nop dword [eax]
cmp dword [esi - 0x28], 0
je 0x1002efb4
lea eax, [esi - 0x38]
mov dword [esp + 0x64], 0
mov dword [esp + 0x7c], eax
xorps xmm0, xmm0
lea eax, [esp + 0x64]
movlpd qword [esp + 0x70], xmm0
push ebx
push eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x70], 0x10041010
mov dword [esp + 0x74], sym.sqlite3.dll_sqlite3_global_recover
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1008a180
add esp, 8
add esi, 0x48
sub ebp, 1
jne 0x1002ef60
lea ecx, [edi + 0x34]
mov ebx, dword [ebx + 0x34]
mov edi, dword [ecx]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], edi
test ebx, ebx
jne 0x1002ec70
push dword [esp + 0xa0]
lea eax, [esp + 0x84]
push eax
call fcn.10048850
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x88]
push ebx
push eax
call fcn.1008a180
add esp, 0x10
test ebx, ebx
je 0x1002f017
push 1
push ebx
push dword [esp + 0x1c]
call fcn.10021c70
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x8c
ret