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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ecx + 8]
push edi
mov edi, edx
mov dword [esp + 0x10], ecx
push 0
push 0
push 0
mov eax, dword [edi + 0x1c]
mov edx, 0x21
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x38], eax
call fcn.1006f0f0
add esp, 0xc
test eax, eax
jne 0x10089f07
mov ebx, dword [esi + 0x18]
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0xc], ecx
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x1008986f
mov edx, dword [ebx + 0x78]
lea eax, [ecx*8 + 4]
mov ecx, dword [ebx]
push 0
push eax
call fcn.10033d80
mov ecx, dword [esp + 0x14]
add esp, 8
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x1008987d
mov dword [eax + ecx*4], 0xffffffff
not ecx
mov edx, edi
mov dword [esp + 0xc], ecx
push ecx
mov ecx, dword [esp + 0x14]
call fcn.10089500
mov eax, dword [edi + 0x38]
add esp, 4
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov edx, dword [ebx]
mov dword [esp + 0x14], eax
xor eax, eax
test edx, edx
jle 0x100898fc
lea ecx, [ebx + 0x30]
test byte [ecx], 0x20
jne 0x100898ef
inc eax
add ecx, 0x50
cmp eax, edx
jl 0x100898e0
jmp 0x100898fc
lea eax, [eax + eax*4]
add eax, eax
mov eax, dword [ebx + eax*8 + 0x38]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov ebx, dword [edx + 0x48]
lea eax, [ebx + 1]
mov dword [edx + 0x48], eax
cmp byte [edi + 4], 0x73
jne 0x10089929
cmp dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
setne cl
inc eax
mov dword [edx + 0x48], eax
lea ecx, [ecx*2 + 6]
jmp 0x10089937
cmp dword [esp + 0x14], ecx
setne cl
lea ecx, [ecx*2 + 5]
inc dword [edx + 0x4c]
mov edx, dword [edx + 0x4c]
mov byte [esp + 0x44], cl
mov dword [esp + 0x48], ebx
mov byte [esp + 0x45], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x20], edx
cmp dword [eax + 0x58], ecx
jg 0x10089987
push dword [esp + 0x24]
mov ecx, esi
push edx
push dword [esp + 0x20]
mov edx, 0x3c
call fcn.10051a30
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x100899be
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x3c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x14], 0
je 0x10089a5c
push ecx
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.10089670
mov ecx, dword [esi + 0x18]
add esp, 4
mov edx, dword [esi + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
add eax, 2
mov dword [esp + 0x24], eax
cmp dword [ecx + 0x58], edx
jg 0x10089a0b
push 0
push eax
push ebx
mov edx, 0x39
mov ecx, esi
call fcn.10051a30
add esp, 0xc
mov edx, eax
jmp 0x10089a42
mov edi, dword [esp + 0x24]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x39
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffa
push dword [esp + 0x34]
mov ecx, esi
call fcn.10052770
mov eax, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x54], eax
jmp 0x10089aab
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x10089a7c
push 0
push edx
push ebx
mov edx, 0x39
mov ecx, esi
call fcn.10051a30
add esp, 0xc
jmp 0x10089aab
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x39
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10089b18
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
cmp dword [eax + 0x58], edx
jg 0x10089ad6
push 0
push 0
push ecx
mov edx, 0x39
mov ecx, esi
call fcn.10051a30
add esp, 0xc
mov edx, eax
jmp 0x10089b11
mov edi, dword [esp + 0x28]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x39
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x14], edx
or dword [edi + 8], 0x10
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x14]
mov edx, eax
mov dword [edi + 0x2c], 0
mov dword [eax + 0x34], 0
call fcn.1008e160
mov ecx, dword [esp + 0x30]
add esp, 4
mov dword [ecx + 0x34], edi
test eax, eax
jne 0x10089ee4
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
cmp dword [eax + 0x58], ecx
jg 0x10089b78
push 0
push edx
push ebx
mov edx, 0x6c
mov ecx, esi
call fcn.10051a30
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x10089ba7
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x6c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x10089bcb
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x68
mov ecx, esi
call fcn.10051a30
add esp, 0xc
jmp 0x10089c02
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x68
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
test eax, eax
je 0x10089c4f
mov edx, dword [eax]
mov eax, dword [esi + 0x18]
inc edx
cmp dword [eax + 0x58], ecx
jg 0x10089c2f
push dword [esp + 0x20]
mov ecx, esi
push edx
push ebx
mov edx, 0x2f
call fcn.10051a30
add esp, 0xc
jmp 0x10089ca2
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x2f
mov dword [eax + ecx*4 + 0xc], edx
jmp 0x10089c91
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x10089c6f
push 0
push dword [esp + 0x24]
mov edx, 0x66
mov ecx, esi
push ebx
call fcn.10051a30
add esp, 0xc
jmp 0x10089ca2
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x66
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 4], ebx
mov byte [eax + ecx*4 + 3], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x10089cc3
push 0
push 0
push ebx
mov edx, 0x5f
mov ecx, esi
call fcn.10051a30
add esp, 0xc
jmp 0x10089cf6
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x5f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x30], ecx
mov ebx, dword [ecx + 0x74]
lea eax, [ebx + 1]
mov dword [ecx + 0x74], eax
lea eax, [ebx - 1]
test ebx, eax
jne 0x10089d2b
mov edx, dword [ecx + 0x78]
lea eax, [ebx*8 + 4]
mov ecx, dword [ecx]
push 0
push eax
call fcn.10033d80
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x10089d39
mov dword [eax + ebx*4], 0xffffffff
mov edx, dword [esp + 0x34]
not ebx
test edx, edx
jle 0x10089d92
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x10089d63
push 1
push ebx
push edx
mov edx, 0x8a
mov ecx, esi
call fcn.10051a30
add esp, 0xc
jmp 0x10089d92
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x8a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, edi
push ebx
push dword [ebp + 8]
push 0
push 0
push dword [esp + 0x2c]
push dword [edi]
call fcn.10087400
mov edx, dword [esp + 0x54]
add esp, 0x1c
test edx, edx
je 0x10089e10
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x10089ddd
push 0
push dword [esp + 0x10]
mov ecx, esi
push edx
mov edx, 0x8d
call fcn.10051a30
add esp, 0xc
jmp 0x10089e10
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov word [eax + ecx*4], 0x8d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x10089e28
lea eax, [ebx*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
test byte [edi + 8], 8
je 0x10089e48
push str.recursive_aggregate_queries_not_supported
push dword [esp + 0x14]
call fcn.100365a0
add esp, 8
jmp 0x10089e69
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x44]
push eax
mov edx, edi
mov dword [edi + 0x30], 0
call fcn.1008e160
mov eax, dword [esp + 0x30]
add esp, 4
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x28]
cmp dword [eax + 0x58], ecx
jg 0x10089e8e
push 0
push edx
push 0
mov edx, 0xd
mov ecx, esi
call fcn.10051a30
add esp, 0xc
jmp 0x10089ec1
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x10089edd
mov eax, dword [esp + 0xc]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov eax, dword [esp + 0x10]
mov edx, dword [edi + 0x2c]
mov ecx, dword [eax]
call fcn.10067700
mov eax, dword [esp + 0x14]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0x3c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret