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

Disassembly:
sub esp, 0x44
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], edi
jne 0x10074007
mov ebx, ebp
call fcn.1002a070
mov esi, eax
test esi, esi
mov dword [ebp + 8], eax
mov dword [esp + 0x18], esi
je 0x10073fe7
push 0x9b
call fcn.10035f60
add esp, 4
cmp dword [ebp + 0x198], 0
jne 0x10073ffd
mov eax, dword [ebp]
test byte [eax + 0x3c], 8
jne 0x10073ffd
mov byte [ebp + 0x17], 1
test esi, esi
je 0x10074233
mov edi, esi
mov ebx, dword [esp + 0x5c]
add dword [ebp + 0x64], 1
test byte [ebx + 4], 0x20
jne 0x10074020
mov eax, ebp
call fcn.1003a3e0
mov dword [esp + 0x20], eax
cmp byte [ebp + 0x1c2], 2
jne 0x1007407c
cmp byte [ebx], 0x4b
mov ecx, str.LIST
je 0x10074038
mov ecx, str.SCALAR
cmp dword [esp + 0x20], 0
mov eax, 0x100af3b4
jge 0x10074049
mov eax, str.CORRELATED
mov edx, dword [ebp + 0x1d4]
mov esi, dword [ebp]
push edx
push ecx
push eax
push str.EXECUTE__s_s_SUBQUERY__d
call fcn.10030b20
push 0xffffffffffffffff
push eax
mov eax, dword [ebp + 0x1d0]
push 0
push 0
push eax
push 0x9d
mov esi, edi
call fcn.10035e40
add esp, 0x28
cmp byte [ebx], 0x4b
je 0x10074166
mov ecx, dword [ebx + 0x14]
add dword [ebp + 0x48], 1
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x58], ecx
xor ecx, ecx
cmp byte [ebx], 0x77
push eax
mov dword [esp + 0x48], eax
mov byte [esp + 0x45], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov esi, edi
push ecx
jne 0x100740b8
mov byte [esp + 0x48], 0xa
push 0x1c
jmp 0x100740bf
mov byte [esp + 0x48], 3
push 0x19
call fcn.10035eb0
mov esi, dword [esp + 0x64]
mov edx, dword [esi + 0x3c]
mov eax, dword [ebp]
add esp, 0xc
push edx
push eax
call fcn.1002cb00
mov ecx, dword [ebp]
push 1
push 0x100ab578
push 0x84
push ecx
call fcn.10029ac0
mov ebx, eax
mov eax, dword [ebp]
add esp, 0x18
test ebx, ebx
mov dword [esp + 0x34], eax
jne 0x10074114
push ebx
push eax
call fcn.1002cb00
mov edx, dword [esp + 0x3c]
push ebx
push edx
call fcn.1002cb00
add esp, 0x10
jmp 0x10074138
call fcn.10024360
mov eax, dword [ebp]
mov eax, dword [eax + 0x64]
cmp dword [ebx + 0x18], eax
jle 0x10074138
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
mov edi, ebp
call fcn.10030a70
mov edi, dword [esp + 0x20]
add esp, 8
lea ecx, [esp + 0x40]
push ecx
push esi
push ebp
mov dword [esi + 0x3c], ebx
mov dword [esi + 8], 0
call fcn.1006fac0
add esp, 0xc
test eax, eax
jne 0x10074233
mov edx, dword [esp + 0x44]
mov dword [esp + 0x34], edx
jmp 0x100744b0
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x10074184
push eax
push 0
push 0x1c
mov esi, edi
call fcn.10035eb0
add esp, 0xc
mov eax, dword [esp + 0x30]
call fcn.1001aae0
mov ecx, dword [ebp + 0x44]
xor edx, edx
mov dword [ebx + 0x1c], ecx
add dword [ebp + 0x44], 1
cmp dword [esp + 0x64], edx
mov byte [esp + 0x58], al
mov eax, dword [ebx + 0x1c]
sete dl
mov esi, edi
push edx
push eax
push 0x37
call fcn.10035eb0
add esp, 0xc
cmp dword [esp + 0x64], 0
mov dword [esp + 0x3c], eax
je 0x100741c8
xor esi, esi
mov dword [esp + 0x14], esi
jmp 0x100741de
mov ecx, dword [ebp]
push 1
push 1
push ecx
call fcn.10029510
add esp, 0xc
mov dword [esp + 0x14], eax
mov esi, eax
test dword [ebx + 4], 0x800
je 0x10074261
mov edx, dword [ebx + 0x1c]
mov cl, byte [esp + 0x58]
xor eax, eax
mov dword [esp + 0x44], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x41], cl
mov byte [esp + 0x40], 0xb
mov dword [edx + 8], eax
mov ecx, dword [ebx + 0x14]
lea eax, [esp + 0x40]
push eax
push ecx
push ebp
call fcn.1006fac0
add esp, 0xc
test eax, eax
je 0x1007423d
test esi, esi
je 0x10074233
add dword [esi], 0xffffffff
jne 0x10074233
push esi
call sym.SQLite.Interop.dll_sqlite3_free
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov edx, dword [ebx + 0x14]
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov edi, dword [eax]
mov ecx, dword [ebx + 0xc]
mov esi, ebp
call fcn.10050620
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov dword [ecx + 0x14], eax
jmp 0x1007444f
mov eax, dword [ebx + 0x14]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x10074453
cmp byte [esp + 0x58], 0
jne 0x1007427c
mov byte [esp + 0x58], 0x62
test esi, esi
je 0x1007428f
mov ecx, dword [ebx + 0xc]
push ebp
call fcn.1004e5b0
add esp, 4
mov dword [esi + 0x14], eax
mov eax, ebp
call fcn.100128a0
mov dword [esp + 0x30], eax
mov eax, ebp
call fcn.100128a0
push eax
push 0
push 0x1c
mov esi, edi
mov dword [esp + 0x28], eax
call fcn.10035eb0
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
add esp, 0xc
test eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], edx
jle 0x100743e4
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
test esi, esi
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jl 0x10074303
push eax
call fcn.100269e0
add esp, 4
test eax, eax
jne 0x10074303
push edi
mov ebx, esi
call fcn.10035c00
mov ebx, dword [esp + 0x60]
add esp, 4
mov dword [esp + 0x20], 0xffffffff
cmp dword [esp + 0x64], 0
je 0x1007433f
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.10012e10
add esp, 8
test eax, eax
je 0x1007433f
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx + 0x1c]
push eax
push ecx
push edx
push 0x49
mov esi, edi
call fcn.10030400
add esp, 0x10
jmp 0x100743cc
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push ebp
call fcn.1007de60
add esp, 0xc
cmp dword [esp + 0x64], 0
mov ebx, eax
mov esi, edi
je 0x10074389
mov edx, dword [edi + 0x20]
add edx, 2
push edx
push ebx
push 0x26
call fcn.10035eb0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x1c]
add esp, 0xc
push ebx
push eax
push edx
push 0x46
call fcn.10030400
add esp, 0x10
jmp 0x100743c8
mov ecx, dword [esp + 0x1c]
push 1
lea eax, [esp + 0x5c]
push eax
push ecx
push 1
push ebx
push 0x30
call fcn.10035e40
push ebx
mov eax, 1
mov esi, ebp
call fcn.1001a9b0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x1c]
add esp, 0x1c
push edx
push ecx
push 0x6b
mov esi, edi
call fcn.10035eb0
add esp, 0xc
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x24], 0x18
sub eax, 1
test eax, eax
mov dword [esp + 0x2c], eax
jg 0x100742cd
mov edx, dword [esp + 0x30]
test edx, edx
je 0x1007441f
mov bl, byte [ebp + 0x13]
cmp bl, 8
jae 0x1007441f
xor eax, eax
lea ecx, [ebp + 0x74]
lea esp, [esp]
cmp dword [ecx + 0xc], edx
je 0x10074492
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x10074400
movzx eax, bl
mov dword [ebp + eax*4 + 0x18], edx
add byte [ebp + 0x13], 1
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x1007444f
mov bl, byte [ebp + 0x13]
cmp bl, 8
jae 0x1007444f
xor eax, eax
lea ecx, [ebp + 0x74]
cmp dword [ecx + 0xc], edx
je 0x10074498
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x10074434
movzx ecx, bl
mov dword [ebp + ecx*4 + 0x18], edx
add byte [ebp + 0x13], 1
mov esi, dword [esp + 0x14]
test esi, esi
je 0x100744b0
mov ebx, dword [edi + 4]
test ebx, ebx
mov eax, dword [esp + 0x3c]
mov edx, dword [edi]
je 0x1007449e
cmp byte [edx + 0x40], 0
jne 0x1007449e
test eax, eax
jge 0x10074474
mov eax, dword [edi + 0x20]
sub eax, 1
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*4 + 0x10]
lea ebx, [ebx + eax*4]
movsx eax, byte [ebx + 1]
mov edi, edx
call fcn.10030230
mov dword [ebx + 0x10], esi
mov byte [ebx + 1], 0xfa
jmp 0x100744ac
mov byte [ecx + 6], 1
jmp 0x1007441f
mov byte [ecx + 6], 1
jmp 0x1007444f
mov ecx, esi
mov eax, 0xfffffffa
mov edi, edx
call fcn.10030230
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x100744d5
mov ecx, dword [edi + 0x20]
cmp ecx, eax
jbe 0x100744c9
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + edx*4 + 8], ecx
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
sub ecx, 1
mov dword [edx + 0x58], ecx
mov eax, ebp
call fcn.1001a960
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret