Function at 0x4c2b00
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x1e4]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebx + 0x1e8]
mov dword [ebx + 0x1e4], eax
inc eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebx + 0x1e8], eax
mov eax, dword [ebx]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x4c], eax
test esi, esi
je 0x4c42f9
cmp byte [eax + 0x38], 0
jne 0x4c42f9
cmp dword [ebx + 0x44], 0
jne 0x4c42f9
push 0
push 0
push 0
push 0x15
mov eax, ebx
call fcn.004839d0
add esp, 0x10
test eax, eax
jne 0x4c42f9
cmp byte [edi], 4
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
mov dword [ebp - 0x8c], eax
ja 0x4c2bea
mov ecx, dword [esi + 0x38]
mov edx, dword [ebp - 0x4c]
push ecx
push edx
call fcn.0047b530
mov eax, 0xfffe
add esp, 8
and word [esi + 6], ax
mov dword [esi + 0x38], 0
push 0
push esi
push ebx
call fcn.004c2a70
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x28]
mov eax, dword [esi]
add esp, 0xc
cmp dword [ebx + 0x44], 0
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x74], eax
jne 0x4c429d
mov ecx, dword [ebp - 0x4c]
cmp byte [ecx + 0x38], 0
jne 0x4c429d
mov edx, esi
movzx eax, word [edx + 6]
shr eax, 2
and eax, 1
mov edi, ebx
mov dword [ebp - 0x68], eax
call fcn.00486600
mov esi, eax
mov dword [ebp - 0x7c], esi
test esi, esi
je 0x4c429d
mov ecx, dword [ebp - 0x74]
cmp dword [ecx], 1
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
jle 0x4c2c6d
cmp eax, 6
je 0x4c2c59
cmp eax, 7
jne 0x4c2c6d
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
mov esi, ebx
call fcn.0047fe90
add esp, 4
jmp 0x4c429d
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x38], eax
cmp dword [ecx + 0x3c], eax
jne 0x4c2fb0
jmp 0x4c2c86
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x60]
movsx edi, word [edx]
cmp eax, edi
jge 0x4c2fb0
lea eax, [eax + eax*8]
lea eax, [edx + eax*8 + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x4c2f9e
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4c2cd6
test byte [ecx + 0x24], 4
jne 0x4c2f9e
mov edx, dword [ecx + 0x1c]
push eax
push edx
push 2
mov eax, esi
call fcn.00479800
add esp, 0xc
jmp 0x4c2f9e
mov eax, dword [ebp - 0x2c]
lea edi, [ebp - 0x44]
mov dword [ebp - 0x44], 0
call fcn.00470f00
mov eax, dword [ebp - 0x44]
add dword [ebx + 0x1e0], eax
mov ecx, dword [ebp - 0x40]
movzx edi, word [ecx + 6]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x38]
shr edi, 2
and edi, 1
push edi
push edx
push eax
mov eax, dword [ebp - 0x2c]
push ebx
call fcn.0048f6c0
add esp, 0x10
test eax, eax
je 0x4c2d36
test edi, edi
je 0x4c2d2a
mov eax, dword [ebp - 0x2c]
or word [eax + 6], 4
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x38], 0xffffffff
jmp 0x4c2f5f
mov ecx, dword [ebp - 0x60]
cmp word [ecx], 1
jne 0x4c2e8d
mov eax, dword [ebp - 0x2c]
mov edx, 0x100
test word [eax + 6], dx
jne 0x4c2e8d
mov ecx, edx
mov edx, dword [ebp - 0x4c]
test word [edx + 0x34], cx
jne 0x4c2e8d
mov edi, dword [ebp - 0x54]
mov ecx, 1
add dword [ebx + 0x4c], ecx
mov eax, dword [ebx + 0x4c]
mov dword [edi + 0x1c], eax
add dword [ebx + 0x4c], ecx
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x48], eax
push ecx
mov eax, esi
call fcn.00479760
mov ecx, dword [edi + 0x2c]
push ecx
push 0x2c
mov eax, esi
call fcn.004797b0
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 4]
add esp, 0xc
test eax, eax
je 0x4c2dab
mov ecx, dword [esi + 0x1c]
lea edx, [ecx + ecx*4]
mov byte [eax + edx*4 - 0x11], 1
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x18]
push ecx
mov dword [edi + 0x18], eax
push 0
push 7
mov eax, esi
call fcn.00479800
mov eax, dword [esi + 4]
add esp, 0xc
test eax, eax
je 0x4c2dd5
mov ecx, dword [esi + 0x1c]
lea edx, [ecx + ecx*4]
mov byte [eax + edx*4 - 0x11], 1
mov eax, dword [edi + 0x1c]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
xor eax, eax
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov al, byte [ebx + 0x1e8]
push edx
mov word [ebp - 0x14], 0xa
push ebx
mov byte [edi + 0x28], al
call fcn.004c2b00
fnstcw word [ebp - 0x26]
mov eax, dword [ebp - 0x40]
fld qword [eax + 0x20]
movzx eax, word [ebp - 0x26]
mov edx, dword [edi + 0x10]
or eax, 0xc00
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
fldcw word [ebp - 0x44]
add esp, 0xc
fistp qword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc8]
mov dword [edx + 0x1c], ecx
or dword [edi + 0x24], 4
fldcw word [ebp - 0x26]
cmp dword [esi + 0x1c], eax
jbe 0x4c2e49
mov edx, dword [esi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [ebp - 0x18]
cmp dword [esi + 0x1c], eax
jbe 0x4c2e5e
mov edx, dword [esi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 8]
mov dword [edx + ecx*4 + 0xc], eax
mov ecx, dword [ebp - 0x48]
push ecx
push 1
push 7
mov eax, esi
call fcn.00479800
mov edx, dword [edi + 0x1c]
push edx
push 4
mov eax, esi
call fcn.004797b0
mov eax, dword [ebp - 0x18]
add esp, 0x14
dec eax
mov edx, esi
call fcn.0046feb0
jmp 0x4c2f54
mov eax, dword [ebx + 0x4c]
mov edi, dword [ebp - 0x54]
inc eax
push eax
mov dword [ebx + 0x4c], eax
mov dword [edi + 0x1c], eax
push 0
push 7
mov eax, esi
mov dword [ebp - 0x3c], 0
call fcn.00479800
mov dword [ebp - 0x44], eax
inc eax
add esp, 0xc
test byte [edi + 0x24], 2
mov dword [edi + 0x18], eax
jne 0x4c2ec7
mov eax, ebx
call fcn.0048b410
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x2c]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
xor eax, eax
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov al, byte [ebx + 0x1e8]
push edx
mov word [ebp - 0x14], 9
push ebx
mov byte [edi + 0x28], al
call fcn.004c2b00
fnstcw word [ebp - 0x26]
mov eax, dword [ebp - 0x40]
fld qword [eax + 0x20]
movzx eax, word [ebp - 0x26]
mov edx, dword [edi + 0x10]
or eax, 0xc00
mov dword [ebp - 0x5c], eax
add esp, 0xc
cmp dword [ebp - 0x3c], 0
fldcw word [ebp - 0x5c]
fistp qword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc8]
mov dword [edx + 0x1c], ecx
fldcw word [ebp - 0x26]
je 0x4c2f32
mov eax, dword [ebp - 0x3c]
mov edx, esi
call fcn.0046feb0
mov eax, dword [edi + 0x1c]
push eax
push 3
mov eax, esi
call fcn.004797b0
mov ecx, dword [ebp - 0x44]
add esp, 8
cmp dword [esi + 0x1c], ecx
jbe 0x4c2f54
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 4]
mov dword [ecx + edx*4 + 4], eax
mov dword [ebx + 0x3c], 0
mov byte [ebx + 0x13], 0
mov edx, dword [ebp - 0x4c]
cmp byte [edx + 0x38], 0
jne 0x4c429d
mov eax, dword [ebp - 0x2c]
lea edi, [ebp - 0x44]
mov dword [ebp - 0x44], 0
call fcn.00470f00
mov eax, dword [ebp - 0x44]
sub dword [ebx + 0x1e0], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x58]
cmp byte [eax], 4
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x60], edx
jbe 0x4c2f9e
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x2c]
inc dword [ebp - 0x38]
cmp dword [eax + 0x3c], 0
je 0x4c2c80
mov ecx, eax
mov eax, dword [ecx + 0x2c]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x44], eax
mov al, byte [ecx + 6]
mov dword [ebp - 0x74], edx
mov edx, dword [ecx + 0x30]
and al, 1
cmp dword [ecx + 0x3c], 0
mov dword [ebp - 0x28], edx
mov byte [ebp - 0xbc], al
je 0x4c3041
cmp dword [ecx + 0x44], 0
jne 0x4c3016
xor edx, edx
xor esi, esi
mov eax, ecx
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], ecx
mov edx, eax
mov eax, dword [eax + 0x3c]
inc esi
test eax, eax
jne 0x4c2fe4
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x60]
test eax, eax
je 0x4c3016
cmp esi, eax
jle 0x4c3016
push 0x585088
mov esi, ebx
call fcn.0047fe90
add esp, 4
jmp 0x4c429d
push ecx
mov ecx, dword [ebp - 0x58]
mov edx, ebx
call fcn.004a08c0
mov ecx, dword [ebp - 0xc0]
add esp, 4
pop edi
pop esi
mov dword [ebx + 0x1e4], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x28]
push edx
call fcn.004718a0
add esp, 4
test eax, eax
jne 0x4c3064
mov eax, dword [ebp - 0x4c]
test byte [eax + 0x34], 4
jne 0x4c3064
mov dword [ebp - 0x34], 0
mov edi, dword [ebp - 0x2c]
mov cl, byte [edi + 6]
and cl, 5
cmp cl, 1
jne 0x4c317a
mov edx, edi
mov eax, dword [edx]
mov edi, dword [ebp - 0x34]
push eax
call fcn.004718a0
mov edi, dword [ebp - 0x2c]
add esp, 4
test eax, eax
jne 0x4c317a
mov edx, dword [edi]
push eax
mov eax, dword [ebp - 0x4c]
push edx
mov ecx, 0xfffe
and word [edi + 6], cx
push eax
call fcn.0047b1b0
add esp, 0xc
mov dword [edi + 0x30], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x48], 0xffffffff
mov edx, dword [ebp - 0x58]
cmp byte [edx], 9
jne 0x4c30dc
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
push ecx
push eax
push 0x2a
mov eax, esi
call fcn.00479800
add esp, 0xc
mov eax, esi
call fcn.00479860
fld qword [0x582d08]
push eax
fstp qword [edi + 0x20]
mov dword [ebp - 0xc4], eax
push edi
mov eax, ebx
call fcn.00486630
add esp, 8
cmp dword [edi + 8], 0
jne 0x4c311c
cmp dword [ebp - 0x48], 0
jl 0x4c311c
mov eax, dword [ebp - 0x48]
mov ecx, esi
call fcn.0046fed0
mov byte [eax], 0x2b
or word [edi + 6], 0x40
test byte [edi + 6], 1
je 0x4c31c0
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0xb8], eax
inc eax
mov dword [ebx + 0x48], eax
mov ecx, dword [edi]
push 0xfffffffffffffff0
push ecx
push ebx
call fcn.00498b00
mov edx, dword [ebp - 0xb8]
add esp, 8
push eax
push 0
push 0
push edx
push 0x2a
mov eax, esi
call fcn.00481fc0
mov dword [ebp - 0xb4], eax
mov eax, dword [esi + 4]
add esp, 0x18
test eax, eax
je 0x4c3171
mov ecx, dword [esi + 0x1c]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 8
mov byte [ebp - 0xbb], 3
jmp 0x4c31c7
cmp dword [ebp - 0x34], 0
je 0x4c30b7
mov ecx, dword [ebp - 0x34]
push ecx
push ebx
call fcn.00498b00
mov edx, dword [ebx + 0x48]
mov ecx, dword [ebp - 0x34]
push 0xfffffffffffffff0
push eax
mov dword [ecx + 4], edx
inc dword [ebx + 0x48]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push 0
add eax, 2
push eax
push ecx
push 0x2a
mov eax, esi
call fcn.00481fc0
add esp, 0x20
mov dword [ebp - 0x48], eax
mov dword [edi + 0x18], eax
jmp 0x4c30be
mov byte [ebp - 0xbb], 0
mov edx, dword [ebp - 0x28]
xor eax, eax
cmp dword [ebp - 0x68], eax
jne 0x4c329c
cmp edx, eax
jne 0x4c329c
cmp byte [ebp - 0xbc], al
je 0x4c31e7
mov eax, dword [edi]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x60]
push 0
push 0
push eax
mov eax, dword [ebp - 0x3c]
push edx
push eax
push ecx
push ebx
call fcn.004be420
add esp, 0x1c
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x4c429d
fld qword [edi + 0x20]
mov ecx, eax
fcomp qword [ecx + 0x30]
fnstsw ax
test ah, 0x41
jne 0x4c3221
fld qword [ecx + 0x30]
fstp qword [edi + 0x20]
mov al, byte [ecx + 0xe]
test al, al
je 0x4c322e
mov byte [ebp - 0xbb], al
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4c3247
movzx edx, word [ecx + 8]
cmp edx, dword [eax]
jne 0x4c3247
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x48], 0
jl 0x4c3262
test eax, eax
jne 0x4c3262
mov ecx, dword [ebp - 0x48]
mov edx, esi
call fcn.00479a80
mov dword [edi + 0x18], 0xffffffff
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 0x58]
push ecx
push edx
mov edx, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0xbc]
push ecx
push edx
push 0
push 0
push eax
push edi
push ebx
call fcn.004983b0
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.0047e090
add esp, 0x2c
jmp 0x4c4237
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x1c], eax
cmp edx, eax
je 0x4c32f2
mov ecx, dword [edi]
mov eax, dword [ecx]
mov ecx, dword [ecx + 8]
test eax, eax
jle 0x4c32c4
add ecx, 0x10
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x4c32b4
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov edx, dword [edx + 8]
test eax, eax
jle 0x4c32dd
lea ecx, [edx + 0x10]
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x4c32d0
fld qword [0x585080]
fcom qword [edi + 0x20]
fnstsw ax
test ah, 5
jp 0x4c32f9
fstp qword [edi + 0x20]
jmp 0x4c32fb
fld1
fstp qword [edi + 0x20]
jmp 0x4c32fb
fstp st(0)
mov eax, esi
call fcn.00479860
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xdc], ecx
test eax, eax
je 0x4c3364
mov edx, dword [eax]
inc edx
mov dword [ebp - 0xa4], edx
jmp 0x4c336e
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x74]
lea ecx, [ebp - 0xe8]
push ecx
mov dword [ebp - 0xa0], eax
call fcn.0048b7c0
mov ebx, dword [ebp - 0x34]
lea edx, [ebp - 0xe8]
push edx
call fcn.0048b7c0
mov ecx, dword [ebp - 0x44]
xor edi, edi
add esp, 8
cmp ecx, edi
je 0x4c33b0
lea eax, [ebp - 0xe8]
push eax
call fcn.0048b780
add esp, 4
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x38], edi
cmp dword [ebp - 0x8c], edi
jle 0x4c340b
jmp 0x4c33d0
or byte [ebp - 0xcc], 8
mov edx, dword [ebp - 0x90]
mov eax, dword [edi + edx]
mov ebx, dword [eax + 0x10]
lea ecx, [ebp - 0xe8]
push ecx
call fcn.0048b7c0
mov eax, dword [ebp - 0x38]
and byte [ebp - 0xcc], 0xf7
inc eax
add esp, 4
add edi, 0x10
mov dword [ebp - 0x38], eax
cmp eax, dword [ebp - 0x8c]
jl 0x4c33d0
mov edx, dword [ebp - 0x4c]
cmp byte [edx + 0x38], 0
jne 0x4c429a
cmp dword [ebp - 0x28], 0
je 0x4c3f19
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0x48]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0xac], eax
inc eax
push ebx
push edi
mov dword [edi + 0x48], eax
call fcn.00498b00
mov ecx, dword [ebp - 0xac]
push 0xfffffffffffffff0
push eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xa4]
push 0
push eax
push ecx
push 0x2b
mov eax, esi
call fcn.00481fc0
inc dword [edi + 0x4c]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x70], eax
inc eax
mov dword [ebp - 0x80], eax
inc eax
mov dword [ebp - 0x88], eax
mov dword [edi + 0x4c], eax
mov eax, esi
call fcn.00479860
inc dword [edi + 0x4c]
mov edx, dword [edi + 0x4c]
mov dword [ebp - 0x78], eax
mov eax, esi
mov dword [ebp - 0x48], edx
call fcn.00479860
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x4c]
lea ecx, [eax + 1]
add eax, dword [ebx]
mov dword [ebp - 0x64], ecx
mov dword [edi + 0x4c], eax
mov edx, dword [ebx]
lea ecx, [eax + 1]
add edx, eax
mov eax, dword [ebp - 0x80]
push eax
push 0
push 7
mov eax, esi
mov dword [ebp - 0x68], ecx
mov dword [edi + 0x4c], edx
call fcn.00479800
mov ecx, dword [ebp - 0x70]
push ecx
push 0
push 7
mov eax, esi
call fcn.00479800
mov eax, dword [ebp - 0x64]
mov edx, dword [ebx]
lea ecx, [edx + eax - 1]
push ecx
push eax
push 0
push 0xa
mov eax, esi
call fcn.00479700
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x48]
add esp, 0x48
push edx
push eax
push 2
mov eax, esi
call fcn.00479800
push 0
push 0
push 0
push ebx
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x60]
push ecx
push edx
push edi
call fcn.004be420
add esp, 0x28
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x4c429a
movzx ecx, word [eax + 8]
cmp ecx, dword [ebx]
jne 0x4c352a
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
jmp 0x4c384d
cmp byte [ebp - 0xbc], 0
je 0x4c3541
mov edx, dword [ebp - 0x2c]
test byte [edx + 6], 1
mov eax, str.DISTINCT
je 0x4c3546
mov eax, str.GROUP_BY
mov ecx, edi
call fcn.00485ac0
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
inc eax
cmp dword [ebp - 0x98], 0
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], eax
mov ecx, eax
jle 0x4c3595
mov edx, dword [ebp - 0x9c]
add edx, 0xc
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x1c]
cmp dword [edx], ecx
jl 0x4c3589
inc eax
inc ecx
add dword [ebp - 0x1c], 0x18
dec dword [ebp - 0x18]
jne 0x4c3580
mov dword [ebp - 0x18], eax
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 0x40]
mov dword [ebp - 0x40], edx
cmp eax, ecx
jg 0x4c35ae
add edx, eax
sub ecx, eax
mov dword [edi + 0x40], edx
mov dword [edi + 0x3c], ecx
jmp 0x4c35bc
mov ecx, dword [edi + 0x4c]
lea edx, [ecx + 1]
add eax, ecx
mov dword [ebp - 0x40], edx
mov dword [edi + 0x4c], eax
mov eax, edi
call fcn.004717d0
mov edx, dword [ebp - 0x40]
push 0
push edi
mov eax, ebx
call fcn.0047ba20
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0xac]
push eax
push edx
push 0x37
mov eax, esi
call fcn.00479800
mov eax, dword [ebp - 0x38]
add esp, 0x14
cmp dword [ebp - 0x98], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], 0
jle 0x4c3674
mov ecx, dword [ebp - 0x40]
add ecx, eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x1c], ecx
xor ebx, ebx
mov ecx, dword [ebp - 0x24]
cmp dword [ebx + eax + 0xc], ecx
jl 0x4c3662
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + eax + 4]
mov edi, dword [ebp - 0x20]
push 0
push edx
mov edx, dword [ebx + eax]
mov eax, dword [ebx + eax + 8]
push ecx
push edx
call fcn.0049f060
add esp, 0x10
cmp dword [ebp - 0x1c], eax
je 0x4c3651
mov ecx, dword [ebp - 0x1c]
push ecx
push eax
push 0xf
mov eax, esi
call fcn.00479800
add esp, 0xc
mov eax, 1
add dword [ebp - 0x24], eax
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x38]
inc ecx
add ebx, 0x18
mov dword [ebp - 0x38], ecx
cmp ecx, dword [ebp - 0x98]
jl 0x4c3614
mov al, byte [edi + 0x13]
test al, al
jne 0x4c3686
inc dword [edi + 0x4c]
mov edx, dword [edi + 0x4c]
mov dword [ebp - 0x1c], edx
jmp 0x4c3695
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ecx, dword [edi + eax*4 + 0x1c]
mov dword [ebp - 0x1c], ecx
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
jg 0x4c36a8
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c36d6
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x40]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x1c]
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x1f
mov ebx, dword [esi + 0x1c]
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x24], edx
cmp dword [esi + 0x20], ebx
jg 0x4c36f2
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c371b
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x24]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x1c]
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], 0x60
cmp dword [ebp - 0x1c], 0
mov ebx, dword [ebp - 0x20]
je 0x4c374c
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x4c374c
mov edi, dword [ebp - 0x1c]
xor eax, eax
lea ecx, [ebx + 0x64]
cmp dword [ecx + 0x10], edi
je 0x4c3796
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x4c3734
movzx edx, dl
mov dword [ebx + edx*4 + 0x1c], edi
inc byte [ebx + 0x13]
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x40]
mov eax, ebx
call fcn.00471540
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebx + 0x3c]
jle 0x4c3769
mov ecx, eax
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x40], edi
mov edx, dword [ebp - 0x6c]
push edx
call fcn.0047e090
mov ecx, dword [ebx + 0x48]
lea eax, [ecx + 1]
mov dword [ebx + 0x48], eax
mov al, byte [ebx + 0x13]
add esp, 4
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0xa8], ecx
test al, al
jne 0x4c379c
inc dword [ebx + 0x4c]
mov edx, dword [ebx + 0x4c]
jmp 0x4c37a8
mov byte [ecx + 8], 1
jmp 0x4c374c
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 - 0x1c], edx
mov dword [ebp - 0x24], eax
cmp dword [esi + 0x20], eax
jg 0x4c37c7
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c37f2
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x24]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x1c]
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 - 0xac]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x20], eax
jg 0x4c3814
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c383d
mov eax, dword [ebp - 0x18]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x24]
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 - 0xaf], 1
call fcn.004717d0
xor ebx, ebx
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x20]
call fcn.004717d0
cmp dword [ebp - 0x3c], ebx
je 0x4c38ab
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x20], eax
jg 0x4c3882
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c38ab
mov eax, dword [ebp - 0x18]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x24]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x1c]
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], 0x3e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], ebx
cmp dword [eax], ebx
jle 0x4c39fa
lea esp, [esp]
cmp dword [ebp - 0x3c], ebx
je 0x4c392b
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x1c], eax
cmp dword [esi + 0x20], eax
jg 0x4c38db
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c3907
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x1c]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 8], ecx
add ecx, dword [ebp - 0x68]
mov byte [eax + 3], bl
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov word [eax], 0x1d
cmp dword [ebp - 0x24], ebx
jne 0x4c39e8
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x4c39e8
mov eax, dword [esi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x20
jmp 0x4c39e8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x68]
lea edx, [eax + ecx]
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 0xb0], 1
mov dword [ebp - 0x1c], edx
mov edx, dword [ecx + 8]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4]
cmp eax, ebx
je 0x4c3989
cmp byte [eax], 0x84
jne 0x4c3989
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 0x20]
mov edi, dword [ecx + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [edi + 0x20], eax
jg 0x4c3973
call fcn.00479680
test eax, eax
jne 0x4c39e8
mov eax, dword [ebp - 0x18]
inc dword [edi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov word [eax], 0xe
jmp 0x4c39d3
mov edi, dword [ebp - 0x1c]
push edi
push eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.004b5550
add esp, 0xc
mov dword [ebp - 0x38], eax
cmp eax, edi
je 0x4c39e8
mov ecx, dword [ebp - 0x20]
mov edi, dword [ecx + 8]
cmp edi, ebx
je 0x4c39e8
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [edi + 0x20], eax
jg 0x4c39bf
call fcn.00479680
test eax, eax
jne 0x4c39e8
mov eax, dword [ebp - 0x18]
inc dword [edi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov word [eax], 0xf
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
mov byte [eax + 3], bl
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, dword [ecx]
jl 0x4c38c0
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x1c], eax
cmp dword [esi + 0x20], eax
jg 0x4c3a1f
mov edi, esi
call fcn.00479680
test eax, eax
je 0x4c3a1f
mov eax, 1
jmp 0x4c3a4d
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x1c]
inc dword [esi + 0x1c]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x64]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x68]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x18]
mov byte [eax + 3], bl
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov word [eax], 0x18
mov eax, ecx
mov ecx, dword [ebp - 0x50]
push ecx
push esi
mov ecx, 0xfffffffa
call fcn.00479ac0
mov eax, dword [esi + 0x1c]
add esp, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
cmp dword [esi + 0x20], eax
jg 0x4c3a78
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c3a9f
inc dword [esi + 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
inc ecx
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov word [eax], 0x19
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x64]
mov esi, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x20]
push edx
push eax
call fcn.0047b670
mov esi, dword [ebp - 0x7c]
mov ebx, dword [esi + 0x1c]
add esp, 8
cmp dword [esi + 0x20], ebx
jg 0x4c3acd
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c3afa
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x78]
xor ebx, ebx
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
jmp 0x4c3afc
xor ebx, ebx
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x50], eax
cmp dword [esi + 0x20], eax
jg 0x4c3b15
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c3b3b
mov eax, dword [ebp - 0x50]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x80]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x54]
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 - 0x50], eax
cmp dword [esi + 0x20], eax
jg 0x4c3b51
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c3b7a
mov eax, dword [ebp - 0x50]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x48]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x5c]
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 [ebp - 0x1c]
cmp eax, ebx
jl 0x4c3b92
mov ecx, dword [esi + 0x1c]
cmp ecx, eax
jbe 0x4c3b92
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 8], ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0xb0]
push eax
push ecx
call fcn.0049aad0
mov eax, dword [esi + 0x1c]
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [esi + 0x20], eax
jg 0x4c3bbb
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c3be6
mov eax, dword [ebp - 0x50]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov ecx, 1
add dword [esi + 0x1c], ecx
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x70]
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 - 0x3c], ebx
je 0x4c3c38
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x50], eax
cmp dword [esi + 0x20], eax
jg 0x4c3c0a
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c3c79
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x50]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x64]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x84]
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 0x4c3c79
mov edx, dword [ebp - 0x6c]
push edx
call fcn.0047e090
mov ecx, dword [esi + 4]
add esp, 4
cmp ecx, ebx
je 0x4c3c79
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.00479990
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 0x4c3c8f
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c3cbb
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 - 0x88]
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 0x4c3cd4
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c3cf7
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 - 0x18], eax
mov dword [ebp - 0x84], eax
cmp dword [esi + 0x20], eax
jg 0x4c3d13
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c3d3e
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x18]
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 - 0x80]
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 0x4c3d54
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c3d7d
mov eax, dword [ebp - 0x30]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x88]
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 0x4c3d95
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 - 0x18], eax
cmp dword [esi + 0x20], eax
jg 0x4c3dab
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c3dd4
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x70]
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 0x4c3dea
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c3e13
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x88]
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 - 0xb0]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00486c80
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x20]
push 8
inc edi
push edi
push ecx
push edx
call fcn.004b2910
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x34]
push edi
push ecx
lea edx, [ebp - 0xbc]
push edx
mov edx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ebx
push ebx
push ecx
push eax
push edx
call fcn.004983b0
mov eax, dword [esi + 0x1c]
add esp, 0x3c
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x4c3e78
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c3ea1
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x88]
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 0x4c3eb9
mov ecx, dword [ebp - 0x5c]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0xb0]
push edx
push eax
call fcn.0049a8e0
mov eax, dword [esi + 0x1c]
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x4c3eeb
mov edi, esi
call fcn.00479680
mov esi, dword [ebp - 0x7c]
test eax, eax
jne 0x4c421c
xor ebx, ebx
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x30]
inc dword [esi + 0x1c]
mov esi, dword [ebp - 0x7c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x48]
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 0x4c421c
mov ebx, dword [ebp - 0x2c]
lea ecx, [ebp - 0xb0]
mov eax, ebx
mov dword [ebp - 0x70], 0
call fcn.004733e0
mov edi, eax
mov dword [ebp - 0x50], edi
test edi, edi
je 0x4c4108
mov ebx, dword [ebp - 0x20]
mov esi, dword [edi + 0x40]
mov ecx, dword [ebx]
call fcn.00472db0
mov ecx, dword [ebx + 0x48]
mov dword [ebp - 0x5c], ecx
inc ecx
mov dword [ebx + 0x48], ecx
mov edx, dword [edi + 0x20]
mov dword [ebp - 0x80], eax
xor esi, esi
push eax
mov eax, ebx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x78], edx
call fcn.004affe0
mov eax, dword [edi]
mov ecx, dword [edi + 0x20]
mov edx, dword [ebp - 0x80]
push eax
push esi
push ecx
push edx
mov eax, ebx
call fcn.0047bf00
mov eax, dword [edi + 8]
add esp, 0x14
test eax, eax
je 0x4c3fce
lea ebx, [ebx]
cmp byte [eax + 0x2e], 0
jne 0x4c3fa4
test esi, esi
je 0x4c3fa2
mov ecx, dword [eax + 0x24]
cmp ecx, dword [esi + 0x24]
jge 0x4c3fa4
mov esi, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4c3f90
mov dword [ebp - 0x64], esi
test esi, esi
je 0x4c3fce
movsx edx, word [edi + 0x26]
cmp dword [esi + 0x24], edx
jge 0x4c3fce
mov eax, dword [esi + 0x28]
push esi
push ebx
mov dword [ebp - 0x78], eax
call fcn.00495a50
add esp, 8
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 0x7c]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x4c3fe7
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c4018
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 - 0x5c]
mov edx, dword [ebp - 0x78]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x80]
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 - 0x3c], 0
je 0x4c4060
mov ecx, dword [esi + 4]
mov edi, dword [esi]
test ecx, ecx
je 0x4c4053
cmp byte [edi + 0x38], 0
jne 0x4c4053
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.00479990
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
mov ebx, dword [ebp - 0x20]
jmp 0x4c4060
mov ecx, dword [ebp - 0x3c]
mov eax, 0xfffffff0
call fcn.00479990
mov ecx, dword [ebp - 0x90]
mov eax, dword [esi + 0x1c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x4c4085
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c40b4
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x5c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x84]
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 0x4c40ca
mov edi, esi
call fcn.00479680
test eax, eax
jne 0x4c40f3
mov eax, dword [ebp - 0x30]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x5c]
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 - 0x64]
mov eax, dword [ebp - 0x50]
mov edx, ebx
call fcn.00486d90
mov esi, dword [ebp - 0x7c]
jmp 0x4c41da
mov eax, ebx
xor edi, edi
call fcn.00473370
mov byte [ebp - 0x25], al
test al, al
je 0x4c4154
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ebp - 0x4c]
push edi
push edx
push ebx
call fcn.0047b1b0
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x70], edi
test edi, edi
je 0x4c4154
cmp byte [ebx + 0x38], 0
jne 0x4c4154
cmp byte [ebp - 0x25], 1
mov ecx, dword [edi + 8]
setne al
mov byte [ecx + 0xc], al
mov edx, dword [edi + 8]
mov eax, dword [edx]
mov byte [eax], 0x98
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp - 0xb0]
push ecx
push ebx
call fcn.0049a8e0
movzx eax, byte [ebp - 0x25]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x60]
push 0
push eax
push 0
push edi
push ecx
push edx
push ebx
call fcn.004be420
mov edi, eax
add esp, 0x24
test edi, edi
jne 0x4c419a
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x4c]
push eax
push ecx
call fcn.0047b530
add esp, 8
jmp 0x4c429d
lea edx, [ebp - 0xb0]
push edx
push ebx
call fcn.0049aad0
add esp, 8
cmp word [edi + 8], 0
jbe 0x4c41c3
mov eax, dword [edi + 0x18]
push eax
push 0
push 1
mov eax, esi
call fcn.00479800
add esp, 0xc
push edi
call fcn.0047e090
lea ecx, [ebp - 0xb0]
push ecx
mov eax, ebx
call fcn.00486c80
add esp, 8
mov edi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x44]
push 8
push edi
push edx
push ebx
mov dword [ebp - 0x34], 0
call fcn.004b2910
mov eax, dword [ebp - 0x58]
push edi
push edi
push eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push ecx
push eax
push ebx
call fcn.004983b0
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x4c]
push edx
push eax
call fcn.0047b530
add esp, 0x40
mov eax, dword [esi + 0x28]
mov ebx, dword [ebp - 0x20]
test eax, eax
je 0x4c4237
mov ecx, dword [ebp - 0x54]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [eax], ecx
cmp byte [ebp - 0xbb], 3
jne 0x4c424c
mov eax, str.DISTINCT
mov ecx, ebx
call fcn.00485ac0
cmp dword [ebp - 0x34], 0
je 0x4c4276
mov eax, str.ORDER_BY
mov ecx, ebx
call fcn.00485ac0
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp - 0x2c]
push ecx
push esi
push edx
push ebx
call fcn.00485cc0
add esp, 0x14
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4c4291
mov ecx, dword [ebp - 0xc4]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [eax], ecx
mov dword [ebp - 0x24], 0
jmp 0x4c429d
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc0]
mov dword [ebx + 0x1e4], edx
test edi, edi
jne 0x4c42c9
mov eax, dword [ebp - 0x58]
cmp byte [eax], 5
jne 0x4c42c9
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x60]
push ecx
push edx
push ebx
call fcn.0048f2f0
add esp, 0xc
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x9c]
mov ecx, esi
call fcn.0046a740
mov eax, dword [ebp - 0x90]
mov ecx, esi
call fcn.0046a740
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00534bba
mov esp, ebp
pop ebp
ret