Function at 0x5c9660
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov dword [ebp - 0x30], 1
mov edi, dword [esi]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x18], edi
call fcn.005c9630
mov ebx, eax
mov eax, dword [ebp + 0xc]
add esp, 4
test eax, eax
je 0x5caa96
mov al, byte [edi + 0x51]
test al, al
jne 0x5caa96
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x5caa96
push 0
push 0
push 0
push 0x15
push esi
call fcn.005a9210
add esp, 0x14
test eax, eax
jne 0x5caa96
mov ecx, 0xc
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
cmp byte [eax], 8
ja 0x5c96fe
mov ecx, dword [edi + 0x30]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call fcn.005a6f70
mov eax, dword [edi + 8]
add esp, 8
and al, 0xfe
mov dword [edi + 0x30], 0
mov dword [edi + 8], eax
push 0
push edi
push esi
call fcn.005afa90
mov eax, dword [esi + 0x24]
add esp, 0xc
test eax, eax
jne 0x5caa62
mov eax, dword [ebp - 0x18]
mov cl, byte [eax + 0x51]
test cl, cl
jne 0x5caa62
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 9
jne 0x5c9738
mov edx, dword [ebp + 0xc]
push edx
push esi
call fcn.005cc250
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.005dbd00
add esp, 8
test eax, eax
jne 0x5caa62
mov eax, dword [ebp + 0xc]
mov ecx, 0xa
lea edi, [ebp - 0xb8]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 8]
shr eax, 3
and eax, 1
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x30]
mov edi, dword [ecx + 0x34]
mov dword [ebp - 0xb8], eax
xor eax, eax
test edi, edi
mov dword [ebp - 0xc], eax
jne 0x5c98a6
jmp 0x5c9792
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp eax, dword [edx]
jge 0x5c98a6
lea ecx, [eax + eax*8]
mov eax, dword [edx + ecx*8 + 0x18]
mov dword [ebp - 8], eax
mov al, byte [edx + ecx*8 + 0x2c]
lea edi, [edx + ecx*8 + 8]
test al, 8
mov edx, dword [edi + 0x14]
mov dword [ebp + 8], edx
je 0x5c97f4
mov edx, dword [ebp + 0xc]
mov ecx, dword [edi + 0x2c]
push ecx
mov eax, dword [edx + 0x24]
push eax
call fcn.005cab60
add esp, 8
test eax, eax
je 0x5c97f4
mov ecx, dword [ebp - 0x18]
test byte [ecx + 0x4d], 0x20
jne 0x5c97f4
mov al, byte [edi + 0x24]
mov edx, dword [edi + 0x2c]
and al, 0xd7
push edx
mov byte [edi + 0x24], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.005cb0f0
add esp, 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x5c988e
mov edx, dword [ebp - 8]
movsx ecx, word [edx + 0x2a]
mov edx, dword [eax]
cmp ecx, dword [edx]
jne 0x5c98db
test byte [eax + 8], 8
jne 0x5c988e
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x5c983e
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x5c983e
mov ecx, dword [ebp + 0xc]
test dword [ecx + 8], 0x40000
je 0x5c983e
mov eax, dword [ebp - 4]
cmp dword [eax], 1
je 0x5c988e
test byte [eax + 0x74], 0xa
jne 0x5c988e
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp + 0xc]
push edx
push eax
push edi
push esi
call fcn.005cdb70
add esp, 0x10
test eax, eax
je 0x5c9869
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x5caa62
mov dword [ebp - 0xc], 0xffffffff
mov edx, dword [ebp - 0x18]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 4], ecx
mov al, byte [edx + 0x51]
test al, al
jne 0x5caa62
mov eax, dword [ebp + 0x10]
cmp byte [eax], 8
jbe 0x5c988e
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [edx + 0x34]
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x5c978f
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x5c9901
mov ecx, dword [ebp + 0x10]
mov edi, eax
push ecx
push edi
push esi
call fcn.005cc5f0
mov ebx, eax
mov eax, dword [edi + 0x38]
add esp, 0xc
test eax, eax
jne 0x5c98d2
push esi
call fcn.005caab0
add esp, 4
pop edi
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [eax]
push edx
push ecx
movsx edx, word [eax + 0x2a]
push edx
push str.expected__d_columns_for__s_but_got__d
push esi
call fcn.0059f920
add esp, 0x14
jmp 0x5caa62
cmp dword [edx], 1
jle 0x5c991f
mov eax, dword [ebp - 0x18]
test byte [eax + 0x4d], 0x80
jne 0x5c991f
mov ecx, dword [ebp + 0xc]
push ecx
push esi
call fcn.005ce360
mov edx, dword [ebp - 4]
add esp, 8
mov eax, dword [edx]
xor ecx, ecx
test eax, eax
mov dword [ebp - 0xc], ecx
jle 0x5c9c0a
lea eax, [ecx + ecx*8]
lea edi, [edx + eax*8 + 8]
mov eax, dword [edx + eax*8 + 0x40]
or eax, dword [edi + 0x3c]
jne 0x5c9960
mov eax, dword [edi + 8]
test eax, eax
je 0x5c9960
mov ecx, dword [edi + 4]
push ecx
push 0x751b54
push eax
push 0x14
push esi
call fcn.005a9210
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add esp, 0x14
mov eax, dword [edi + 0x14]
test eax, eax
mov dword [ebp + 8], eax
je 0x5c9bfc
mov edx, dword [ebp + 0xc]
push edx
call fcn.005cab00
mov edx, dword [esi + 0xd0]
add esp, 4
add edx, eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xd0], edx
test byte [eax + 0x4d], 0x10
jne 0x5c99b3
mov cl, byte [edi + 0x24]
mov eax, dword [ebp + 0xc]
mov edx, dword [edi + 0x2c]
shr ecx, 5
and ecx, 1
push ecx
mov ecx, dword [eax + 0x24]
push edx
mov edx, dword [ebp + 8]
push ecx
push edx
push esi
call fcn.005ce600
add esp, 0x14
mov eax, dword [esi + 0xf0]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
test eax, eax
mov dword [esi + 0xf0], ecx
jne 0x5c9a95
mov eax, dword [ebp - 4]
cmp dword [eax], 1
je 0x5c99e2
test byte [eax + 0x74], 0xa
je 0x5c9a95
push ebx
call fcn.005b83a0
mov ecx, dword [esi + 0x2c]
inc eax
inc ecx
push eax
push 0
push ecx
push 0xd
mov dword [esi + 0x2c], ecx
push ebx
mov dword [ebp - 8], eax
mov dword [edi + 0x1c], ecx
call fcn.0059fa20
mov edx, dword [edi + 0x10]
mov eax, dword [edx]
push eax
push 0x753468
push ebx
call fcn.005b8b50
mov edx, dword [edi + 0x1c]
mov ecx, dword [ebp - 8]
push edx
lea eax, [ebp - 0xd0]
push 0xd
push eax
mov dword [edi + 0x18], ecx
call fcn.005c9360
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
push str.CO_ROUTINE__u
push 1
push esi
call fcn.005bab90
mov ecx, dword [ebp + 8]
add esp, 0x40
lea eax, [ebp - 0xd0]
push eax
push ecx
push esi
call fcn.005c9660
mov eax, dword [ebp + 8]
mov edx, dword [edi + 0x10]
mov cx, word [eax + 6]
mov word [edx + 0x2c], cx
mov eax, dword [edi + 0x28]
mov edx, dword [ebp - 0xc8]
or al, 0x10
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x1c]
push eax
push ebx
mov dword [edi + 0x20], edx
call fcn.005be480
mov ecx, dword [ebp - 8]
dec ecx
push ecx
push ebx
call fcn.005b91c0
push esi
call fcn.005bcde0
add esp, 0x20
jmp 0x5c9bc5
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x2c], 0
inc eax
push eax
push 0
push 0x46
mov dword [esi + 0x2c], eax
push ebx
mov dword [edi + 0x1c], eax
call fcn.0059fa00
add esp, 0x10
mov dword [ebp - 0x28], eax
inc eax
mov dword [edi + 0x18], eax
mov al, byte [edi + 0x28]
test al, 8
jne 0x5c9ae3
push 0x11
push ebx
call fcn.005b8920
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx]
push eax
push str.materialize___s_
push ebx
call fcn.005b8b50
add esp, 0x14
jmp 0x5c9af7
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
push edx
push str.materialize___s_
push ebx
call fcn.005bb150
add esp, 0xc
mov eax, dword [ebp - 4]
push edi
push eax
call fcn.005cee20
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x5c9b33
mov ecx, eax
mov eax, dword [edi + 0x2c]
mov edx, dword [ecx + 0x2c]
push edx
push eax
push 0x6d
push ebx
call fcn.0059fa00
mov ecx, dword [ebp - 8]
add esp, 0x10
mov edx, dword [ecx + 0x14]
mov ecx, dword [ebp + 8]
mov ax, word [edx + 6]
mov word [ecx + 6], ax
jmp 0x5c9b6d
mov edx, dword [edi + 0x2c]
lea eax, [ebp - 0xd0]
push edx
push 0xc
push eax
call fcn.005c9360
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
push str.MATERIALIZE__u
push 1
push esi
call fcn.005bab90
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xd0]
push eax
push ecx
push esi
call fcn.005c9660
add esp, 0x28
mov eax, dword [ebp + 8]
mov edx, dword [edi + 0x10]
mov cx, word [eax + 6]
mov eax, dword [ebp - 0x2c]
test eax, eax
mov word [edx + 0x2c], cx
je 0x5c9b8e
mov edx, eax
push edx
push ebx
call fcn.005b91c0
add esp, 8
mov eax, dword [edi + 0x1c]
push eax
push 0x42
push ebx
call fcn.005b90d0
mov ecx, dword [edi + 0x10]
mov dword [ebp + 8], eax
mov edx, dword [ecx]
push edx
push str.end__s
push ebx
call fcn.005b8b50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
push eax
push ecx
push ebx
call fcn.005babf0
push esi
call fcn.005bcde0
add esp, 0x28
mov edx, dword [ebp - 0x18]
mov al, byte [edx + 0x51]
test al, al
jne 0x5caa62
mov eax, dword [ebp + 0xc]
push eax
call fcn.005cab00
mov ecx, dword [esi + 0xd0]
mov edx, dword [ebp - 4]
add esp, 4
sub ecx, eax
mov dword [esi + 0xd0], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [esi + 0xf0], ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx]
inc ecx
cmp ecx, eax
mov dword [ebp - 0xc], ecx
jl 0x5c992e
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x10], edx
mov dl, byte [eax + 8]
mov eax, dword [eax + 8]
and dl, 1
and eax, 9
mov dword [ebp - 0x2c], ecx
cmp al, 1
mov byte [ebp - 0x58], dl
jne 0x5c9c75
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0xb8]
push 0xffffffffffffffff
push ecx
push edx
call fcn.005a7a40
mov edi, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
jne 0x5c9c78
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x18]
and al, 0xfe
push 0
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x38]
push eax
push ecx
call fcn.005a6970
add esp, 0xc
mov dword [edi + 0x28], eax
mov dword [ebp - 0x10], eax
jmp 0x5c9c78
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x5c9cd1
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xb8]
mov eax, dword [edx]
push eax
push 0
push ecx
push esi
call fcn.005cbd90
mov ecx, dword [esi + 0x28]
push 0xfffffffffffffff7
push eax
mov eax, dword [ebp - 0xb8]
lea edx, [ecx + 1]
mov dword [ebp - 0xb0], ecx
mov dword [esi + 0x28], edx
mov edx, dword [eax]
mov eax, dword [ebp - 0x38]
push 0
mov eax, dword [eax]
lea edx, [edx + eax + 1]
push edx
push ecx
push 0x70
push ebx
call fcn.005b7f70
add esp, 0x2c
mov dword [ebp - 0xa4], eax
jmp 0x5c9cdb
mov dword [ebp - 0xa4], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0xc
jne 0x5c9cf8
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov edx, dword [ecx]
push edx
push eax
push 0x70
push ebx
call fcn.0059fa00
add esp, 0x10
push esi
call fcn.005b9110
mov ecx, dword [edi + 8]
add esp, 4
test ch, 0x40
mov dword [ebp - 0xe0], eax
jne 0x5c9d15
mov word [edi + 6], 0x140
push eax
push edi
push esi
call fcn.005cc490
mov eax, dword [edi + 0xc]
add esp, 0xc
test eax, eax
jne 0x5c9d4b
mov eax, dword [ebp - 0xa4]
test eax, eax
jl 0x5c9d4b
push 0x72
push eax
push ebx
call fcn.005bec00
mov al, byte [ebp - 0x98]
add esp, 0xc
or al, 1
mov byte [ebp - 0x98], al
test byte [edi + 8], 1
je 0x5c9d92
mov eax, dword [esi + 0x28]
push 0xfffffffffffffff7
mov dword [ebp - 0x54], eax
inc eax
mov dword [esi + 0x28], eax
mov ecx, dword [edi]
push 0
push 0
push ecx
push esi
call fcn.005cbd90
mov edx, dword [ebp - 0x54]
add esp, 0x10
push eax
push 0
push 0
push edx
push 0x70
push ebx
call fcn.005b7f70
push 8
push ebx
mov dword [ebp - 0x50], eax
call fcn.0059fc60
add esp, 0x24
mov byte [ebp - 0x57], 3
jmp 0x5c9d96
mov byte [ebp - 0x57], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
xor edx, edx
cmp eax, edx
jne 0x5c9fa5
cmp ecx, edx
jne 0x5c9fa5
mov al, byte [ebp - 0x58]
mov cx, word [edi + 8]
neg al
sbb eax, eax
and ecx, 0x4000
and eax, 0x100
or eax, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x44]
cmp eax, edx
mov dword [ebp + 8], eax
je 0x5c9ddf
mov edx, eax
push edx
push esi
call fcn.005dc4d0
add esp, 8
movsx eax, word [edi + 6]
mov ecx, dword [ebp - 0x28]
mov edx, dword [edi]
push eax
mov eax, dword [ebp - 0xb8]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
mov edx, dword [ebp - 4]
push eax
push ecx
push edx
push esi
call fcn.005d2290
mov edi, eax
add esp, 0x1c
test edi, edi
mov dword [ebp - 4], edi
je 0x5caa62
push edi
call fcn.005d21e0
mov ecx, dword [ebp + 0xc]
add esp, 4
cmp ax, word [ecx + 6]
jge 0x5c9e32
push edi
call fcn.005d21e0
mov edx, dword [ebp + 0xc]
add esp, 4
mov word [edx + 6], ax
mov al, byte [ebp - 0x58]
test al, al
je 0x5c9e52
push edi
call fcn.005d21f0
add esp, 4
test eax, eax
je 0x5c9e52
push edi
call fcn.005d21f0
add esp, 4
mov byte [ebp - 0x57], al
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x5c9e8f
push edi
call fcn.005d2200
push edi
mov dword [ebp - 0xb4], eax
call fcn.005d2210
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xb8]
add esp, 8
cmp ecx, dword [eax]
jne 0x5c9e8f
xor eax, eax
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
jl 0x5c9ea7
test eax, eax
jne 0x5c9ea7
push ecx
push ebx
call fcn.005bbc80
add esp, 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x5c9f68
push esi
call fcn.005b9110
push esi
mov dword [ebp + 8], eax
call fcn.005b9110
push esi
mov dword [ebp - 8], eax
call fcn.005b9110
mov edx, dword [esi + 0x2c]
mov ecx, dword [ebp + 0xc]
inc edx
mov edi, eax
mov dword [esi + 0x2c], edx
mov eax, edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x48], eax
push edx
push eax
mov eax, dword [ebp - 4]
push eax
push ecx
push esi
call fcn.005dc6a0
push edi
push 0
push 0xb
push ebx
call fcn.0059fa00
mov edx, dword [ebp + 8]
push edx
push ebx
call fcn.005b9130
push str.inner_loop_subroutine
push ebx
call fcn.005bb150
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
add esp, 0x40
lea edx, [ebp - 0x58]
mov dword [ebp - 0x9c], 0
push edi
push eax
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xb8]
push edx
push eax
push 0xffffffffffffffff
push ecx
push esi
call fcn.005cb170
mov edx, dword [ebp - 8]
push edx
push ebx
call fcn.005b9130
mov eax, dword [ebp - 0x48]
push eax
push 0x42
push ebx
call fcn.005b90d0
push str.end_inner_loop_subroutine
push ebx
call fcn.005b8b50
push edi
push ebx
call fcn.005b9130
add esp, 0x44
jmp 0x5ca9ee
push edi
call fcn.005d2250
add esp, 4
push eax
push edi
call fcn.005d2240
mov ecx, dword [ebp + 0x10]
add esp, 4
lea edx, [ebp - 0x58]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xb8]
push edx
push eax
push 0xffffffffffffffff
push ecx
push esi
call fcn.005cb170
push edi
call fcn.005db820
add esp, 0x24
jmp 0x5ca9ee
cmp ecx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], edx
je 0x5ca048
mov eax, dword [edi]
mov edx, dword [eax]
test edx, edx
jle 0x5c9fcc
add eax, 0x1a
mov word [eax], 0
add eax, 0x18
dec edx
jne 0x5c9fc1
mov edx, dword [ecx]
test edx, edx
jle 0x5c9fe0
lea eax, [ecx + 0x1a]
mov word [eax], 0
add eax, 0x18
dec edx
jne 0x5c9fd5
mov eax, 0x42
cmp word [edi + 6], ax
jle 0x5c9fef
mov word [edi + 6], ax
mov edx, dword [ebp - 0xb8]
test edx, edx
je 0x5ca04c
mov eax, dword [ecx]
mov ecx, dword [edx]
cmp eax, ecx
jne 0x5ca04c
xor ecx, ecx
test eax, eax
jle 0x5ca02c
mov edi, dword [ebp - 0x10]
xor eax, eax
add edi, 0x10
mov dl, byte [eax + edx + 0x10]
add eax, 0x18
and dl, 1
inc ecx
mov byte [edi], dl
mov edx, dword [ebp - 0x10]
add edi, 0x18
cmp ecx, dword [edx]
mov edx, dword [ebp - 0xb8]
jl 0x5ca00f
mov eax, dword [ebp - 0x10]
push 0xffffffffffffffff
push edx
push eax
call fcn.005a7a40
add esp, 0xc
test eax, eax
jne 0x5ca04c
mov dword [ebp - 0x34], 1
jmp 0x5ca04c
mov word [edi + 6], dx
push esi
call fcn.005b9110
mov dword [ebp - 0x44], eax
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0xd8]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 4]
add esp, 4
inc eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x90]
mov dword [ebp - 0xd8], esi
test eax, eax
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xd0], edx
je 0x5ca09c
mov edi, eax
mov ecx, dword [edi]
mov dword [ebp - 0x84], ecx
jmp 0x5ca0a9
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x84], 0
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0xd8]
push edx
push eax
mov dword [ebp - 0x78], edi
call fcn.005cb0b0
mov ecx, dword [ebp - 0xb8]
lea edx, [ebp - 0xd8]
push ecx
push edx
call fcn.005cb0b0
mov eax, dword [ebp - 0x2c]
add esp, 0x10
test eax, eax
je 0x5ca105
test edi, edi
mov edi, dword [ebp + 0xc]
je 0x5ca0f0
push edi
push esi
call fcn.005cec60
mov eax, dword [edi + 0x24]
add esp, 8
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0xd8]
push ecx
push edx
call fcn.005cad60
add esp, 8
jmp 0x5ca108
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x5ca13d
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x5ca13d
cmp dword [ebp - 0x64], 1
jne 0x5ca13d
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
push ecx
call fcn.005ce780
add esp, 0xc
mov byte [ebp + 0xb], al
jmp 0x5ca141
mov byte [ebp + 0xb], 0
mov ecx, dword [ebp - 0x64]
xor eax, eax
cmp ecx, eax
mov dword [ebp - 0xc], eax
jle 0x5ca1bf
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x14]
mov edi, dword [edx + eax]
mov eax, dword [ebp - 0xc0]
or al, 8
lea edx, [ebp - 0xd8]
mov dword [ebp - 0xc0], eax
mov ecx, dword [edi + 0x14]
push ecx
push edx
call fcn.005cb0b0
mov eax, dword [edi + 4]
add esp, 8
test eax, 0x1000000
je 0x5ca19a
mov eax, dword [edi + 0x2c]
lea edx, [ebp - 0xd8]
mov ecx, dword [eax + 0x28]
push ecx
push edx
call fcn.005cad60
add esp, 8
mov eax, dword [ebp - 0xc0]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x64]
and al, 0xf7
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc]
inc eax
add edx, 0x10
cmp eax, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], edx
jl 0x5ca150
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x7c], eax
mov al, byte [ecx + 0x51]
test al, al
jne 0x5caa62
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x5ca78c
mov edx, dword [ebp - 0x70]
mov eax, dword [esi + 0x28]
push edx
mov dword [ebp - 0x8c], eax
push 0
inc eax
push edi
push esi
mov dword [esi + 0x28], eax
call fcn.005cbd90
mov ecx, dword [ebp - 0x8c]
push 0xfffffffffffffff7
mov dword [ebp - 0xdc], eax
push eax
mov eax, dword [ebp - 0x84]
push 0
push eax
push ecx
push 0x72
push ebx
call fcn.005b7f70
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x2c]
inc eax
push esi
mov dword [ebp - 0x14], eax
inc eax
mov dword [ebp - 0x4c], eax
inc eax
mov dword [esi + 0x2c], eax
call fcn.005b9110
mov ecx, dword [esi + 0x2c]
push esi
inc ecx
mov dword [ebp - 0x40], eax
mov edx, ecx
mov dword [esi + 0x2c], ecx
mov dword [ebp - 0x48], edx
call fcn.005b9110
mov edx, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x2c]
lea ecx, [eax + 1]
add eax, edx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x24], ecx
lea ecx, [eax + 1]
mov dword [esi + 0x2c], eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [edi]
push edx
push 0
add eax, ecx
push 0x46
push ebx
mov dword [esi + 0x2c], eax
call fcn.0059fa00
add esp, 0x44
push str.clear_abort_flag
push ebx
call fcn.005b8b50
mov ecx, dword [edi]
mov eax, dword [ebp - 0x24]
lea edx, [ecx + eax - 1]
push edx
push eax
push 0
push 0x49
push ebx
call fcn.0059fa20
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x48]
push eax
push ecx
push 0xc
push ebx
call fcn.0059fa00
mov edx, dword [ebp - 0x34]
push 0
neg edx
sbb edx, edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
and edx, 0x200
or edx, 0x40
push edx
push 0
push edi
push eax
push ecx
push esi
call fcn.005d2290
add esp, 0x48
mov dword [ebp - 4], eax
test eax, eax
je 0x5caa62
mov edx, eax
push edx
call fcn.005d2200
mov ecx, dword [edi]
add esp, 4
cmp eax, ecx
jne 0x5ca2f9
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x30], 0
jmp 0x5ca471
mov al, byte [ebp - 0x58]
test al, al
je 0x5ca310
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 8]
mov eax, str.DISTINCT
test cl, 1
je 0x5ca315
mov eax, str.GROUP_BY
push eax
push esi
call fcn.005cbe50
mov edi, dword [edi]
mov eax, dword [ebp - 0x70]
add esp, 8
mov ecx, edi
test eax, eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp + 8], edi
jle 0x5ca35e
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x20], eax
add edx, 0xc
mov eax, dword [edx]
cmp eax, dword [ebp + 8]
jl 0x5ca34f
mov eax, dword [ebp + 8]
inc ecx
inc eax
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x20]
add edx, 0x18
dec eax
mov dword [ebp - 0x20], eax
jne 0x5ca340
mov dword [ebp - 0x1c], ecx
push ecx
push esi
call fcn.005bcd60
mov ecx, dword [ebp - 0x10]
push 0
push 0
push eax
push ecx
push esi
mov dword [ebp - 0x20], eax
call fcn.005bc3a0
mov eax, dword [ebp - 0x70]
add esp, 0x1c
test eax, eax
mov dword [ebp + 8], edi
mov dword [ebp - 0xc], 0
jle 0x5ca3d3
mov eax, dword [ebp - 0x74]
xor edi, edi
mov edx, dword [ebp + 8]
mov ecx, dword [eax + edi + 0xc]
cmp ecx, edx
jl 0x5ca3c2
mov ecx, dword [ebp - 0x20]
add ecx, edx
mov edx, dword [eax + edi + 4]
push ecx
mov ecx, dword [eax + edi + 8]
mov eax, dword [eax + edi]
push ecx
push edx
push eax
push ebx
call fcn.005bc080
mov eax, dword [ebp + 8]
add esp, 0x14
inc eax
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x70]
inc ecx
add edi, 0x18
cmp ecx, edx
mov dword [ebp - 0xc], ecx
jl 0x5ca390
push esi
call fcn.005b83b0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov edi, eax
push edi
push ecx
push edx
push 0x5c
push ebx
call fcn.0059fa20
mov eax, dword [ebp - 0x8c]
push edi
push eax
push 0x83
push ebx
call fcn.0059fa00
push edi
push esi
call fcn.005b83e0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push ecx
push edx
push esi
call fcn.005bcdb0
mov eax, dword [ebp - 4]
push eax
call fcn.005db820
mov edi, dword [esi + 0x28]
add esp, 0x40
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x88], edi
lea ecx, [edi + 1]
push esi
mov dword [esi + 0x28], ecx
call fcn.005b83b0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
push edx
push eax
push edi
push 0x74
push ebx
call fcn.0059fa20
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x8c]
push eax
push ecx
push 0x22
push ebx
call fcn.0059fa00
push str.GROUP_BY_sort
push ebx
call fcn.005b8b50
add esp, 0x30
mov byte [ebp - 0x8f], 1
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x5ca4b2
mov edx, dword [ebp - 0x18]
test byte [edx + 0x4c], 4
jne 0x5ca4b2
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x5ca498
mov eax, dword [ebp - 4]
push eax
call fcn.005d2280
add esp, 4
test eax, eax
je 0x5ca4b2
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], 0
push ecx
push ebx
call fcn.005bbc80
add esp, 8
push ebx
call fcn.005b83a0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
add esp, 4
test eax, eax
je 0x5ca4dc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x8c]
push edi
push edx
push eax
push 0x7e
push ebx
call fcn.0059fa20
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], 0
cmp dword [eax], 0
jle 0x5ca549
mov edi, dword [ebp - 0x28]
add eax, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x5ca514
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
lea ecx, [eax + edi]
push ecx
push eax
push edx
push 0x5a
push ebx
call fcn.0059fa20
add esp, 0x14
jmp 0x5ca530
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0x90], 1
add eax, edi
mov edx, dword [ecx]
push eax
push edx
push esi
call fcn.005b9500
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
add ecx, 0x18
inc eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 8], eax
cmp eax, dword [ecx]
jl 0x5ca4f4
jmp 0x5ca54c
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0xdc]
push 0xfffffffffffffff7
push edx
call fcn.005c9620
add esp, 4
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
push edi
push edx
push 0x57
push ebx
call fcn.005b7f70
push ebx
call fcn.005b83a0
mov dword [ebp + 8], eax
inc eax
push eax
push 0
push eax
push 0x10
push ebx
call fcn.0059fa20
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
push ecx
push edx
push edi
push esi
call fcn.005cab30
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x40]
add esp, 0x44
lea edi, [ecx + 1]
push eax
push edi
push 0xc
push ebx
call fcn.0059fa00
push str.output_one_row
push ebx
call fcn.005b8b50
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
push edx
push eax
push 0x2f
push ebx
call fcn.0059fa00
push str.check_abort_flag
push ebx
call fcn.005b8b50
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x48]
push ecx
push edx
push 0xc
push ebx
call fcn.0059fa00
add esp, 0x40
push str.reset_accumulator
push ebx
call fcn.005b8b50
mov eax, dword [ebp + 8]
push eax
push ebx
call fcn.005b91c0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x90]
push ecx
push edx
push esi
call fcn.005ce990
mov eax, dword [ebp - 0x14]
push eax
push 1
push 0x46
push ebx
call fcn.0059fa00
push str.indicate_data_in_accumulator
push ebx
call fcn.005b8b50
mov eax, dword [ebp - 0x30]
add esp, 0x34
test eax, eax
je 0x5ca648
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x8c]
push ecx
push edx
push 3
push ebx
call fcn.0059fa00
add esp, 0x10
jmp 0x5ca65e
mov eax, dword [ebp - 4]
push eax
call fcn.005db820
mov ecx, dword [ebp - 0x60]
push ecx
push ebx
call fcn.005bbc80
add esp, 0xc
mov edx, dword [ebp - 0x40]
push edx
push edi
push 0xc
push ebx
call fcn.0059fa00
push str.output_final_row
push ebx
call fcn.005b8b50
mov eax, dword [ebp - 0x44]
push eax
push ebx
call fcn.005b90f0
push ebx
call fcn.005b83a0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp + 8], eax
push ecx
push 1
push 0x46
push ebx
call fcn.0059fa00
push str.set_abort_flag
push ebx
call fcn.005b8b50
push edi
push 0x42
push ebx
call fcn.005b90d0
mov edx, dword [ebp - 0x40]
add esp, 0x48
push edx
push ebx
call fcn.005b9130
push ebx
call fcn.005b83a0
mov dword [ebp - 0x40], eax
add eax, 2
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0x2f
push ebx
call fcn.0059fa00
push str.Groupby_result_generator_entry_point
push ebx
call fcn.005b8b50
push edi
push 0x42
push ebx
call fcn.005b90d0
lea ecx, [ebp - 0x90]
push ecx
push esi
call fcn.005ce930
mov edx, dword [ebp - 0x40]
push 0x10
lea eax, [edx + 1]
mov dword [ebp - 0x60], eax
push eax
mov eax, dword [ebp - 0x2c]
push eax
push esi
call fcn.005bc5f0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp + 0x10]
add esp, 0x48
push ecx
push edx
lea ecx, [ebp - 0x58]
push eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0xb8]
push ecx
push edx
push 0xffffffffffffffff
push eax
push esi
call fcn.005cb170
push edi
push 0x42
push ebx
call fcn.005b90d0
push str.end_groupby_result_generator
push ebx
call fcn.005b8b50
mov ecx, dword [ebp - 8]
push ecx
push ebx
call fcn.005b9130
lea edx, [ebp - 0x90]
push edx
push esi
call fcn.005ce880
mov eax, dword [ebp - 0x14]
add esp, 0x44
push eax
push 0
push 0x46
push ebx
call fcn.0059fa00
push str.indicate_accumulator_empty
push ebx
call fcn.005b8b50
mov ecx, dword [ebp - 0x48]
push ecx
push 0x42
push ebx
call fcn.005b90d0
mov edi, dword [ebp - 0x44]
add esp, 0x24
jmp 0x5ca9e4
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x90]
push edx
push eax
call fcn.005ce810
mov edi, eax
add esp, 8
test edi, edi
je 0x5ca8b0
mov ecx, dword [edi + 0x48]
mov edx, dword [esi]
push ecx
push edx
call fcn.005ae220
mov ecx, dword [esi + 0x28]
push eax
mov dword [ebp - 0x24], ecx
inc ecx
mov dword [esi + 0x28], ecx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp + 8], ecx
mov ecx, dword [edi + 0x1c]
push esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], ecx
call fcn.005c10b0
mov edx, dword [edi]
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp - 0x28]
push edx
push 0
push eax
push ecx
push esi
call fcn.005bce50
mov al, byte [edi + 0x24]
add esp, 0x24
test al, 0x20
je 0x5ca800
push edi
call fcn.005a9da0
add esp, 4
mov dword [ebp + 8], eax
mov eax, dword [edi + 8]
mov edx, dword [ebp + 8]
test eax, eax
je 0x5ca836
test byte [eax + 0x38], 4
jne 0x5ca82c
mov cx, word [eax + 0x30]
cmp cx, word [edi + 0x2e]
jge 0x5ca82c
cmp dword [eax + 0x24], 0
jne 0x5ca82c
test edx, edx
je 0x5ca82a
cmp cx, word [edx + 0x30]
jge 0x5ca82c
mov edx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5ca80a
mov dword [ebp + 8], edx
test edx, edx
je 0x5ca850
mov eax, dword [ebp + 8]
push eax
push esi
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x3c], edx
call fcn.005c1590
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x24]
push 1
push eax
push ecx
push edx
push 0x61
push ebx
call fcn.0059fb80
mov eax, dword [ebp - 8]
add esp, 0x18
test eax, eax
je 0x5ca87e
push 0xfffffffffffffff7
push eax
push 0xffffffffffffffff
push ebx
call fcn.0059fc80
add esp, 0x10
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x24]
mov edx, dword [ecx + 8]
push edx
push eax
push 0x5d
push ebx
call fcn.0059fa00
mov ecx, dword [ebp - 0x24]
push ecx
push 0x75
push ebx
call fcn.005b90d0
mov edx, dword [ebp + 8]
push edx
push edi
push esi
call fcn.005cec00
add esp, 0x28
jmp 0x5ca9b1
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0x14], ecx
je 0x5ca8fd
mov edi, dword [ebp - 0x64]
cmp ecx, edi
jge 0x5ca8e1
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
test byte [edx + 7], 1
jne 0x5ca8d7
mov edx, dword [eax + 4]
test byte [edx + 4], 0x20
jne 0x5ca8df
inc ecx
add eax, 0x10
cmp ecx, edi
jl 0x5ca8c6
cmp ecx, edi
jne 0x5ca8fd
mov edx, dword [esi + 0x2c]
inc edx
mov eax, edx
mov dword [esi + 0x2c], edx
push eax
push 0
push 0x46
push ebx
mov dword [ebp - 0x14], eax
call fcn.0059fa00
add esp, 0x10
lea eax, [ebp - 0x90]
push eax
push esi
call fcn.005ce880
movzx cx, byte [ebp + 0xb]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x1c]
push 0
push ecx
mov ecx, dword [ebp - 4]
push 0
push edx
push eax
push ecx
push esi
call fcn.005d2290
mov edi, eax
add esp, 0x24
test edi, edi
je 0x5caa62
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x90]
push edx
push eax
push esi
call fcn.005ce990
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
je 0x5ca95e
mov ecx, eax
push ecx
push 1
push 0x46
push ebx
call fcn.0059fa00
add esp, 0x10
push edi
call fcn.005d2200
add esp, 4
test eax, eax
jle 0x5ca99b
push edi
call fcn.005d2250
push eax
push ebx
call fcn.005b90f0
mov al, byte [ebp + 0xb]
add esp, 0xc
cmp al, 1
mov eax, 0x751a50
je 0x5ca98c
mov eax, 0x751a4c
push eax
push str._s___by_index
push ebx
call fcn.005b8b50
add esp, 0xc
push edi
call fcn.005db820
lea edx, [ebp - 0x90]
push edx
push esi
call fcn.005ce930
add esp, 0xc
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x2c]
push 0x10
push edi
push eax
push esi
mov dword [ebp - 0xb8], 0
call fcn.005bc5f0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push edi
push edi
push ecx
push 0
push 0
push 0xffffffffffffffff
push edx
push esi
call fcn.005cb170
add esp, 0x30
push edi
push ebx
call fcn.005b9130
add esp, 8
cmp byte [ebp - 0x57], 3
jne 0x5caa02
push str.DISTINCT
push esi
call fcn.005cbe50
add esp, 8
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x5caa45
mov eax, dword [ebp - 0xb4]
test eax, eax
mov eax, str.RIGHT_PART_OF_ORDER_BY
jg 0x5caa20
mov eax, str.ORDER_BY
push eax
push esi
call fcn.005cbe50
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0xb8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
push esi
call fcn.005cbe70
add esp, 0x1c
mov edx, dword [ebp - 0xe0]
push edx
push ebx
call fcn.005b9130
mov ecx, dword [esi + 0x24]
add esp, 8
xor eax, eax
test ecx, ecx
setg al
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x18]
push ecx
push edi
call fcn.005a6f70
mov edx, dword [ebp - 0x74]
push edx
push edi
call fcn.00578d80
mov eax, dword [ebp - 0x68]
push eax
push edi
call fcn.00578d80
push esi
call fcn.005caab0
mov eax, dword [ebp - 0x30]
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret