Function at 0x4bfde0
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.004bfdb0
mov ebx, eax
mov eax, dword [ebp + 0xc]
add esp, 4
test eax, eax
je 0x4c1216
mov al, byte [edi + 0x51]
test al, al
jne 0x4c1216
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4c1216
push 0
push 0
push 0
push 0x15
push esi
call fcn.0049f9b0
add esp, 0x14
test eax, eax
jne 0x4c1216
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 0x4bfe7e
mov ecx, dword [edi + 0x30]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call fcn.0049d710
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.004a6210
mov eax, dword [esi + 0x24]
add esp, 0xc
test eax, eax
jne 0x4c11e2
mov eax, dword [ebp - 0x18]
mov cl, byte [eax + 0x51]
test cl, cl
jne 0x4c11e2
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 9
jne 0x4bfeb8
mov edx, dword [ebp + 0xc]
push edx
push esi
call fcn.004c29d0
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.004d2480
add esp, 8
test eax, eax
jne 0x4c11e2
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 0x4c0026
jmp 0x4bff12
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp eax, dword [edx]
jge 0x4c0026
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 0x4bff74
mov edx, dword [ebp + 0xc]
mov ecx, dword [edi + 0x2c]
push ecx
mov eax, dword [edx + 0x24]
push eax
call fcn.004c12e0
add esp, 8
test eax, eax
je 0x4bff74
mov ecx, dword [ebp - 0x18]
test byte [ecx + 0x4d], 0x20
jne 0x4bff74
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.004c1870
add esp, 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x4c000e
mov edx, dword [ebp - 8]
movsx ecx, word [edx + 0x2a]
mov edx, dword [eax]
cmp ecx, dword [edx]
jne 0x4c005b
test byte [eax + 8], 8
jne 0x4c000e
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x4bffbe
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4bffbe
mov ecx, dword [ebp + 0xc]
test dword [ecx + 8], 0x40000
je 0x4bffbe
mov eax, dword [ebp - 4]
cmp dword [eax], 1
je 0x4c000e
test byte [eax + 0x74], 0xa
jne 0x4c000e
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.004c42f0
add esp, 0x10
test eax, eax
je 0x4bffe9
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4c11e2
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 0x4c11e2
mov eax, dword [ebp + 0x10]
cmp byte [eax], 8
jbe 0x4c000e
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 0x4bff0f
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x4c0081
mov ecx, dword [ebp + 0x10]
mov edi, eax
push ecx
push edi
push esi
call fcn.004c2d70
mov ebx, eax
mov eax, dword [edi + 0x38]
add esp, 0xc
test eax, eax
jne 0x4c0052
push esi
call fcn.004c1230
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.004960c0
add esp, 0x14
jmp 0x4c11e2
cmp dword [edx], 1
jle 0x4c009f
mov eax, dword [ebp - 0x18]
test byte [eax + 0x4d], 0x80
jne 0x4c009f
mov ecx, dword [ebp + 0xc]
push ecx
push esi
call fcn.004c4ae0
mov edx, dword [ebp - 4]
add esp, 8
mov eax, dword [edx]
xor ecx, ecx
test eax, eax
mov dword [ebp - 0xc], ecx
jle 0x4c038a
lea eax, [ecx + ecx*8]
lea edi, [edx + eax*8 + 8]
mov eax, dword [edx + eax*8 + 0x40]
or eax, dword [edi + 0x3c]
jne 0x4c00e0
mov eax, dword [edi + 8]
test eax, eax
je 0x4c00e0
mov ecx, dword [edi + 4]
push ecx
push 0x8b36e4
push eax
push 0x14
push esi
call fcn.0049f9b0
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 0x4c037c
mov edx, dword [ebp + 0xc]
push edx
call fcn.004c1280
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 0x4c0133
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.004c4d80
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 0x4c0215
mov eax, dword [ebp - 4]
cmp dword [eax], 1
je 0x4c0162
test byte [eax + 0x74], 0xa
je 0x4c0215
push ebx
call fcn.004aeb20
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.004961c0
mov edx, dword [edi + 0x10]
mov eax, dword [edx]
push eax
push 0x8b4ff8
push ebx
call fcn.004af2d0
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.004bfae0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
push str.CO_ROUTINE__u
push 1
push esi
call fcn.004b1310
mov ecx, dword [ebp + 8]
add esp, 0x40
lea eax, [ebp - 0xd0]
push eax
push ecx
push esi
call fcn.004bfde0
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.004b4c00
mov ecx, dword [ebp - 8]
dec ecx
push ecx
push ebx
call fcn.004af940
push esi
call fcn.004b3560
add esp, 0x20
jmp 0x4c0345
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.004961a0
add esp, 0x10
mov dword [ebp - 0x28], eax
inc eax
mov dword [edi + 0x18], eax
mov al, byte [edi + 0x28]
test al, 8
jne 0x4c0263
push 0x11
push ebx
call fcn.004af0a0
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx]
push eax
push str.materialize___s_
push ebx
call fcn.004af2d0
add esp, 0x14
jmp 0x4c0277
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
push edx
push str.materialize___s_
push ebx
call fcn.004b18d0
add esp, 0xc
mov eax, dword [ebp - 4]
push edi
push eax
call fcn.004c55a0
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x4c02b3
mov ecx, eax
mov eax, dword [edi + 0x2c]
mov edx, dword [ecx + 0x2c]
push edx
push eax
push 0x6d
push ebx
call fcn.004961a0
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 0x4c02ed
mov edx, dword [edi + 0x2c]
lea eax, [ebp - 0xd0]
push edx
push 0xc
push eax
call fcn.004bfae0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
push str.MATERIALIZE__u
push 1
push esi
call fcn.004b1310
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xd0]
push eax
push ecx
push esi
call fcn.004bfde0
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 0x4c030e
mov edx, eax
push edx
push ebx
call fcn.004af940
add esp, 8
mov eax, dword [edi + 0x1c]
push eax
push 0x42
push ebx
call fcn.004af850
mov ecx, dword [edi + 0x10]
mov dword [ebp + 8], eax
mov edx, dword [ecx]
push edx
push str.end__s
push ebx
call fcn.004af2d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
push eax
push ecx
push ebx
call fcn.004b1370
push esi
call fcn.004b3560
add esp, 0x28
mov edx, dword [ebp - 0x18]
mov al, byte [edx + 0x51]
test al, al
jne 0x4c11e2
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c1280
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 0x4c00ae
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 0x4c03f5
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0xb8]
push 0xffffffffffffffff
push ecx
push edx
call fcn.0049e1e0
mov edi, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
jne 0x4c03f8
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.0049d110
add esp, 0xc
mov dword [edi + 0x28], eax
mov dword [ebp - 0x10], eax
jmp 0x4c03f8
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x4c0451
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xb8]
mov eax, dword [edx]
push eax
push 0
push ecx
push esi
call fcn.004c2510
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.004ae6f0
add esp, 0x2c
mov dword [ebp - 0xa4], eax
jmp 0x4c045b
mov dword [ebp - 0xa4], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0xc
jne 0x4c0478
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov edx, dword [ecx]
push edx
push eax
push 0x70
push ebx
call fcn.004961a0
add esp, 0x10
push esi
call fcn.004af890
mov ecx, dword [edi + 8]
add esp, 4
test ch, 0x40
mov dword [ebp - 0xe0], eax
jne 0x4c0495
mov word [edi + 6], 0x140
push eax
push edi
push esi
call fcn.004c2c10
mov eax, dword [edi + 0xc]
add esp, 0xc
test eax, eax
jne 0x4c04cb
mov eax, dword [ebp - 0xa4]
test eax, eax
jl 0x4c04cb
push 0x72
push eax
push ebx
call fcn.004b5380
mov al, byte [ebp - 0x98]
add esp, 0xc
or al, 1
mov byte [ebp - 0x98], al
test byte [edi + 8], 1
je 0x4c0512
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.004c2510
mov edx, dword [ebp - 0x54]
add esp, 0x10
push eax
push 0
push 0
push edx
push 0x70
push ebx
call fcn.004ae6f0
push 8
push ebx
mov dword [ebp - 0x50], eax
call fcn.00496400
add esp, 0x24
mov byte [ebp - 0x57], 3
jmp 0x4c0516
mov byte [ebp - 0x57], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
xor edx, edx
cmp eax, edx
jne 0x4c0725
cmp ecx, edx
jne 0x4c0725
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 0x4c055f
mov edx, eax
push edx
push esi
call fcn.004d2c50
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.004c8a10
mov edi, eax
add esp, 0x1c
test edi, edi
mov dword [ebp - 4], edi
je 0x4c11e2
push edi
call fcn.004c8960
mov ecx, dword [ebp + 0xc]
add esp, 4
cmp ax, word [ecx + 6]
jge 0x4c05b2
push edi
call fcn.004c8960
mov edx, dword [ebp + 0xc]
add esp, 4
mov word [edx + 6], ax
mov al, byte [ebp - 0x58]
test al, al
je 0x4c05d2
push edi
call fcn.004c8970
add esp, 4
test eax, eax
je 0x4c05d2
push edi
call fcn.004c8970
add esp, 4
mov byte [ebp - 0x57], al
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x4c060f
push edi
call fcn.004c8980
push edi
mov dword [ebp - 0xb4], eax
call fcn.004c8990
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xb8]
add esp, 8
cmp ecx, dword [eax]
jne 0x4c060f
xor eax, eax
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
jl 0x4c0627
test eax, eax
jne 0x4c0627
push ecx
push ebx
call fcn.004b2400
add esp, 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x4c06e8
push esi
call fcn.004af890
push esi
mov dword [ebp + 8], eax
call fcn.004af890
push esi
mov dword [ebp - 8], eax
call fcn.004af890
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.004d2e20
push edi
push 0
push 0xb
push ebx
call fcn.004961a0
mov edx, dword [ebp + 8]
push edx
push ebx
call fcn.004af8b0
push str.inner_loop_subroutine
push ebx
call fcn.004b18d0
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.004c18f0
mov edx, dword [ebp - 8]
push edx
push ebx
call fcn.004af8b0
mov eax, dword [ebp - 0x48]
push eax
push 0x42
push ebx
call fcn.004af850
push str.end_inner_loop_subroutine
push ebx
call fcn.004af2d0
push edi
push ebx
call fcn.004af8b0
add esp, 0x44
jmp 0x4c116e
push edi
call fcn.004c89d0
add esp, 4
push eax
push edi
call fcn.004c89c0
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.004c18f0
push edi
call fcn.004d1fa0
add esp, 0x24
jmp 0x4c116e
cmp ecx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], edx
je 0x4c07c8
mov eax, dword [edi]
mov edx, dword [eax]
test edx, edx
jle 0x4c074c
add eax, 0x1a
mov word [eax], 0
add eax, 0x18
dec edx
jne 0x4c0741
mov edx, dword [ecx]
test edx, edx
jle 0x4c0760
lea eax, [ecx + 0x1a]
mov word [eax], 0
add eax, 0x18
dec edx
jne 0x4c0755
mov eax, 0x42
cmp word [edi + 6], ax
jle 0x4c076f
mov word [edi + 6], ax
mov edx, dword [ebp - 0xb8]
test edx, edx
je 0x4c07cc
mov eax, dword [ecx]
mov ecx, dword [edx]
cmp eax, ecx
jne 0x4c07cc
xor ecx, ecx
test eax, eax
jle 0x4c07ac
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 0x4c078f
mov eax, dword [ebp - 0x10]
push 0xffffffffffffffff
push edx
push eax
call fcn.0049e1e0
add esp, 0xc
test eax, eax
jne 0x4c07cc
mov dword [ebp - 0x34], 1
jmp 0x4c07cc
mov word [edi + 6], dx
push esi
call fcn.004af890
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 0x4c081c
mov edi, eax
mov ecx, dword [edi]
mov dword [ebp - 0x84], ecx
jmp 0x4c0829
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.004c1830
mov ecx, dword [ebp - 0xb8]
lea edx, [ebp - 0xd8]
push ecx
push edx
call fcn.004c1830
mov eax, dword [ebp - 0x2c]
add esp, 0x10
test eax, eax
je 0x4c0885
test edi, edi
mov edi, dword [ebp + 0xc]
je 0x4c0870
push edi
push esi
call fcn.004c53e0
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.004c14e0
add esp, 8
jmp 0x4c0888
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x4c08bd
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x4c08bd
cmp dword [ebp - 0x64], 1
jne 0x4c08bd
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.004c4f00
add esp, 0xc
mov byte [ebp + 0xb], al
jmp 0x4c08c1
mov byte [ebp + 0xb], 0
mov ecx, dword [ebp - 0x64]
xor eax, eax
cmp ecx, eax
mov dword [ebp - 0xc], eax
jle 0x4c093f
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.004c1830
mov eax, dword [edi + 4]
add esp, 8
test eax, 0x1000000
je 0x4c091a
mov eax, dword [edi + 0x2c]
lea edx, [ebp - 0xd8]
mov ecx, dword [eax + 0x28]
push ecx
push edx
call fcn.004c14e0
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 0x4c08d0
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x7c], eax
mov al, byte [ecx + 0x51]
test al, al
jne 0x4c11e2
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x4c0f0c
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.004c2510
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.004ae6f0
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.004af890
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.004af890
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.004961a0
add esp, 0x44
push str.clear_abort_flag
push ebx
call fcn.004af2d0
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.004961c0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x48]
push eax
push ecx
push 0xc
push ebx
call fcn.004961a0
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.004c8a10
add esp, 0x48
mov dword [ebp - 4], eax
test eax, eax
je 0x4c11e2
mov edx, eax
push edx
call fcn.004c8980
mov ecx, dword [edi]
add esp, 4
cmp eax, ecx
jne 0x4c0a79
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x30], 0
jmp 0x4c0bf1
mov al, byte [ebp - 0x58]
test al, al
je 0x4c0a90
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 8]
mov eax, str.DISTINCT
test cl, 1
je 0x4c0a95
mov eax, str.GROUP_BY
push eax
push esi
call fcn.004c25d0
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 0x4c0ade
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x20], eax
add edx, 0xc
mov eax, dword [edx]
cmp eax, dword [ebp + 8]
jl 0x4c0acf
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 0x4c0ac0
mov dword [ebp - 0x1c], ecx
push ecx
push esi
call fcn.004b34e0
mov ecx, dword [ebp - 0x10]
push 0
push 0
push eax
push ecx
push esi
mov dword [ebp - 0x20], eax
call fcn.004b2b20
mov eax, dword [ebp - 0x70]
add esp, 0x1c
test eax, eax
mov dword [ebp + 8], edi
mov dword [ebp - 0xc], 0
jle 0x4c0b53
mov eax, dword [ebp - 0x74]
xor edi, edi
mov edx, dword [ebp + 8]
mov ecx, dword [eax + edi + 0xc]
cmp ecx, edx
jl 0x4c0b42
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.004b2800
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 0x4c0b10
push esi
call fcn.004aeb30
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.004961c0
mov eax, dword [ebp - 0x8c]
push edi
push eax
push 0x83
push ebx
call fcn.004961a0
push edi
push esi
call fcn.004aeb60
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push ecx
push edx
push esi
call fcn.004b3530
mov eax, dword [ebp - 4]
push eax
call fcn.004d1fa0
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.004aeb30
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
push edx
push eax
push edi
push 0x74
push ebx
call fcn.004961c0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x8c]
push eax
push ecx
push 0x22
push ebx
call fcn.004961a0
push str.GROUP_BY_sort
push ebx
call fcn.004af2d0
add esp, 0x30
mov byte [ebp - 0x8f], 1
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4c0c32
mov edx, dword [ebp - 0x18]
test byte [edx + 0x4c], 4
jne 0x4c0c32
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4c0c18
mov eax, dword [ebp - 4]
push eax
call fcn.004c8a00
add esp, 4
test eax, eax
je 0x4c0c32
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], 0
push ecx
push ebx
call fcn.004b2400
add esp, 8
push ebx
call fcn.004aeb20
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
add esp, 4
test eax, eax
je 0x4c0c5c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x8c]
push edi
push edx
push eax
push 0x7e
push ebx
call fcn.004961c0
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], 0
cmp dword [eax], 0
jle 0x4c0cc9
mov edi, dword [ebp - 0x28]
add eax, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4c0c94
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.004961c0
add esp, 0x14
jmp 0x4c0cb0
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.004afc80
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 0x4c0c74
jmp 0x4c0ccc
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0xdc]
push 0xfffffffffffffff7
push edx
call fcn.004bfda0
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.004ae6f0
push ebx
call fcn.004aeb20
mov dword [ebp + 8], eax
inc eax
push eax
push 0
push eax
push 0x10
push ebx
call fcn.004961c0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
push ecx
push edx
push edi
push esi
call fcn.004c12b0
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.004961a0
push str.output_one_row
push ebx
call fcn.004af2d0
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
push edx
push eax
push 0x2f
push ebx
call fcn.004961a0
push str.check_abort_flag
push ebx
call fcn.004af2d0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x48]
push ecx
push edx
push 0xc
push ebx
call fcn.004961a0
add esp, 0x40
push str.reset_accumulator
push ebx
call fcn.004af2d0
mov eax, dword [ebp + 8]
push eax
push ebx
call fcn.004af940
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x90]
push ecx
push edx
push esi
call fcn.004c5110
mov eax, dword [ebp - 0x14]
push eax
push 1
push 0x46
push ebx
call fcn.004961a0
push str.indicate_data_in_accumulator
push ebx
call fcn.004af2d0
mov eax, dword [ebp - 0x30]
add esp, 0x34
test eax, eax
je 0x4c0dc8
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x8c]
push ecx
push edx
push 3
push ebx
call fcn.004961a0
add esp, 0x10
jmp 0x4c0dde
mov eax, dword [ebp - 4]
push eax
call fcn.004d1fa0
mov ecx, dword [ebp - 0x60]
push ecx
push ebx
call fcn.004b2400
add esp, 0xc
mov edx, dword [ebp - 0x40]
push edx
push edi
push 0xc
push ebx
call fcn.004961a0
push str.output_final_row
push ebx
call fcn.004af2d0
mov eax, dword [ebp - 0x44]
push eax
push ebx
call fcn.004af870
push ebx
call fcn.004aeb20
mov ecx, dword [ebp - 0x4c]
mov dword [ebp + 8], eax
push ecx
push 1
push 0x46
push ebx
call fcn.004961a0
push str.set_abort_flag
push ebx
call fcn.004af2d0
push edi
push 0x42
push ebx
call fcn.004af850
mov edx, dword [ebp - 0x40]
add esp, 0x48
push edx
push ebx
call fcn.004af8b0
push ebx
call fcn.004aeb20
mov dword [ebp - 0x40], eax
add eax, 2
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0x2f
push ebx
call fcn.004961a0
push str.Groupby_result_generator_entry_point
push ebx
call fcn.004af2d0
push edi
push 0x42
push ebx
call fcn.004af850
lea ecx, [ebp - 0x90]
push ecx
push esi
call fcn.004c50b0
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.004b2d70
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.004c18f0
push edi
push 0x42
push ebx
call fcn.004af850
push str.end_groupby_result_generator
push ebx
call fcn.004af2d0
mov ecx, dword [ebp - 8]
push ecx
push ebx
call fcn.004af8b0
lea edx, [ebp - 0x90]
push edx
push esi
call fcn.004c5000
mov eax, dword [ebp - 0x14]
add esp, 0x44
push eax
push 0
push 0x46
push ebx
call fcn.004961a0
push str.indicate_accumulator_empty
push ebx
call fcn.004af2d0
mov ecx, dword [ebp - 0x48]
push ecx
push 0x42
push ebx
call fcn.004af850
mov edi, dword [ebp - 0x44]
add esp, 0x24
jmp 0x4c1164
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x90]
push edx
push eax
call fcn.004c4f90
mov edi, eax
add esp, 8
test edi, edi
je 0x4c1030
mov ecx, dword [edi + 0x48]
mov edx, dword [esi]
push ecx
push edx
call fcn.004a49a0
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.004b7830
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.004b35d0
mov al, byte [edi + 0x24]
add esp, 0x24
test al, 0x20
je 0x4c0f80
push edi
call fcn.004a0540
add esp, 4
mov dword [ebp + 8], eax
mov eax, dword [edi + 8]
mov edx, dword [ebp + 8]
test eax, eax
je 0x4c0fb6
test byte [eax + 0x38], 4
jne 0x4c0fac
mov cx, word [eax + 0x30]
cmp cx, word [edi + 0x2e]
jge 0x4c0fac
cmp dword [eax + 0x24], 0
jne 0x4c0fac
test edx, edx
je 0x4c0faa
cmp cx, word [edx + 0x30]
jge 0x4c0fac
mov edx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4c0f8a
mov dword [ebp + 8], edx
test edx, edx
je 0x4c0fd0
mov eax, dword [ebp + 8]
push eax
push esi
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x3c], edx
call fcn.004b7d10
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.00496320
mov eax, dword [ebp - 8]
add esp, 0x18
test eax, eax
je 0x4c0ffe
push 0xfffffffffffffff7
push eax
push 0xffffffffffffffff
push ebx
call fcn.00496420
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.004961a0
mov ecx, dword [ebp - 0x24]
push ecx
push 0x75
push ebx
call fcn.004af850
mov edx, dword [ebp + 8]
push edx
push edi
push esi
call fcn.004c5380
add esp, 0x28
jmp 0x4c1131
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0x14], ecx
je 0x4c107d
mov edi, dword [ebp - 0x64]
cmp ecx, edi
jge 0x4c1061
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
test byte [edx + 7], 1
jne 0x4c1057
mov edx, dword [eax + 4]
test byte [edx + 4], 0x20
jne 0x4c105f
inc ecx
add eax, 0x10
cmp ecx, edi
jl 0x4c1046
cmp ecx, edi
jne 0x4c107d
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.004961a0
add esp, 0x10
lea eax, [ebp - 0x90]
push eax
push esi
call fcn.004c5000
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.004c8a10
mov edi, eax
add esp, 0x24
test edi, edi
je 0x4c11e2
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x90]
push edx
push eax
push esi
call fcn.004c5110
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
je 0x4c10de
mov ecx, eax
push ecx
push 1
push 0x46
push ebx
call fcn.004961a0
add esp, 0x10
push edi
call fcn.004c8980
add esp, 4
test eax, eax
jle 0x4c111b
push edi
call fcn.004c89d0
push eax
push ebx
call fcn.004af870
mov al, byte [ebp + 0xb]
add esp, 0xc
cmp al, 1
mov eax, 0x8b35e0
je 0x4c110c
mov eax, 0x8b35dc
push eax
push str._s___by_index
push ebx
call fcn.004af2d0
add esp, 0xc
push edi
call fcn.004d1fa0
lea edx, [ebp - 0x90]
push edx
push esi
call fcn.004c50b0
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.004b2d70
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.004c18f0
add esp, 0x30
push edi
push ebx
call fcn.004af8b0
add esp, 8
cmp byte [ebp - 0x57], 3
jne 0x4c1182
push str.DISTINCT
push esi
call fcn.004c25d0
add esp, 8
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x4c11c5
mov eax, dword [ebp - 0xb4]
test eax, eax
mov eax, str.RIGHT_PART_OF_ORDER_BY
jg 0x4c11a0
mov eax, str.ORDER_BY
push eax
push esi
call fcn.004c25d0
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.004c25f0
add esp, 0x1c
mov edx, dword [ebp - 0xe0]
push edx
push ebx
call fcn.004af8b0
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.0049d710
mov edx, dword [ebp - 0x74]
push edx
push edi
call fcn.0046f530
mov eax, dword [ebp - 0x68]
push eax
push edi
call fcn.0046f530
push esi
call fcn.004c1230
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