Function at 0x5c9a40
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.005c9a10
mov ebx, eax
mov eax, dword [ebp + 0xc]
add esp, 4
test eax, eax
je 0x5cae76
mov al, byte [edi + 0x51]
test al, al
jne 0x5cae76
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x5cae76
push 0
push 0
push 0
push 0x15
push esi
call fcn.005a95f0
add esp, 0x14
test eax, eax
jne 0x5cae76
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 0x5c9ade
mov ecx, dword [edi + 0x30]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call fcn.005a7350
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.005afe70
mov eax, dword [esi + 0x24]
add esp, 0xc
test eax, eax
jne 0x5cae42
mov eax, dword [ebp - 0x18]
mov cl, byte [eax + 0x51]
test cl, cl
jne 0x5cae42
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 9
jne 0x5c9b18
mov edx, dword [ebp + 0xc]
push edx
push esi
call fcn.005cc630
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.005dc0e0
add esp, 8
test eax, eax
jne 0x5cae42
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 0x5c9c86
jmp 0x5c9b72
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp eax, dword [edx]
jge 0x5c9c86
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 0x5c9bd4
mov edx, dword [ebp + 0xc]
mov ecx, dword [edi + 0x2c]
push ecx
mov eax, dword [edx + 0x24]
push eax
call fcn.005caf40
add esp, 8
test eax, eax
je 0x5c9bd4
mov ecx, dword [ebp - 0x18]
test byte [ecx + 0x4d], 0x20
jne 0x5c9bd4
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.005cb4d0
add esp, 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x5c9c6e
mov edx, dword [ebp - 8]
movsx ecx, word [edx + 0x2a]
mov edx, dword [eax]
cmp ecx, dword [edx]
jne 0x5c9cbb
test byte [eax + 8], 8
jne 0x5c9c6e
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x5c9c1e
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x5c9c1e
mov ecx, dword [ebp + 0xc]
test dword [ecx + 8], 0x40000
je 0x5c9c1e
mov eax, dword [ebp - 4]
cmp dword [eax], 1
je 0x5c9c6e
test byte [eax + 0x74], 0xa
jne 0x5c9c6e
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.005cdf50
add esp, 0x10
test eax, eax
je 0x5c9c49
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x5cae42
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 0x5cae42
mov eax, dword [ebp + 0x10]
cmp byte [eax], 8
jbe 0x5c9c6e
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 0x5c9b6f
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x5c9ce1
mov ecx, dword [ebp + 0x10]
mov edi, eax
push ecx
push edi
push esi
call fcn.005cc9d0
mov ebx, eax
mov eax, dword [edi + 0x38]
add esp, 0xc
test eax, eax
jne 0x5c9cb2
push esi
call fcn.005cae90
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.0059fd00
add esp, 0x14
jmp 0x5cae42
cmp dword [edx], 1
jle 0x5c9cff
mov eax, dword [ebp - 0x18]
test byte [eax + 0x4d], 0x80
jne 0x5c9cff
mov ecx, dword [ebp + 0xc]
push ecx
push esi
call fcn.005ce740
mov edx, dword [ebp - 4]
add esp, 8
mov eax, dword [edx]
xor ecx, ecx
test eax, eax
mov dword [ebp - 0xc], ecx
jle 0x5c9fea
lea eax, [ecx + ecx*8]
lea edi, [edx + eax*8 + 8]
mov eax, dword [edx + eax*8 + 0x40]
or eax, dword [edi + 0x3c]
jne 0x5c9d40
mov eax, dword [edi + 8]
test eax, eax
je 0x5c9d40
mov ecx, dword [edi + 4]
push ecx
push 0x75151c
push eax
push 0x14
push esi
call fcn.005a95f0
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 0x5c9fdc
mov edx, dword [ebp + 0xc]
push edx
call fcn.005caee0
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 0x5c9d93
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.005ce9e0
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 0x5c9e75
mov eax, dword [ebp - 4]
cmp dword [eax], 1
je 0x5c9dc2
test byte [eax + 0x74], 0xa
je 0x5c9e75
push ebx
call fcn.005b8780
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.0059fe00
mov edx, dword [edi + 0x10]
mov eax, dword [edx]
push eax
push 0x752e30
push ebx
call fcn.005b8f30
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.005c9740
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
push str.CO_ROUTINE__u
push 1
push esi
call fcn.005baf70
mov ecx, dword [ebp + 8]
add esp, 0x40
lea eax, [ebp - 0xd0]
push eax
push ecx
push esi
call fcn.005c9a40
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.005be860
mov ecx, dword [ebp - 8]
dec ecx
push ecx
push ebx
call fcn.005b95a0
push esi
call fcn.005bd1c0
add esp, 0x20
jmp 0x5c9fa5
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.0059fde0
add esp, 0x10
mov dword [ebp - 0x28], eax
inc eax
mov dword [edi + 0x18], eax
mov al, byte [edi + 0x28]
test al, 8
jne 0x5c9ec3
push 0x11
push ebx
call fcn.005b8d00
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx]
push eax
push str.materialize___s_
push ebx
call fcn.005b8f30
add esp, 0x14
jmp 0x5c9ed7
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
push edx
push str.materialize___s_
push ebx
call fcn.005bb530
add esp, 0xc
mov eax, dword [ebp - 4]
push edi
push eax
call fcn.005cf200
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x5c9f13
mov ecx, eax
mov eax, dword [edi + 0x2c]
mov edx, dword [ecx + 0x2c]
push edx
push eax
push 0x6d
push ebx
call fcn.0059fde0
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 0x5c9f4d
mov edx, dword [edi + 0x2c]
lea eax, [ebp - 0xd0]
push edx
push 0xc
push eax
call fcn.005c9740
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
push str.MATERIALIZE__u
push 1
push esi
call fcn.005baf70
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xd0]
push eax
push ecx
push esi
call fcn.005c9a40
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 0x5c9f6e
mov edx, eax
push edx
push ebx
call fcn.005b95a0
add esp, 8
mov eax, dword [edi + 0x1c]
push eax
push 0x42
push ebx
call fcn.005b94b0
mov ecx, dword [edi + 0x10]
mov dword [ebp + 8], eax
mov edx, dword [ecx]
push edx
push str.end__s
push ebx
call fcn.005b8f30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
push eax
push ecx
push ebx
call fcn.005bafd0
push esi
call fcn.005bd1c0
add esp, 0x28
mov edx, dword [ebp - 0x18]
mov al, byte [edx + 0x51]
test al, al
jne 0x5cae42
mov eax, dword [ebp + 0xc]
push eax
call fcn.005caee0
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 0x5c9d0e
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 0x5ca055
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0xb8]
push 0xffffffffffffffff
push ecx
push edx
call fcn.005a7e20
mov edi, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
jne 0x5ca058
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.005a6d50
add esp, 0xc
mov dword [edi + 0x28], eax
mov dword [ebp - 0x10], eax
jmp 0x5ca058
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x5ca0b1
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xb8]
mov eax, dword [edx]
push eax
push 0
push ecx
push esi
call fcn.005cc170
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.005b8350
add esp, 0x2c
mov dword [ebp - 0xa4], eax
jmp 0x5ca0bb
mov dword [ebp - 0xa4], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0xc
jne 0x5ca0d8
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov edx, dword [ecx]
push edx
push eax
push 0x70
push ebx
call fcn.0059fde0
add esp, 0x10
push esi
call fcn.005b94f0
mov ecx, dword [edi + 8]
add esp, 4
test ch, 0x40
mov dword [ebp - 0xe0], eax
jne 0x5ca0f5
mov word [edi + 6], 0x140
push eax
push edi
push esi
call fcn.005cc870
mov eax, dword [edi + 0xc]
add esp, 0xc
test eax, eax
jne 0x5ca12b
mov eax, dword [ebp - 0xa4]
test eax, eax
jl 0x5ca12b
push 0x72
push eax
push ebx
call fcn.005befe0
mov al, byte [ebp - 0x98]
add esp, 0xc
or al, 1
mov byte [ebp - 0x98], al
test byte [edi + 8], 1
je 0x5ca172
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.005cc170
mov edx, dword [ebp - 0x54]
add esp, 0x10
push eax
push 0
push 0
push edx
push 0x70
push ebx
call fcn.005b8350
push 8
push ebx
mov dword [ebp - 0x50], eax
call fcn.005a0040
add esp, 0x24
mov byte [ebp - 0x57], 3
jmp 0x5ca176
mov byte [ebp - 0x57], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
xor edx, edx
cmp eax, edx
jne 0x5ca385
cmp ecx, edx
jne 0x5ca385
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 0x5ca1bf
mov edx, eax
push edx
push esi
call fcn.005dc8b0
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.005d2670
mov edi, eax
add esp, 0x1c
test edi, edi
mov dword [ebp - 4], edi
je 0x5cae42
push edi
call fcn.005d25c0
mov ecx, dword [ebp + 0xc]
add esp, 4
cmp ax, word [ecx + 6]
jge 0x5ca212
push edi
call fcn.005d25c0
mov edx, dword [ebp + 0xc]
add esp, 4
mov word [edx + 6], ax
mov al, byte [ebp - 0x58]
test al, al
je 0x5ca232
push edi
call fcn.005d25d0
add esp, 4
test eax, eax
je 0x5ca232
push edi
call fcn.005d25d0
add esp, 4
mov byte [ebp - 0x57], al
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x5ca26f
push edi
call fcn.005d25e0
push edi
mov dword [ebp - 0xb4], eax
call fcn.005d25f0
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xb8]
add esp, 8
cmp ecx, dword [eax]
jne 0x5ca26f
xor eax, eax
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
jl 0x5ca287
test eax, eax
jne 0x5ca287
push ecx
push ebx
call fcn.005bc060
add esp, 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x5ca348
push esi
call fcn.005b94f0
push esi
mov dword [ebp + 8], eax
call fcn.005b94f0
push esi
mov dword [ebp - 8], eax
call fcn.005b94f0
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.005dca80
push edi
push 0
push 0xb
push ebx
call fcn.0059fde0
mov edx, dword [ebp + 8]
push edx
push ebx
call fcn.005b9510
push str.inner_loop_subroutine
push ebx
call fcn.005bb530
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.005cb550
mov edx, dword [ebp - 8]
push edx
push ebx
call fcn.005b9510
mov eax, dword [ebp - 0x48]
push eax
push 0x42
push ebx
call fcn.005b94b0
push str.end_inner_loop_subroutine
push ebx
call fcn.005b8f30
push edi
push ebx
call fcn.005b9510
add esp, 0x44
jmp 0x5cadce
push edi
call fcn.005d2630
add esp, 4
push eax
push edi
call fcn.005d2620
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.005cb550
push edi
call fcn.005dbc00
add esp, 0x24
jmp 0x5cadce
cmp ecx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], edx
je 0x5ca428
mov eax, dword [edi]
mov edx, dword [eax]
test edx, edx
jle 0x5ca3ac
add eax, 0x1a
mov word [eax], 0
add eax, 0x18
dec edx
jne 0x5ca3a1
mov edx, dword [ecx]
test edx, edx
jle 0x5ca3c0
lea eax, [ecx + 0x1a]
mov word [eax], 0
add eax, 0x18
dec edx
jne 0x5ca3b5
mov eax, 0x42
cmp word [edi + 6], ax
jle 0x5ca3cf
mov word [edi + 6], ax
mov edx, dword [ebp - 0xb8]
test edx, edx
je 0x5ca42c
mov eax, dword [ecx]
mov ecx, dword [edx]
cmp eax, ecx
jne 0x5ca42c
xor ecx, ecx
test eax, eax
jle 0x5ca40c
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 0x5ca3ef
mov eax, dword [ebp - 0x10]
push 0xffffffffffffffff
push edx
push eax
call fcn.005a7e20
add esp, 0xc
test eax, eax
jne 0x5ca42c
mov dword [ebp - 0x34], 1
jmp 0x5ca42c
mov word [edi + 6], dx
push esi
call fcn.005b94f0
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 0x5ca47c
mov edi, eax
mov ecx, dword [edi]
mov dword [ebp - 0x84], ecx
jmp 0x5ca489
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.005cb490
mov ecx, dword [ebp - 0xb8]
lea edx, [ebp - 0xd8]
push ecx
push edx
call fcn.005cb490
mov eax, dword [ebp - 0x2c]
add esp, 0x10
test eax, eax
je 0x5ca4e5
test edi, edi
mov edi, dword [ebp + 0xc]
je 0x5ca4d0
push edi
push esi
call fcn.005cf040
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.005cb140
add esp, 8
jmp 0x5ca4e8
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x5ca51d
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x5ca51d
cmp dword [ebp - 0x64], 1
jne 0x5ca51d
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.005ceb60
add esp, 0xc
mov byte [ebp + 0xb], al
jmp 0x5ca521
mov byte [ebp + 0xb], 0
mov ecx, dword [ebp - 0x64]
xor eax, eax
cmp ecx, eax
mov dword [ebp - 0xc], eax
jle 0x5ca59f
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.005cb490
mov eax, dword [edi + 4]
add esp, 8
test eax, 0x1000000
je 0x5ca57a
mov eax, dword [edi + 0x2c]
lea edx, [ebp - 0xd8]
mov ecx, dword [eax + 0x28]
push ecx
push edx
call fcn.005cb140
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 0x5ca530
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x7c], eax
mov al, byte [ecx + 0x51]
test al, al
jne 0x5cae42
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x5cab6c
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.005cc170
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.005b8350
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.005b94f0
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.005b94f0
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.0059fde0
add esp, 0x44
push str.clear_abort_flag
push ebx
call fcn.005b8f30
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.0059fe00
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x48]
push eax
push ecx
push 0xc
push ebx
call fcn.0059fde0
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.005d2670
add esp, 0x48
mov dword [ebp - 4], eax
test eax, eax
je 0x5cae42
mov edx, eax
push edx
call fcn.005d25e0
mov ecx, dword [edi]
add esp, 4
cmp eax, ecx
jne 0x5ca6d9
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x30], 0
jmp 0x5ca851
mov al, byte [ebp - 0x58]
test al, al
je 0x5ca6f0
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 8]
mov eax, str.DISTINCT
test cl, 1
je 0x5ca6f5
mov eax, str.GROUP_BY
push eax
push esi
call fcn.005cc230
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 0x5ca73e
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x20], eax
add edx, 0xc
mov eax, dword [edx]
cmp eax, dword [ebp + 8]
jl 0x5ca72f
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 0x5ca720
mov dword [ebp - 0x1c], ecx
push ecx
push esi
call fcn.005bd140
mov ecx, dword [ebp - 0x10]
push 0
push 0
push eax
push ecx
push esi
mov dword [ebp - 0x20], eax
call fcn.005bc780
mov eax, dword [ebp - 0x70]
add esp, 0x1c
test eax, eax
mov dword [ebp + 8], edi
mov dword [ebp - 0xc], 0
jle 0x5ca7b3
mov eax, dword [ebp - 0x74]
xor edi, edi
mov edx, dword [ebp + 8]
mov ecx, dword [eax + edi + 0xc]
cmp ecx, edx
jl 0x5ca7a2
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.005bc460
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 0x5ca770
push esi
call fcn.005b8790
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.0059fe00
mov eax, dword [ebp - 0x8c]
push edi
push eax
push 0x83
push ebx
call fcn.0059fde0
push edi
push esi
call fcn.005b87c0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push ecx
push edx
push esi
call fcn.005bd190
mov eax, dword [ebp - 4]
push eax
call fcn.005dbc00
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.005b8790
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
push edx
push eax
push edi
push 0x74
push ebx
call fcn.0059fe00
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x8c]
push eax
push ecx
push 0x22
push ebx
call fcn.0059fde0
push str.GROUP_BY_sort
push ebx
call fcn.005b8f30
add esp, 0x30
mov byte [ebp - 0x8f], 1
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x5ca892
mov edx, dword [ebp - 0x18]
test byte [edx + 0x4c], 4
jne 0x5ca892
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x5ca878
mov eax, dword [ebp - 4]
push eax
call fcn.005d2660
add esp, 4
test eax, eax
je 0x5ca892
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], 0
push ecx
push ebx
call fcn.005bc060
add esp, 8
push ebx
call fcn.005b8780
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
add esp, 4
test eax, eax
je 0x5ca8bc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x8c]
push edi
push edx
push eax
push 0x7e
push ebx
call fcn.0059fe00
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], 0
cmp dword [eax], 0
jle 0x5ca929
mov edi, dword [ebp - 0x28]
add eax, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x5ca8f4
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.0059fe00
add esp, 0x14
jmp 0x5ca910
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.005b98e0
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 0x5ca8d4
jmp 0x5ca92c
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0xdc]
push 0xfffffffffffffff7
push edx
call fcn.005c9a00
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.005b8350
push ebx
call fcn.005b8780
mov dword [ebp + 8], eax
inc eax
push eax
push 0
push eax
push 0x10
push ebx
call fcn.0059fe00
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
push ecx
push edx
push edi
push esi
call fcn.005caf10
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.0059fde0
push str.output_one_row
push ebx
call fcn.005b8f30
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
push edx
push eax
push 0x2f
push ebx
call fcn.0059fde0
push str.check_abort_flag
push ebx
call fcn.005b8f30
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x48]
push ecx
push edx
push 0xc
push ebx
call fcn.0059fde0
add esp, 0x40
push str.reset_accumulator
push ebx
call fcn.005b8f30
mov eax, dword [ebp + 8]
push eax
push ebx
call fcn.005b95a0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x90]
push ecx
push edx
push esi
call fcn.005ced70
mov eax, dword [ebp - 0x14]
push eax
push 1
push 0x46
push ebx
call fcn.0059fde0
push str.indicate_data_in_accumulator
push ebx
call fcn.005b8f30
mov eax, dword [ebp - 0x30]
add esp, 0x34
test eax, eax
je 0x5caa28
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x8c]
push ecx
push edx
push 3
push ebx
call fcn.0059fde0
add esp, 0x10
jmp 0x5caa3e
mov eax, dword [ebp - 4]
push eax
call fcn.005dbc00
mov ecx, dword [ebp - 0x60]
push ecx
push ebx
call fcn.005bc060
add esp, 0xc
mov edx, dword [ebp - 0x40]
push edx
push edi
push 0xc
push ebx
call fcn.0059fde0
push str.output_final_row
push ebx
call fcn.005b8f30
mov eax, dword [ebp - 0x44]
push eax
push ebx
call fcn.005b94d0
push ebx
call fcn.005b8780
mov ecx, dword [ebp - 0x4c]
mov dword [ebp + 8], eax
push ecx
push 1
push 0x46
push ebx
call fcn.0059fde0
push str.set_abort_flag
push ebx
call fcn.005b8f30
push edi
push 0x42
push ebx
call fcn.005b94b0
mov edx, dword [ebp - 0x40]
add esp, 0x48
push edx
push ebx
call fcn.005b9510
push ebx
call fcn.005b8780
mov dword [ebp - 0x40], eax
add eax, 2
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0x2f
push ebx
call fcn.0059fde0
push str.Groupby_result_generator_entry_point
push ebx
call fcn.005b8f30
push edi
push 0x42
push ebx
call fcn.005b94b0
lea ecx, [ebp - 0x90]
push ecx
push esi
call fcn.005ced10
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.005bc9d0
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.005cb550
push edi
push 0x42
push ebx
call fcn.005b94b0
push str.end_groupby_result_generator
push ebx
call fcn.005b8f30
mov ecx, dword [ebp - 8]
push ecx
push ebx
call fcn.005b9510
lea edx, [ebp - 0x90]
push edx
push esi
call fcn.005cec60
mov eax, dword [ebp - 0x14]
add esp, 0x44
push eax
push 0
push 0x46
push ebx
call fcn.0059fde0
push str.indicate_accumulator_empty
push ebx
call fcn.005b8f30
mov ecx, dword [ebp - 0x48]
push ecx
push 0x42
push ebx
call fcn.005b94b0
mov edi, dword [ebp - 0x44]
add esp, 0x24
jmp 0x5cadc4
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x90]
push edx
push eax
call fcn.005cebf0
mov edi, eax
add esp, 8
test edi, edi
je 0x5cac90
mov ecx, dword [edi + 0x48]
mov edx, dword [esi]
push ecx
push edx
call fcn.005ae600
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.005c1490
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.005bd230
mov al, byte [edi + 0x24]
add esp, 0x24
test al, 0x20
je 0x5cabe0
push edi
call fcn.005aa180
add esp, 4
mov dword [ebp + 8], eax
mov eax, dword [edi + 8]
mov edx, dword [ebp + 8]
test eax, eax
je 0x5cac16
test byte [eax + 0x38], 4
jne 0x5cac0c
mov cx, word [eax + 0x30]
cmp cx, word [edi + 0x2e]
jge 0x5cac0c
cmp dword [eax + 0x24], 0
jne 0x5cac0c
test edx, edx
je 0x5cac0a
cmp cx, word [edx + 0x30]
jge 0x5cac0c
mov edx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5cabea
mov dword [ebp + 8], edx
test edx, edx
je 0x5cac30
mov eax, dword [ebp + 8]
push eax
push esi
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x3c], edx
call fcn.005c1970
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.0059ff60
mov eax, dword [ebp - 8]
add esp, 0x18
test eax, eax
je 0x5cac5e
push 0xfffffffffffffff7
push eax
push 0xffffffffffffffff
push ebx
call fcn.005a0060
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.0059fde0
mov ecx, dword [ebp - 0x24]
push ecx
push 0x75
push ebx
call fcn.005b94b0
mov edx, dword [ebp + 8]
push edx
push edi
push esi
call fcn.005cefe0
add esp, 0x28
jmp 0x5cad91
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0x14], ecx
je 0x5cacdd
mov edi, dword [ebp - 0x64]
cmp ecx, edi
jge 0x5cacc1
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
test byte [edx + 7], 1
jne 0x5cacb7
mov edx, dword [eax + 4]
test byte [edx + 4], 0x20
jne 0x5cacbf
inc ecx
add eax, 0x10
cmp ecx, edi
jl 0x5caca6
cmp ecx, edi
jne 0x5cacdd
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.0059fde0
add esp, 0x10
lea eax, [ebp - 0x90]
push eax
push esi
call fcn.005cec60
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.005d2670
mov edi, eax
add esp, 0x24
test edi, edi
je 0x5cae42
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x90]
push edx
push eax
push esi
call fcn.005ced70
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
je 0x5cad3e
mov ecx, eax
push ecx
push 1
push 0x46
push ebx
call fcn.0059fde0
add esp, 0x10
push edi
call fcn.005d25e0
add esp, 4
test eax, eax
jle 0x5cad7b
push edi
call fcn.005d2630
push eax
push ebx
call fcn.005b94d0
mov al, byte [ebp + 0xb]
add esp, 0xc
cmp al, 1
mov eax, 0x751418
je 0x5cad6c
mov eax, 0x751414
push eax
push str._s___by_index
push ebx
call fcn.005b8f30
add esp, 0xc
push edi
call fcn.005dbc00
lea edx, [ebp - 0x90]
push edx
push esi
call fcn.005ced10
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.005bc9d0
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.005cb550
add esp, 0x30
push edi
push ebx
call fcn.005b9510
add esp, 8
cmp byte [ebp - 0x57], 3
jne 0x5cade2
push str.DISTINCT
push esi
call fcn.005cc230
add esp, 8
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x5cae25
mov eax, dword [ebp - 0xb4]
test eax, eax
mov eax, str.RIGHT_PART_OF_ORDER_BY
jg 0x5cae00
mov eax, str.ORDER_BY
push eax
push esi
call fcn.005cc230
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.005cc250
add esp, 0x1c
mov edx, dword [ebp - 0xe0]
push edx
push ebx
call fcn.005b9510
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.005a7350
mov edx, dword [ebp - 0x74]
push edx
push edi
call fcn.00579080
mov eax, dword [ebp - 0x68]
push eax
push edi
call fcn.00579080
push esi
call fcn.005cae90
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