Function at 0x4be8e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x5ed80c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x1dc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebx + 0x1e0]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebx + 0x1dc], eax
inc eax
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebx + 0x1e0], eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x64], eax
test edi, edi
je 0x4c035c
cmp byte [eax + 0x36], 0
jne 0x4c035c
cmp dword [ebx + 0x44], 0
jne 0x4c035c
push 0
push 0
push 0
push 0x15
mov eax, ebx
call fcn.0047ff70
add esp, 0x10
test eax, eax
jne 0x4c035c
cmp byte [esi], 4
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
ja 0x4be9c9
mov ecx, dword [edi + 0x38]
mov esi, dword [ebp - 0x64]
push ecx
call fcn.0046d6e0
mov edx, 0xfffe
add esp, 4
and word [edi + 6], dx
mov dword [edi + 0x38], 0
push 0
push edi
push ebx
call fcn.004be870
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov edx, dword [edi]
add esp, 0xc
cmp dword [ebx + 0x44], 0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x4c], edx
jne 0x4bff76
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0x36], 0
jne 0x4bff76
mov ecx, edi
movzx eax, word [ecx + 6]
shr eax, 2
and eax, 1
mov edi, ebx
mov dword [ebp - 0x18], eax
call fcn.00483270
mov dword [ebp - 0x40], eax
test eax, eax
je 0x4bff76
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
push eax
mov eax, dword [ebp - 0x50]
mov esi, ebx
call fcn.004822d0
add esp, 4
test eax, eax
jne 0x4bff76
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x70], eax
cmp dword [edi + 0x3c], eax
jne 0x4bebfc
jmp 0x4bea53
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x7c]
movsx edx, word [ecx]
cmp eax, edx
jge 0x4bebfc
shl eax, 6
lea esi, [eax + ecx + 8]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4bebef
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4bea94
push eax
mov eax, dword [esi + 0x18]
push eax
mov eax, dword [ebp - 0x40]
push 2
call fcn.00475c70
add esp, 0xc
jmp 0x4bebef
mov eax, edi
call fcn.0046d580
add dword [ebx + 0x1d8], eax
mov ecx, dword [ebp - 0x1c]
movzx eax, word [ecx + 6]
mov edx, dword [ebp - 0x18]
shr eax, 2
and eax, 1
push eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x70]
push edx
push eax
push ebx
mov eax, edi
call fcn.0048c550
add esp, 0x10
test eax, eax
je 0x4beae7
cmp dword [ebp - 0x48], 0
je 0x4beadb
or word [edi + 6], 4
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x70], 0xffffffff
jmp 0x4bebc1
mov eax, dword [ebx + 0x4c]
inc eax
push eax
mov dword [ebx + 0x4c], eax
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x40]
push 0
push 7
mov dword [ebp - 0x38], 0
call fcn.00475c70
mov dword [ebp - 0x48], eax
inc eax
add esp, 0xc
cmp byte [esi + 0x1e], 0
mov dword [esi + 0x14], eax
jne 0x4beb1f
mov eax, ebx
call fcn.00488320
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x20]
mov cl, byte [ebx + 0x1e0]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
push eax
mov word [ebp - 0x14], 9
push ebx
mov byte [esi + 0x1f], cl
call fcn.004be8e0
fnstcw word [ebp - 0x32]
movzx eax, word [ebp - 0x32]
mov ecx, dword [ebp - 0x1c]
or eax, 0xc00
mov dword [ebp - 0x2c], eax
fld qword [ecx + 0x20]
mov eax, dword [esi + 0xc]
fldcw word [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x38], 0
fistp qword [ebp - 0xc0]
mov edx, dword [ebp - 0xc0]
mov dword [eax + 0x18], edx
fldcw word [ebp - 0x32]
je 0x4beb8b
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
call fcn.0046c100
mov ecx, dword [esi + 0x18]
mov eax, dword [ebp - 0x40]
push ecx
push 3
call fcn.00475c20
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
add esp, 8
cmp dword [ecx + 0x1c], edx
jbe 0x4bebb6
mov ecx, edx
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 4]
mov dword [ecx + edx*4 + 4], eax
mov byte [ebx + 0x13], 0
mov dword [ebx + 0x3c], 0
mov edx, dword [ebp - 0x64]
cmp byte [edx + 0x36], 0
jne 0x4bff76
mov eax, edi
call fcn.0046d580
sub dword [ebx + 0x1d8], eax
mov ecx, dword [ebp - 0x50]
cmp byte [ecx], 4
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x7c], eax
jbe 0x4bebef
mov edx, dword [edi + 0x38]
mov dword [ebp - 0x60], edx
inc dword [ebp - 0x70]
cmp dword [edi + 0x3c], 0
je 0x4bea50
mov eax, dword [edi]
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x34]
mov dword [ebp - 0x4c], eax
movzx eax, word [edi + 6]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edi + 0x30]
and eax, 1
cmp dword [edi + 0x3c], 0
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x20], eax
je 0x4bec8d
cmp dword [edi + 0x44], 0
jne 0x4bec62
xor ecx, ecx
xor edx, edx
mov eax, edi
nop
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edi
mov ecx, eax
mov eax, dword [eax + 0x3c]
inc edx
test eax, eax
jne 0x4bec30
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x4bec62
cmp edx, eax
jle 0x4bec62
push str.too_many_terms_in_compound_SELECT
mov esi, ebx
call fcn.0047c450
add esp, 4
jmp 0x4bff76
mov ecx, dword [ebp - 0x50]
push edi
mov edx, ebx
call fcn.0049c380
mov ecx, dword [ebp - 0xb8]
add esp, 4
pop edi
pop esi
mov dword [ebx + 0x1dc], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055bc32
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x60]
push esi
mov edi, ecx
call fcn.0046df70
add esp, 4
test eax, eax
jne 0x4becad
mov edx, dword [ebp - 0x64]
test byte [edx + 0x18], 0x20
jne 0x4becad
mov dword [ebp - 0x60], eax
mov esi, eax
mov eax, dword [ebp - 0x3c]
mov cl, byte [eax + 6]
and cl, 5
cmp cl, 1
jne 0x4bedb5
mov edx, eax
mov eax, dword [edx]
push eax
mov edi, esi
call fcn.0046df70
add esp, 4
test eax, eax
jne 0x4bedb5
mov esi, dword [ebp - 0x3c]
mov edx, dword [esi]
push eax
mov eax, dword [ebp - 0x64]
push edx
mov ecx, 0xfffe
and word [esi + 6], cx
push eax
call fcn.00477570
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x60], 0
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x54], 0xffffffff
mov eax, dword [ebp - 0x50]
cmp byte [eax], 9
jne 0x4bed2a
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
push edx
push eax
push 0x2a
mov eax, esi
call fcn.00475c70
add esp, 0xc
mov eax, esi
call fcn.00475cd0
fld qword [0x5a9ae0]
push eax
fstp qword [edi + 0x20]
mov dword [ebp - 0xbc], eax
push edi
mov eax, ebx
call fcn.004832a0
add esp, 8
cmp dword [edi + 8], 0
jne 0x4bed6a
cmp dword [ebp - 0x54], 0
jl 0x4bed6a
mov eax, dword [ebp - 0x54]
mov ecx, esi
call fcn.0046c140
mov byte [eax], 0x2b
or word [edi + 6], 0x40
test byte [edi + 6], 1
je 0x4bedf9
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x80], eax
inc eax
mov dword [ebx + 0x48], eax
mov ecx, dword [edi]
push ecx
push ebx
call fcn.00494950
mov edx, dword [ebp - 0x80]
push 0xfffffffffffffff0
push eax
push 0
push 0
push edx
push 0x2a
mov eax, esi
call fcn.0047e440
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 4]
add esp, 0x20
test eax, eax
je 0x4bee02
mov ecx, dword [esi + 0x1c]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 8
jmp 0x4bee02
test esi, esi
je 0x4becff
push esi
push ebx
call fcn.00494950
mov ecx, dword [ebx + 0x48]
mov dword [esi + 4], ecx
inc dword [ebx + 0x48]
mov edx, dword [esi]
push 0xfffffffffffffff0
push eax
mov eax, dword [esi + 4]
mov esi, dword [ebp - 0x40]
push 0
add edx, 2
push edx
push eax
push 0x2a
mov eax, esi
call fcn.0047e440
mov edi, dword [ebp - 0x3c]
add esp, 0x20
mov dword [ebp - 0x54], eax
mov dword [edi + 0x18], eax
jmp 0x4bed0c
or eax, 0xffffffff
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x34]
xor eax, eax
cmp dword [ebp - 0x18], eax
jne 0x4bf06b
cmp edx, eax
jne 0x4bf06b
cmp dword [ebp - 0x20], eax
je 0x4bee21
mov edi, dword [edi]
jmp 0x4bee23
xor edi, edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x7c]
push 0
push edi
lea edx, [ebp - 0x60]
push edx
push eax
push ecx
push ebx
call fcn.004ba110
mov edi, eax
add esp, 0x18
mov dword [ebp - 0x88], edi
test edi, edi
je 0x4bff76
mov ecx, dword [ebp - 0x3c]
fld qword [ecx + 0x20]
fcomp qword [edi + 0x30]
fnstsw ax
test ah, 0x41
jne 0x4bee61
fld qword [edi + 0x30]
fstp qword [ecx + 0x20]
cmp dword [ebp - 0x54], 0
jl 0x4bee81
cmp dword [ebp - 0x60], 0
jne 0x4bee81
mov ecx, dword [ebp - 0x54]
mov edx, esi
call fcn.00475f40
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x18], 0xffffffff
cmp byte [edi + 8], 0
je 0x4bf037
mov eax, dword [ebp - 0x2c]
mov ecx, esi
call fcn.0046c140
cmp byte [edi + 8], 2
mov dword [ebp - 0x80], 0xffffffff
jne 0x4bf034
inc dword [ebx + 0x4c]
mov edi, dword [ebx + 0x4c]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
lea edx, [edi + 1]
mov dword [ebp - 0x58], edx
add edx, ecx
lea ecx, [edi + ecx*2]
mov dword [ebx + 0x4c], ecx
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x58]
mov byte [eax], 7
mov dword [eax + 4], 1
mov dword [eax + 8], edi
mov eax, dword [ebp - 0x4c]
push 1
push ebx
mov dword [ebp - 0x8c], edi
call fcn.00477e70
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov edx, dword [esi + 0x1c]
lea eax, [edx + ecx + 3]
mov dword [ebp - 0x78], eax
dec eax
push eax
push edi
push 0x1b
mov eax, esi
call fcn.00475c70
mov edx, dword [ebp - 0x4c]
add esp, 0x14
cmp dword [edx], 0
mov dword [ebp - 0x48], 0
jle 0x4befeb
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x2c]
sub eax, ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x6c], eax
lea esp, [esp]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + edx]
push eax
push ebx
call fcn.00491140
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x68]
add ecx, eax
push ecx
push edx
push eax
push 0x4b
mov eax, esi
call fcn.00475b70
mov ecx, dword [esi + 4]
mov edi, dword [esi]
add esp, 0x18
test ecx, ecx
je 0x4befb3
cmp byte [edi + 0x36], 0
jne 0x4befb3
mov eax, dword [esi + 0x1c]
lea eax, [eax + eax*4 - 5]
lea ecx, [ecx + eax*4]
movsx eax, byte [ecx + 1]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ecx + 0x10]
call fcn.00475e00
cmp dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x10], 0
mov eax, ecx
jne 0x4befa7
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
jmp 0x4befc0
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfc
jmp 0x4befc0
mov ecx, dword [ebp - 0x38]
mov eax, 0xfffffffc
call fcn.00475e00
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4befd2
mov eax, dword [esi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x80
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
add dword [ebp - 0x18], 0x14
inc dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [ecx]
jl 0x4bef30
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x14]
push eax
push 0
push 1
mov eax, esi
call fcn.00475c70
mov ecx, dword [ebp - 0x8c]
push ecx
push 0
push 7
mov eax, esi
call fcn.00475c70
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x58]
push eax
push ecx
push edx
push 0xd
mov eax, esi
call fcn.00475b70
mov edi, dword [ebp - 0x88]
add esp, 0x28
jmp 0x4bf037
mov byte [eax], 0x95
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
mov edx, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x60]
push edx
mov edx, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x3c]
push ecx
push 0
push 0
push edx
push eax
push ebx
call fcn.00482300
push edi
call fcn.0047a640
add esp, 0x2c
jmp 0x4c02f1
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x18], eax
cmp edx, eax
je 0x4bf0c2
mov ecx, dword [edi]
mov eax, dword [ecx]
mov ecx, dword [ecx + 8]
test eax, eax
jle 0x4bf093
add ecx, 0x10
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x4bf083
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov edx, dword [edx + 8]
test eax, eax
jle 0x4bf0ad
lea ecx, [edx + 0x10]
nop
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x4bf0a0
fld qword [0x59fb98]
fcom qword [edi + 0x20]
fnstsw ax
test ah, 5
jp 0x4bf0c9
fstp qword [edi + 0x20]
jmp 0x4bf0cb
fld1
fstp qword [edi + 0x20]
jmp 0x4bf0cb
fstp st(0)
mov eax, esi
call fcn.00475cd0
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x54], eax
xor eax, eax
lea edx, [ebp - 0xb4]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xc8], edx
cmp edi, eax
je 0x4bf132
mov eax, dword [edi]
inc eax
mov ebx, dword [ebp - 0x4c]
lea ecx, [ebp - 0xe4]
push ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edi
call fcn.00488690
mov ebx, dword [ebp - 0x60]
lea edx, [ebp - 0xe4]
push edx
call fcn.00488690
mov eax, dword [ebp - 0x48]
add esp, 8
test eax, eax
je 0x4bf196
push eax
lea edx, [ebp - 0xf4]
lea ecx, [ebp - 0xe4]
push edx
mov dword [ebp - 0xf4], 0x4883a0
mov dword [ebp - 0xf0], 0x478180
mov dword [ebp - 0xe8], ecx
call fcn.00477170
add esp, 8
mov eax, dword [ebp - 0x9c]
xor esi, esi
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x90], esi
jle 0x4bf1da
xor edi, edi
mov edi, edi
mov ecx, dword [ebp - 0x94]
mov edx, dword [edi + ecx]
mov ebx, dword [edx + 0x10]
lea eax, [ebp - 0xe4]
push eax
call fcn.00488690
inc esi
add esp, 4
add edi, 0x10
cmp esi, dword [ebp - 0x90]
jl 0x4bf1b0
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x64]
cmp byte [ecx + 0x36], 0
jne 0x4bff73
xor ebx, ebx
cmp edi, ebx
je 0x4bfcfe
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0x48]
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0xb0], eax
inc eax
push ebx
push edi
mov dword [edi + 0x48], eax
call fcn.00494950
mov edx, dword [ebp - 0xa8]
mov esi, dword [ebp - 0x40]
push 0xfffffffffffffff0
push eax
push 0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xb0]
push edx
push eax
push 0x2b
mov eax, esi
call fcn.0047e440
inc dword [edi + 0x4c]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x6c], eax
inc eax
mov dword [ebp - 0x84], eax
inc eax
mov dword [ebp - 0x68], eax
mov dword [edi + 0x4c], eax
mov eax, esi
call fcn.00475cd0
inc dword [edi + 0x4c]
mov ecx, dword [edi + 0x4c]
mov dword [ebp - 0x78], eax
mov eax, esi
mov dword [ebp - 0x8c], ecx
call fcn.00475cd0
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x4c]
lea edx, [eax + 1]
add eax, dword [ebx]
mov dword [ebp - 0x74], edx
lea edx, [eax + 1]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x84]
mov dword [edi + 0x4c], eax
mov ecx, dword [ebx]
push edx
add ecx, eax
push 0
push 7
mov eax, esi
mov dword [edi + 0x4c], ecx
call fcn.00475c70
mov eax, dword [ebp - 0x6c]
push eax
push 0
push 7
mov eax, esi
call fcn.00475c70
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebx]
lea edx, [ecx + eax - 1]
push edx
push eax
push 0
push 0xa
mov eax, esi
call fcn.00475b70
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x8c]
add esp, 0x48
push eax
push ecx
push 2
mov eax, esi
call fcn.00475c70
push 0
push 0
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x7c]
push edx
push eax
push ecx
push edi
call fcn.004ba110
add esp, 0x24
mov dword [ebp - 0x88], eax
test eax, eax
je 0x4bff73
mov edi, dword [ebp - 0x34]
test edi, edi
jne 0x4bf312
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x30]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], edi
jmp 0x4bf63d
cmp dword [ebp - 0x20], 0
je 0x4bf326
mov ecx, dword [ebp - 0x3c]
test byte [ecx + 6], 1
mov eax, str.DISTINCT
je 0x4bf32b
mov eax, str.GROUP_BY
mov ebx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.00482710
mov eax, dword [edi]
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x18], eax
inc eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], eax
mov edi, eax
mov dword [ebp - 0x44], eax
test ecx, ecx
jle 0x4bf36f
mov edx, dword [ebp - 0xa0]
add edx, 0xc
lea ecx, [ecx]
cmp dword [edx], eax
jl 0x4bf366
inc edi
inc eax
add edx, 0x18
dec ecx
jne 0x4bf360
mov dword [ebp - 0x44], edi
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp - 0x44]
mov edi, dword [ebx + 0x40]
mov dword [ebp - 0x58], edi
cmp ecx, eax
jg 0x4bf38c
lea edx, [edi + ecx]
sub eax, ecx
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x3c], eax
jmp 0x4bf39a
mov eax, dword [ebx + 0x4c]
lea edi, [eax + 1]
add eax, ecx
mov dword [ebp - 0x58], edi
mov dword [ebx + 0x4c], eax
mov eax, ebx
call fcn.0046de90
mov eax, dword [ebp - 0x34]
push 0
push ebx
mov edx, edi
call fcn.00477e70
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xb0]
lea ecx, [edi + eax]
push ecx
push edx
push 0x37
mov eax, esi
call fcn.00475c70
mov ecx, dword [ebp - 0x20]
add esp, 0x14
cmp dword [ebp - 0x9c], 0
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x70], 0
jle 0x4bf45a
lea eax, [edi + ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
cmp dword [edx + eax + 0xc], ecx
jl 0x4bf448
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, edx
mov edx, dword [ecx + eax + 4]
push edx
mov edx, dword [ecx + eax]
mov eax, dword [ecx + eax + 8]
push edx
mov edi, ebx
call fcn.0049ab80
add esp, 0xc
cmp dword [ebp - 0x20], eax
je 0x4bf431
mov ecx, dword [ebp - 0x20]
push ecx
push eax
push 0xf
mov eax, esi
call fcn.00475c70
add esp, 0xc
mov edi, dword [ebp - 0x58]
mov eax, 1
add dword [ebp - 0x28], eax
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x28]
inc dword [ebp - 0x70]
mov edx, dword [ebp - 0x70]
add dword [ebp - 0x18], 0x18
cmp edx, dword [ebp - 0x9c]
jl 0x4bf3f5
mov al, byte [ebx + 0x13]
test al, al
jne 0x4bf469
inc dword [ebx + 0x4c]
mov edx, dword [ebx + 0x4c]
jmp 0x4bf475
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov edx, dword [ebx + eax*4 + 0x1c]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x20], eax
jg 0x4bf497
mov edi, esi
call fcn.00475af0
mov edx, dword [ebp - 0x20]
test eax, eax
jne 0x4bf4bf
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x58]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x44]
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x1f
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x20], eax
jg 0x4bf4e4
mov edi, esi
call fcn.00475af0
mov edx, dword [ebp - 0x20]
test eax, eax
jne 0x4bf50a
mov eax, dword [ebp - 0x18]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x60
test edx, edx
je 0x4bf539
cmp byte [ebx + 0x13], 8
jae 0x4bf539
xor eax, eax
lea ecx, [ebx + 0x64]
lea esp, [esp]
cmp dword [ecx + 0x10], edx
je 0x4bf588
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x4bf520
movzx eax, byte [ebx + 0x13]
mov dword [ebx + eax*4 + 0x1c], edx
inc byte [ebx + 0x13]
mov ecx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x58]
mov eax, ebx
call fcn.0046dbf0
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebx + 0x3c]
jle 0x4bf558
mov edx, ecx
mov eax, edi
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], eax
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.0047a640
mov ecx, dword [ebx + 0x48]
mov al, byte [ebx + 0x13]
add esp, 4
lea edx, [ecx + 1]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0xac], ecx
mov dword [ebx + 0x48], edx
test al, al
jne 0x4bf58e
inc dword [ebx + 0x4c]
mov eax, dword [ebx + 0x4c]
jmp 0x4bf59a
mov byte [ecx + 8], 1
jmp 0x4bf539
dec al
movzx edx, al
mov byte [ebx + 0x13], al
mov eax, dword [ebx + edx*4 + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x20], eax
cmp dword [esi + 0x20], eax
jg 0x4bf5b9
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bf5e4
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x20]
inc dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x18]
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x2c
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x20], eax
cmp dword [esi + 0x20], eax
jg 0x4bf606
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bf62f
mov eax, dword [ebp - 0x20]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x54]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x46
mov eax, ebx
mov byte [ebp - 0xb3], 1
call fcn.0046de90
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, ebx
call fcn.0046de90
cmp dword [ebp - 0x1c], 0
je 0x4bf695
mov ebx, dword [esi + 0x1c]
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x20], ecx
cmp dword [esi + 0x20], ebx
jg 0x4bf66c
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bf695
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x20]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x3e
mov eax, dword [ebp - 0x34]
xor ebx, ebx
mov dword [ebp - 0x28], ebx
cmp dword [eax], ebx
jle 0x4bf78f
cmp dword [ebp - 0x1c], 0
je 0x4bf70e
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x20], eax
jg 0x4bf6c1
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bf6f2
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x18]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x38]
mov dword [eax + 4], ecx
lea ecx, [ebx + edx]
mov byte [eax + 3], 0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x1d
test ebx, ebx
jne 0x4bf780
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4bf780
mov eax, dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov byte [ecx + edx*4 - 0x11], 0x20
jmp 0x4bf780
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
lea edi, [ebx + eax]
mov byte [ebp - 0xb4], 1
mov eax, dword [edx + 8]
lea ecx, [ebx + ebx*4]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x18], edi
test eax, eax
je 0x4bf7b4
cmp byte [eax], 0x84
jne 0x4bf7b4
mov edx, dword [ebp - 0x24]
mov edi, dword [edx + 8]
mov ebx, dword [edi + 0x1c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x20], ecx
cmp dword [edi + 0x20], ebx
jg 0x4bf754
call fcn.00475af0
test eax, eax
jne 0x4bf77d
mov ecx, dword [edi + 4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0xe
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
inc ebx
mov dword [ebp - 0x28], ebx
cmp ebx, dword [eax]
jl 0x4bf6a5
mov ecx, dword [ebp - 0x34]
mov ebx, dword [esi + 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
cmp dword [esi + 0x20], ebx
jg 0x4bf818
mov edi, esi
call fcn.00475af0
test eax, eax
je 0x4bf818
mov ebx, 1
jmp 0x4bf846
mov edx, dword [ebp - 0x24]
push edi
push eax
push edx
call fcn.004b15e0
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp eax, edi
je 0x4bf780
mov eax, dword [ebp - 0x24]
mov edi, dword [eax + 8]
test edi, edi
je 0x4bf780
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x20], eax
jg 0x4bf7e7
call fcn.00475af0
test eax, eax
jne 0x4bf780
mov edx, dword [edi + 4]
mov eax, dword [ebp - 0x20]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0xf
jmp 0x4bf780
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x74]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x18]
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x18
mov eax, dword [ebp - 0x5c]
push eax
push esi
mov ecx, 0xfffffffa
mov eax, ebx
call fcn.00475f80
mov ebx, dword [esi + 0x1c]
add esp, 8
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x20], ebx
jg 0x4bf870
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bf896
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
lea ecx, [ebx + 1]
xor edx, edx
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov word [eax], 0x19
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x74]
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x24]
push ecx
push edx
call fcn.00477a40
mov esi, dword [ebp - 0x40]
mov ebx, dword [esi + 0x1c]
add esp, 8
cmp dword [esi + 0x20], ebx
jg 0x4bf8c4
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bf8ee
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x68]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x78]
xor ebx, ebx
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 2
jmp 0x4bf8f0
xor ebx, ebx
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x5c], eax
cmp dword [esi + 0x20], eax
jg 0x4bf909
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bf932
mov eax, dword [ebp - 0x5c]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x84]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x54]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x78
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x5c], eax
cmp dword [esi + 0x20], eax
jg 0x4bf948
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bf974
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x5c]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x8c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x2c]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jl 0x4bf98c
mov ecx, dword [esi + 0x1c]
cmp ecx, eax
jbe 0x4bf98c
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + edx*4 + 8], ecx
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0xb4]
push ecx
push edx
call fcn.00496960
mov eax, dword [esi + 0x1c]
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [esi + 0x20], eax
jg 0x4bf9b5
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bf9e0
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x5c]
mov ecx, 1
add dword [esi + 0x1c], ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x6c]
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 7
cmp dword [ebp - 0x1c], ebx
je 0x4bfa2f
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x5c], eax
cmp dword [esi + 0x20], eax
jg 0x4bfa04
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bfa73
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x5c]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x74]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x44]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x51
jmp 0x4bfa73
mov edx, dword [ebp - 0x88]
push edx
call fcn.0047a640
mov ecx, dword [esi + 4]
add esp, 4
cmp ecx, ebx
je 0x4bfa73
mov eax, dword [ebp - 0x30]
mov edi, dword [esi]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
movsx eax, byte [ecx + 1]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ecx + 0x10]
call fcn.00475e00
mov eax, dword [ebp - 0x30]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax], 0x95
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x4bfa89
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bfab2
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x30]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x78]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 2
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x4bfacb
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bfaee
mov eax, dword [ebp - 0x30]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x54]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 1
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x5c], eax
cmp dword [esi + 0x20], eax
jg 0x4bfb07
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bfb35
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x1c]
mov ecx, 1
add dword [esi + 0x1c], ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x84]
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 7
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x4bfb4b
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bfb71
mov eax, dword [ebp - 0x30]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x68]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 3
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x4bfb89
mov edx, dword [ebp - 0x78]
lea ecx, [edx*4 + 4]
mov edx, dword [esi + 0x1c]
sub eax, ecx
mov dword [eax], edx
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x1c], eax
cmp dword [esi + 0x20], eax
jg 0x4bfb9f
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bfbc8
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x6c]
add ecx, 2
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x78
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x4bfbde
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bfc04
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 3
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [ebp - 0x24]
call fcn.004838b0
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x24]
push 8
inc edi
push edi
push ecx
push edx
call fcn.004aeb30
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x60]
push edi
push ecx
push edx
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push ebx
push ebx
push ecx
push eax
push edx
call fcn.00482300
mov eax, dword [esi + 0x1c]
add esp, 0x3c
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x4bfc63
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bfc89
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 3
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x4bfca1
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0xb4]
push edx
push eax
call fcn.00496770
mov eax, dword [esi + 0x1c]
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x4bfcd0
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4c02d3
xor ebx, ebx
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x30]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x8c]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 3
jmp 0x4c02d3
mov esi, dword [ebp - 0x3c]
lea edx, [ebp - 0xb4]
push edx
mov eax, esi
mov dword [ebp - 0x6c], ebx
call fcn.0046fb10
mov edi, eax
add esp, 4
mov dword [ebp - 0x38], edi
cmp edi, ebx
je 0x4bfee6
mov ebx, dword [ebp - 0x24]
mov esi, dword [edi + 0x44]
mov ecx, dword [ebx]
call fcn.0046f4d0
mov ecx, dword [ebx + 0x48]
mov dword [ebp - 0x2c], ecx
inc ecx
mov dword [ebx + 0x48], ecx
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x84], eax
xor esi, esi
push eax
mov eax, ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], ecx
call fcn.004ac300
mov edx, dword [edi]
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x84]
push edx
push esi
push eax
push ecx
mov eax, ebx
call fcn.00478390
mov eax, dword [edi + 0x10]
add esp, 0x14
test eax, eax
je 0x4bfdb2
cmp byte [eax + 0x2e], 0
jne 0x4bfd89
test esi, esi
je 0x4bfd87
mov edx, dword [eax + 0x24]
cmp edx, dword [esi + 0x24]
jge 0x4bfd89
mov esi, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4bfd75
mov dword [ebp - 0x74], esi
test esi, esi
je 0x4bfdb2
mov eax, dword [esi + 0x24]
cmp eax, dword [edi + 8]
jge 0x4bfdb2
mov ecx, dword [esi + 0x28]
push esi
push ebx
mov dword [ebp - 0x78], ecx
call fcn.004922d0
add esp, 8
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x40]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x4bfdcb
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bfdff
mov eax, dword [ebp - 0x30]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x2c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x78]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x84]
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x27
cmp dword [ebp - 0x1c], 0
je 0x4bfe47
mov ecx, dword [esi + 4]
mov edi, dword [esi]
test ecx, ecx
je 0x4bfe3a
cmp byte [edi + 0x36], 0
jne 0x4bfe3a
mov eax, dword [esi + 0x1c]
lea edx, [eax + eax*4 - 5]
movsx eax, byte [ecx + edx*4 + 1]
lea ebx, [ecx + edx*4]
mov ecx, dword [ebx + 0x10]
call fcn.00475e00
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
mov ebx, dword [ebp - 0x24]
jmp 0x4bfe47
mov ecx, dword [ebp - 0x1c]
mov eax, 0xfffffff0
call fcn.00475e00
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 0x1c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x4bfe69
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bfe95
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x20
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x4bfeab
mov edi, esi
call fcn.00475af0
test eax, eax
jne 0x4bfed4
mov eax, dword [ebp - 0x30]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x2c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x2d
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x38]
mov edx, ebx
call fcn.004839c0
jmp 0x4c0018
mov eax, esi
mov dword [ebp - 0x2c], ebx
call fcn.0046faa0
mov bl, al
test bl, bl
je 0x4bff33
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov esi, dword [ebp - 0x64]
push 0
push edx
push esi
call fcn.00477570
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x4bff33
cmp byte [esi + 0x36], 0
jne 0x4bff33
mov edx, dword [eax + 8]
cmp bl, 1
setne cl
mov byte [edx + 0xc], cl
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov byte [ecx], 0x98
mov esi, dword [ebp - 0x24]
lea edx, [ebp - 0xb4]
push edx
push esi
call fcn.00496770
mov eax, dword [ebp - 0x1c]
movzx ecx, bl
push ecx
mov ecx, dword [ebp - 0x7c]
push 0
lea edx, [ebp - 0x2c]
push edx
push eax
push ecx
push esi
call fcn.004ba110
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x4bffd2
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x64]
push edx
call fcn.0046d6e0
add esp, 4
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0xb8]
mov dword [ebx + 0x1dc], edx
test esi, esi
jne 0x4bffa2
mov eax, dword [ebp - 0x50]
cmp byte [eax], 5
jne 0x4bffa2
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x7c]
push ecx
push edx
push ebx
call fcn.0048c180
add esp, 0xc
mov edi, dword [ebp - 0x64]
mov eax, dword [ebp - 0xa0]
mov ecx, edi
call fcn.00465220
mov eax, dword [ebp - 0x94]
mov ecx, edi
call fcn.00465220
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055bc32
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xb4]
push eax
push esi
call fcn.00496960
add esp, 8
cmp dword [ebp - 0x2c], 0
jne 0x4bffff
test bl, bl
je 0x4bffff
mov ecx, dword [edi + 0x18]
mov eax, dword [ebp - 0x40]
push ecx
push 0
push 1
call fcn.00475c70
add esp, 0xc
push edi
call fcn.0047a640
lea edx, [ebp - 0xb4]
push edx
mov eax, esi
call fcn.004838b0
add esp, 8
mov ebx, esi
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x48]
push 8
push eax
push ecx
push ebx
mov dword [ebp - 0x60], 0
call fcn.004aeb30
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x50]
movzx ecx, byte [eax]
mov edx, dword [eax + 4]
add esp, 0x10
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x28], edx
test edi, edi
je 0x4c02c1
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x3c]
mov esi, edi
call fcn.00479710
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x50]
cmp dword [edx + 8], 0
mov ecx, dword [eax]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x44], ecx
jne 0x4c008a
mov eax, dword [esi + 0x4c]
inc eax
mov ecx, edx
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0xc], eax
add dword [esi + 0x4c], eax
mov ecx, edx
mov ebx, dword [ecx + 8]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], ebx
cmp ecx, 3
je 0x4c00bc
mov eax, esi
call fcn.0046de90
mov eax, dword [ebp - 0x2c]
xor edx, edx
cmp dword [ebp - 0x48], 5
sete dl
push edx
push esi
mov edx, ebx
call fcn.00477e70
mov ecx, dword [ebp - 0x48]
add esp, 8
lea eax, [ecx - 1]
cmp eax, 9
ja case.0x4c00c8.4
jmp dword [eax*4 + 0x4c0374]
mov al, byte [esi + 0x13]
test al, al
jne 0x4c00de
inc dword [esi + 0x4c]
mov esi, dword [esi + 0x4c]
jmp 0x4c00ea
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov esi, dword [esi + eax*4 + 0x1c]
mov ecx, dword [ebp - 0x44]
push esi
push ecx
push ebx
push 0x1f
mov eax, edi
call fcn.00475b70
mov edx, dword [ebp - 0x28]
push esi
push edx
push 0x61
mov eax, edi
call fcn.00475c70
mov edx, dword [ebp - 0x24]
add esp, 0x1c
call fcn.0046e020
jmp case.0x4c00c8.4
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
push eax
push ebx
push ecx
push 0x62
mov eax, edi
call fcn.00475b70
add esp, 0x10
jmp case.0x4c00c8.4
mov al, byte [esi + 0x13]
test al, al
jne 0x4c0140
inc dword [esi + 0x4c]
mov ebx, dword [esi + 0x4c]
jmp 0x4c014c
dec al
movzx edx, al
mov byte [esi + 0x13], al
mov ebx, dword [esi + edx*4 + 0x1c]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x1c]
push ebx
push eax
push ecx
push 0x1f
mov eax, edi
call fcn.00475b70
mov ecx, esi
call fcn.0046e000
mov edx, dword [ebp - 0x28]
mov esi, eax
push esi
push edx
push 0x38
mov eax, edi
call fcn.00475c70
mov eax, dword [ebp - 0x28]
push esi
push ebx
push eax
push 0x39
mov eax, edi
call fcn.00475b70
mov eax, dword [edi + 4]
add esp, 0x2c
test eax, eax
je 0x4c0199
mov ecx, dword [edi + 0x1c]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 8
mov edx, dword [ebp - 0x24]
call fcn.0046e020
mov esi, ebx
call fcn.0046e020
jmp case.0x4c00c8.4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
add edx, 5
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x50]
mov bl, byte [edx + 1]
call fcn.004773b0
mov edx, dword [ebp - 0x30]
mov ecx, esi
mov byte [edx], al
call fcn.0046e000
push 1
push edx
mov ebx, eax
mov eax, dword [ebp - 0x1c]
push ebx
push 1
push eax
push 0x1f
mov eax, edi
call fcn.0047e440
mov edi, dword [ebp - 0x1c]
mov ecx, 1
mov eax, esi
call fcn.0046dbf0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
push ebx
push ecx
push 0x61
call fcn.00475c70
mov edx, dword [ebp - 0x24]
add esp, 0x24
mov esi, ebx
call fcn.0046e020
jmp 0x4c0277
mov edx, dword [ebp - 0x28]
push edx
push 1
push 7
mov eax, edi
call fcn.00475c70
add esp, 0xc
jmp case.0x4c00c8.4
mov eax, dword [ebp - 0x28]
push 1
mov esi, ebx
mov ebx, dword [ebp - 0x24]
push eax
call fcn.00477a40
add esp, 8
jmp case.0x4c00c8.4
cmp ecx, 0xa
jne 0x4c025a
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 4]
push edx
push 4
mov eax, edi
call fcn.00475c20
add esp, 8
jmp case.0x4c00c8.4
mov eax, dword [ebp - 0x44]
push eax
push ebx
push 0x10
mov eax, edi
call fcn.00475c70
mov ecx, dword [ebp - 0x44]
add esp, 0xc
mov edi, ebx
mov eax, esi
call fcn.0046dbf0
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x4c02c1
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x4c0298
call fcn.00475af0
test eax, eax
jne 0x4c02c1
mov edi, dword [ebp - 0x38]
mov eax, dword [edi + 4]
inc dword [edi + 0x1c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x54]
xor ecx, ecx
mov byte [eax + 3], cl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0xffffffff
mov dword [eax + 0x10], ecx
mov word [eax], 0x7a
mov eax, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x64]
push eax
call fcn.0046d6e0
mov esi, dword [ebp - 0x40]
add esp, 4
mov esi, dword [esi + 0x28]
mov ebx, dword [ebp - 0x24]
test esi, esi
je 0x4c02f1
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x40]
lea edx, [ecx*4 + 4]
mov ecx, dword [eax + 0x1c]
sub esi, edx
mov dword [esi], ecx
cmp dword [ebp - 0x80], 0
jl 0x4c0303
mov eax, str.DISTINCT
mov ecx, ebx
call fcn.00482710
cmp dword [ebp - 0x60], 0
je 0x4c0332
mov eax, str.ORDER_BY
mov ecx, ebx
call fcn.00482710
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov esi, dword [ebp - 0x40]
push edx
mov edx, dword [ebp - 0x3c]
push ecx
push esi
push edx
push ebx
call fcn.00482910
add esp, 0x14
jmp 0x4c0335
mov esi, dword [ebp - 0x40]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4c0350
mov ecx, dword [ebp - 0xbc]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [eax], ecx
mov dword [ebp - 0x28], 0
jmp 0x4bff76
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0055bc32
mov esp, ebp
pop ebp
ret