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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x24], 0
mov ebx, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x3c], 0
cmp dword [edi + 0x44], 0
mov eax, dword [edi + 0x20]
mov esi, dword [ebx + 8]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
je 0x10097be2
push str.cannot_use_window_functions_in_recursive_queries
push ebx
call fcn.100224e0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
mov edx, 0x21
call fcn.1006e640
add esp, 0xc
test eax, eax
jne 0x100986fb
dec dword [ebx + 0x38]
cmp dword [edi + 8], 0
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x14], eax
mov eax, 0x140
mov word [edi + 2], ax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x34], eax
jne 0x10098017
test eax, eax
je 0x10098017
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [ebx + 0x2c], eax
mov dword [edi + 8], eax
mov ecx, dword [ebx + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x10097c60
cmp dword [ebx + 0x78], ecx
jne 0x10097c53
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x10097c53
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.10043c70
mov ecx, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], 0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x10097cdc
lea eax, [ecx + 0x6c]
add ecx, 0x70
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x34]
mov ecx, ebx
push dword [esp + 0x18]
mov edx, dword [eax + 0xc]
call fcn.10064810
mov edx, dword [esp + 0x30]
add esp, 4
mov eax, dword [esp + 0x40]
mov ecx, dword [edx]
mov dword [esp + 0x28], ecx
cmp dword [eax], ecx
jg 0x10097e73
mov ecx, dword [esp + 0x10]
mov edx, 0xd
push 0
push 0
push dword [esp + 0x20]
call fcn.10043eb0
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [eax + 0x68]
mov dword [esp + 0x1c], ecx
lea edx, [eax + 0x6c]
jmp 0x10097eb9
test dword [eax + 4], 0x800
je 0x10097cfc
mov edx, dword [eax + 8]
lea eax, [ecx + 0x6c]
mov dword [esp + 0x2c], eax
lea eax, [ecx + 0x70]
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
jmp 0x10097d45
movzx ecx, byte [eax]
sub ecx, 0xad
je 0x10097d79
sub ecx, 1
jne 0x10097d1c
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x2c]
call fcn.1005e920
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], edx
lea eax, [ecx + 0x6c]
mov dword [esp + 0x2c], eax
lea eax, [ecx + 0x70]
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], eax
je 0x10097c85
mov edi, dword [ecx + 0x6c]
cmp dword [eax], edi
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0xc]
jg 0x10097da4
push 0
push dword [esp + 0x1c]
push edx
mov edx, 0x47
call fcn.10043eb0
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x28]
lea ecx, [eax + 0x68]
mov dword [esp + 0x1c], ecx
jmp 0x10097deb
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
call fcn.1005e920
test eax, eax
je 0x10097d1c
mov edx, dword [esp + 0x2c]
neg edx
mov dword [esp + 0x1c], 1
jmp 0x10097d20
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
inc eax
mov edx, dword [esp + 0x28]
mov dword [ecx + 0x6c], eax
lea eax, [ecx + 0x68]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
test edx, edx
jne 0x10097e46
mov edi, dword [esp + 0x20]
lea ecx, [eax + 0x6c]
mov edx, dword [ecx]
cmp dword [edi], edx
mov edi, dword [esp + 0xc]
jg 0x10097e1c
push 0
push dword [esp + 0x18]
mov edx, 9
mov ecx, eax
push 0
call fcn.10043eb0
add esp, 0xc
jmp 0x10097f21
lea eax, [edx + 1]
mov dword [ecx], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
jmp 0x10097f11
js 0x10097f21
mov eax, edx
cdq
push edx
push eax
call fcn.100239d0
add esp, 8
cmp word [edi + 2], ax
jle 0x10097f21
or dword [edi + 4], 0x4000
mov word [edi + 2], ax
jmp 0x10097f21
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov ecx, edx
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
add eax, 0x68
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edi
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 + 0x10]
mov edi, dword [esp + 0x20]
lea ecx, [edx]
mov edx, dword [ecx]
cmp dword [edi], edx
mov edi, dword [esp + 0xc]
jg 0x10097ee4
push 0
push dword [esp + 0x18]
mov edx, 0x11
mov ecx, eax
push dword [esp + 0x20]
call fcn.10043eb0
add esp, 0xc
jmp 0x10097f21
mov edi, dword [esp + 0x18]
lea eax, [edx + 1]
mov dword [ecx], eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov eax, dword [edx]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov ecx, dword [esp + 0x34]
cmp dword [ecx + 0x10], 0
je 0x10098017
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0xc], eax
inc dword [ebx + 0x2c]
mov edx, dword [ecx + 0x10]
mov ecx, ebx
push eax
mov dword [esp + 0x38], eax
call fcn.10064810
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [ecx]
cmp dword [eax], edx
jg 0x10097f7a
mov ecx, dword [esp + 0x10]
mov edx, 0xd
push 0
push 0
push dword [esp + 0x3c]
call fcn.10043eb0
mov edx, dword [esp + 0x40]
add esp, 0xc
jmp 0x10097faf
lea eax, [edx + 1]
mov dword [ecx], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0xd
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 ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
mov eax, dword [ecx]
cmp dword [edi], eax
mov edi, dword [esp + 0xc]
mov dword [esp + 0x40], eax
jg 0x10097fe1
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
push edx
push eax
push dword [esp + 0x20]
mov edx, 0xa0
call fcn.10043eb0
add esp, 0xc
jmp 0x10098017
mov edi, dword [esp + 0x18]
inc eax
mov dword [ecx], eax
mov eax, dword [esp + 0x40]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edi
lea edi, [edx + 1]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0xa0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x3c]
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [edi + 0x3c], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov edx, dword [edx]
mov dword [esp + 0x1c], ecx
test edx, edx
jle 0x10098082
mov ecx, dword [esp + 0x38]
add ecx, 0x30
nop dword [eax + eax]
test byte [ecx], 0x40
jne 0x1009806f
inc eax
add ecx, 0x48
cmp eax, edx
jl 0x10098060
jmp 0x1009807e
mov ecx, dword [esp + 0x38]
lea eax, [eax + eax*8]
mov eax, dword [ecx + eax*8 + 0x34]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx + 0x28]
mov dword [esp + 0x10], edx
lea eax, [edx + 1]
mov dword [ebx + 0x28], eax
cmp byte [edi], 0x86
jne 0x100980ae
mov edi, dword [esp + 0xc]
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], eax
setne cl
add ecx, 5
inc eax
mov dword [ebx + 0x28], eax
jmp 0x100980b5
neg ecx
sbb ecx, ecx
add ecx, 8
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov byte [esp + 0x44], cl
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x70], ecx
jg 0x1009810d
push dword [esp + 0x30]
mov edx, 0x79
mov ecx, esi
push eax
push dword [esp + 0x2c]
call fcn.10043eb0
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x10098144
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x1c], 0
je 0x10098237
push ecx
mov edx, edi
mov ecx, ebx
call fcn.10097970
mov edx, dword [esi + 0x6c]
add esp, 4
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
add eax, 2
mov dword [esp + 0x34], eax
cmp dword [esi + 0x70], edx
jg 0x1009818f
push 0
push eax
push dword [esp + 0x18]
mov edx, 0x76
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
mov edx, eax
jmp 0x100981c6
mov edi, dword [esp + 0x10]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x100981ed
mov edx, dword [esp + 0x38]
push edx
mov edx, 0xfffffff8
call fcn.10044b10
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x5c], eax
jmp 0x1009828a
test edx, edx
jns 0x100981f5
mov edx, dword [esi + 0x6c]
dec edx
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x38]
je 0x10098222
push 0xfffffffffffffff8
push edx
mov edx, eax
mov ecx, esi
call fcn.10044c00
mov eax, dword [esp + 0x24]
add esp, 8
mov dword [esp + 0x5c], eax
jmp 0x1009828a
test edx, edx
je 0x1009822d
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
jmp 0x1009828a
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x10098257
push 0
push dword [esp + 0x34]
mov ecx, esi
push edx
mov edx, 0x76
call fcn.10043eb0
add esp, 0xc
jmp 0x1009828a
mov edi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x100982f0
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x100982b2
push 0
push 0
push eax
mov edx, 0x76
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
mov edx, eax
jmp 0x100982e9
mov edi, dword [esp + 0x3c]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
or dword [edi + 4], 0x20
mov dword [edi + 0x14], edx
mov dword [edi + 0x30], 0
nop word [eax + eax]
test byte [edi + 4], 8
jne 0x100986cd
mov eax, dword [edi + 0x34]
mov byte [edi], 0x87
test dword [eax + 4], 0x2000
je 0x1009831f
mov edi, eax
test edi, edi
jne 0x10098300
mov eax, dword [edi + 0x34]
push str.SETUP
push 1
push ebx
mov dword [esp + 0x44], eax
mov dword [eax + 0x38], 0
call fcn.10044540
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x50]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.1009f980
mov edx, dword [esp + 0x3c]
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [edx + 0x38], ecx
test eax, eax
jne 0x100986db
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x34], ecx
cmp dword [esi + 0x70], ecx
jg 0x1009838b
push eax
push dword [esp + 0x18]
lea edx, [eax + 0x24]
mov ecx, esi
push dword [esp + 0x18]
call fcn.10043eb0
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x100983be
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100983df
push 0
push 0
push dword [esp + 0x2c]
mov edx, 0x88
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
jmp 0x10098412
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x88
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 + 0x1c]
mov ecx, dword [esi + 0x6c]
test eax, eax
je 0x10098473
mov eax, dword [eax]
inc eax
mov dword [esp + 0x3c], eax
cmp dword [esi + 0x70], ecx
jg 0x10098446
push dword [esp + 0x2c]
mov edx, 0x5e
mov ecx, esi
push eax
push dword [esp + 0x18]
call fcn.10043eb0
add esp, 0xc
jmp 0x100984c6
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 0xc], edx
jmp 0x100984be
cmp dword [esi + 0x70], ecx
jg 0x10098493
push 0
push dword [esp + 0x30]
mov edx, 0x86
mov ecx, esi
push dword [esp + 0x18]
call fcn.10043eb0
add esp, 0xc
jmp 0x100984c6
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x10]
cmp dword [esi + 0x70], ecx
jg 0x100984e8
push 0
push 0
push edx
mov edx, 0x82
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
jmp 0x1009851b
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x82
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 edx, dword [ebx + 0x38]
mov eax, dword [esp + 0x40]
dec edx
mov dword [esp + 0x3c], edx
mov dword [ebx + 0x38], edx
test eax, eax
jle 0x10098582
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009854f
push 1
push edx
push eax
mov edx, 0x3b
mov ecx, esi
call fcn.10043eb0
mov edx, dword [esp + 0x48]
add esp, 0xc
jmp 0x10098582
mov edx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x3b
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x14]
mov ecx, ebx
push edx
push dword [ebp + 8]
mov edx, dword [esp + 0x18]
push 0
push 0
push dword [esp + 0x38]
call fcn.10094980
mov edx, dword [esp + 0x40]
add esp, 0x18
test edx, edx
je 0x100985fb
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100985c8
push 0
push dword [esp + 0x18]
mov ecx, esi
push edx
mov edx, 0x3d
call fcn.10043eb0
add esp, 0xc
jmp 0x100985fb
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x3d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x10098619
push edx
mov edx, esi
call fcn.10044790
add esp, 4
jmp 0x10098622
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
push str.RECURSIVE_STEP
push 1
push ebx
mov dword [edi + 0x34], 0
call fcn.10044540
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x50]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.1009f980
mov eax, dword [esp + 0x3c]
add esp, 4
mov dword [edi + 0x34], eax
mov ecx, dword [esi + 0x6c]
mov edi, dword [esp + 0x34]
cmp dword [esi + 0x70], ecx
jg 0x10098675
push 0
push edi
push 0
mov edx, 9
mov ecx, esi
call fcn.10043eb0
add esp, 0xc
jmp 0x100986a4
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100986c2
push edx
mov edx, esi
call fcn.10044790
add esp, 4
jmp 0x100986db
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x100986db
push str.recursive_aggregate_queries_not_supported
push ebx
call fcn.100224e0
add esp, 8
mov esi, dword [esp + 0xc]
mov edx, dword [esi + 0x30]
test edx, edx
je 0x100986ed
mov ecx, dword [ebx]
call fcn.1005e4f0
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x3c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret