Function at 0x48d7d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x5903c4]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x60], eax
push edi
mov edi, edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], edi
mov eax, dword [esi + 0x224]
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x228]
mov dword [esi + 0x224], eax
inc eax
mov dword [esi + 0x228], eax
mov eax, dword [esi]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x54], eax
test edi, edi
je 0x48f291
cmp byte [eax + 0x1e], 0
jne 0x48f291
cmp dword [esi + 0x40], 0
jne 0x48f291
push 0
push 0
push 0
mov edx, 0x15
call fcn.00476280
add esp, 0xc
test eax, eax
jne 0x48f291
push 0x30
push eax
lea eax, [esp + 0x94]
push eax
call fcn.0051df40
mov eax, dword [esp + 0x70]
add esp, 0xc
cmp byte [eax], 4
ja 0x48d89c
mov edx, dword [edi + 0x18]
mov ecx, dword [esp + 0x54]
call fcn.0046fa80
mov eax, 0xfffe
mov dword [edi + 0x18], 0
and word [edi + 6], ax
push 0
mov edx, edi
mov ecx, esi
call fcn.0048d100
mov eax, dword [edi + 0x18]
add esp, 4
cmp dword [esi + 0x40], 0
mov ecx, dword [edi]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
jne 0x48f22f
mov edx, dword [esp + 0x54]
cmp byte [edx + 0x1e], 0
jne 0x48f22f
movzx eax, word [edi + 6]
mov ecx, esi
shr eax, 2
and eax, 1
mov dword [esp + 0x84], eax
call fcn.0048a060
mov edi, eax
mov dword [esp + 0x70], edi
test edi, edi
je 0x48f227
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x64]
cmp dword [edx], 1
movzx eax, byte [eax]
jle 0x48d92d
cmp eax, 6
je 0x48d91a
cmp eax, 7
jne 0x48d92d
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push esi
call fcn.00447180
add esp, 8
jmp 0x48f227
mov ecx, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x14], edx
cmp dword [ecx + 0x1c], edx
jne 0x48d9a1
mov eax, dword [esp + 0x24]
movsx eax, word [eax]
cmp edx, eax
jge 0x48d9a1
mov esi, dword [esp + 0x24]
mov eax, edx
shl eax, 6
mov dword [esp + 0x5c], eax
mov esi, dword [eax + esi + 0x18]
test esi, esi
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x30]
je 0x48d992
mov edx, dword [esp + 0x24]
cmp dword [eax + edx + 0x1c], 0
je 0x48da22
push dword [eax + edx + 0x1c]
mov ecx, edi
push dword [eax + edx + 0x20]
mov edx, 2
call fcn.0045eff0
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
inc edx
cmp dword [ecx + 0x1c], 0
mov dword [esp + 0x14], edx
je 0x48d940
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx]
mov dword [esp + 0x80], edx
movzx edx, word [ecx + 6]
mov dword [esp + 0x28], eax
and edx, 1
cmp dword [ecx + 0x1c], 0
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x60], edx
je 0x48dc12
cmp dword [ecx + 0x24], 0
jne 0x48dbe1
xor edi, edi
mov eax, ecx
xor edx, edx
mov dword [eax + 0x20], edi
inc edx
mov dword [eax + 0x24], ecx
mov edi, eax
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x48d9e8
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x48dbe1
cmp edx, eax
jle 0x48dbe1
push str.too_many_terms_in_compound_SELECT
push esi
call fcn.00447180
add esp, 8
jmp 0x48f227
call fcn.0046e950
add dword [esi + 0x218], eax
mov ecx, esi
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x88]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.0048c300
add esp, 0xc
test eax, eax
je 0x48da85
cmp dword [esp + 0x34], 0
je 0x48da79
mov eax, dword [esp + 0x20]
mov dword [esp + 0x84], 1
or word [eax + 6], 4
or eax, 0xffffffff
mov dword [esp + 0x14], eax
jmp 0x48db9c
mov edx, dword [esp + 0x5c]
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x48]
inc eax
mov dword [esi + 0x48], eax
mov dword [edx + ecx + 0x20], eax
mov edx, 7
push eax
push 0
mov ecx, edi
call fcn.0045eff0
mov ecx, dword [esp + 0x64]
add esp, 8
mov edx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
inc eax
cmp byte [ecx + edx + 0x26], 0
mov dword [ecx + edx + 0x1c], eax
jne 0x48dae1
mov ecx, esi
call fcn.0046fe50
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + edx + 0x28]
mov dword [esp + 0x110], eax
mov al, byte [esi + 0x228]
mov word [esp + 0x10c], 9
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov byte [ecx + edx + 0x27], al
lea eax, [esp + 0x10c]
mov edx, dword [esp + 0x2c]
mov ecx, esi
push eax
call fcn.0048d7d0
mov eax, dword [esp + 0x30]
add esp, 4
movsd xmm0, qword [eax + 0x48]
call fcn.0051a541
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + esi + 0x14]
mov esi, dword [esp + 0x30]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x80]
test eax, eax
je 0x48db61
mov edx, eax
mov ecx, edi
call fcn.0045f4d0
mov eax, dword [esp + 0x5c]
mov edx, 3
mov ecx, dword [esp + 0x24]
push dword [eax + ecx + 0x20]
mov ecx, edi
call fcn.0045ef90
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x34]
cmp dword [edi + 0x1c], eax
jbe 0x48db91
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov byte [esi + 0x13], 0
mov dword [esi + 0x38], 0
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x1e], 0
jne 0x48f227
mov ecx, dword [esp + 0x20]
call fcn.0046e950
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x64]
sub dword [esi + 0x218], eax
mov eax, dword [ecx + 8]
cmp byte [edx], 4
mov dword [esp + 0x24], eax
jbe 0x48dbd8
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x14]
jmp 0x48d996
push dword [esp + 0x64]
mov edx, ecx
mov ecx, esi
call fcn.0048a280
mov edx, dword [esp + 0x8c]
add esp, 4
mov dword [esi + 0x224], edx
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00519876
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x4c]
mov ecx, eax
call fcn.00472e90
test eax, eax
jne 0x48dc3d
mov eax, dword [esp + 0x54]
mov ecx, 0
test byte [eax + 0xc], 0x20
mov eax, dword [esp + 0x4c]
cmove eax, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x20]
mov al, byte [ecx + 6]
and al, 5
cmp al, 1
jne 0x48dd8d
mov edx, dword [ecx]
mov ecx, dword [esp + 0x4c]
call fcn.00472e90
test eax, eax
jne 0x48dd8d
mov eax, dword [esp + 0x20]
mov ecx, 0xfffe
push 0
and word [eax + 6], cx
mov edx, dword [eax]
mov ecx, dword [esp + 0x58]
call fcn.0046f2c0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x74], ecx
mov dword [eax + 0x10], ecx
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x64]
cmp byte [eax], 9
jne 0x48dcc2
mov edx, dword [esp + 0x28]
mov ecx, edi
push dword [edx]
mov edx, 0x2a
push dword [eax + 4]
call fcn.0045eff0
add esp, 8
mov ecx, edi
call fcn.0045f260
movsd xmm0, qword [0x57c968]
mov ecx, eax
mov eax, dword [esp + 0x20]
mov edx, eax
mov dword [esp + 0xbc], ecx
push ecx
mov ecx, esi
movsd qword [eax + 0x48], xmm0
call fcn.0048a090
mov ecx, dword [esp + 0x24]
add esp, 4
cmp dword [ecx + 0x30], 0
jne 0x48dd17
mov eax, dword [esp + 0x2c]
test eax, eax
js 0x48dd17
mov edx, eax
mov ecx, edi
call fcn.0045f7c0
mov ecx, dword [esp + 0x20]
mov byte [eax], 0x2b
or word [ecx + 6], 0x40
test byte [ecx + 6], 1
je 0x48dde0
mov eax, dword [esi + 0x44]
mov dword [esp + 0x5c], eax
inc eax
mov dword [esi + 0x44], eax
mov edx, dword [ecx]
mov ecx, esi
call fcn.00489040
push 0xfffffffffffffff0
push eax
push 0
push 0
push dword [esp + 0x6c]
mov edx, 0x2a
mov ecx, edi
call fcn.0045f050
mov ecx, dword [edi + 4]
add esp, 0x14
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x48dd65
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x10
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x84], 0
mov eax, dword [esp + 0x14]
jne 0x48e099
test eax, eax
jne 0x48e099
cmp dword [esp + 0x60], eax
je 0x48ddf5
mov eax, dword [ecx]
jmp 0x48ddf7
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x48dc99
mov edx, eax
mov ecx, esi
call fcn.00489040
mov edx, dword [esp + 0x4c]
mov ecx, eax
mov eax, dword [esi + 0x44]
push 0xfffffffffffffff0
push ecx
mov dword [edx + 8], eax
mov ecx, edi
inc dword [esi + 0x44]
mov eax, dword [edx]
push 0
add eax, 2
push eax
push dword [edx + 8]
mov edx, 0x2a
call fcn.0045f050
mov ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [eax + 0x40], ecx
jmp 0x48dca1
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x5c], 0xffffffff
jmp 0x48dd69
xor eax, eax
mov edx, dword [esp + 0x24]
mov ecx, esi
push 0
push eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x84]
call fcn.00498b90
add esp, 0x10
mov dword [esp + 0x3c], eax
test eax, eax
je 0x48f227
movsd xmm1, qword [eax + 0x30]
mov eax, dword [esp + 0x20]
movsd xmm0, qword [eax + 0x48]
comisd xmm0, xmm1
jbe 0x48de39
movsd qword [eax + 0x48], xmm1
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x4c], ecx
test eax, eax
js 0x48de61
test ecx, ecx
jne 0x48de61
mov edx, eax
mov ecx, edi
call fcn.0045f610
mov eax, dword [esp + 0x20]
mov dword [eax + 0x40], 0xffffffff
mov eax, dword [esp + 0x3c]
mov cl, byte [eax + 8]
mov byte [esp + 0x1b], cl
test cl, cl
je 0x48e063
mov edx, dword [esp + 0x40]
mov ecx, edi
call fcn.0045f7c0
cmp byte [esp + 0x1b], 2
mov ecx, eax
mov dword [esp + 0x5c], 0xffffffff
jne 0x48e05c
inc dword [esi + 0x48]
mov eax, dword [esi + 0x48]
mov dword [esp + 0x14], eax
push 1
lea edx, [eax + 1]
mov eax, dword [esp + 0x2c]
push edx
mov eax, dword [eax]
lea edi, [eax + edx]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x1c]
lea eax, [edi + eax*2]
mov dword [esi + 0x48], eax
mov eax, edi
mov byte [ecx], 7
mov dword [ecx + 4], 1
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.004725d0
mov edi, dword [esp + 0x78]
mov edx, 0x1b
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 0x1c]
mov eax, dword [eax]
add ecx, 3
add eax, ecx
mov ecx, edi
mov dword [esp + 0x24], eax
dec eax
push eax
push dword [esp + 0x20]
call fcn.0045eff0
mov eax, dword [esp + 0x38]
add esp, 0x10
mov dword [esp + 0x40], 0
cmp dword [eax], 0
jle 0x48e014
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [esp + 0x68]
inc edx
sub eax, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x34], eax
nop
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0xc]
mov edx, dword [edx + ecx]
mov ecx, esi
call fcn.0046e470
mov ecx, dword [esp + 0x2c]
mov edx, 0x4b
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34]
add eax, ecx
push eax
push dword [esp + 0x20]
push ecx
mov ecx, edi
call fcn.0045eed0
mov edx, dword [edi + 4]
add esp, 0xc
mov ecx, dword [edi]
mov dword [esp + 0x7c], edx
test edx, edx
je 0x48dfc9
cmp byte [ecx + 0x1e], 0
jne 0x48dfc9
mov eax, dword [edi + 0x1c]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
movsx edx, byte [edx + eax*4 + 1]
mov dword [esp + 0x4c], eax
call fcn.0045f4f0
mov eax, dword [esp + 0x80]
add esp, 4
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x80]
mov dword [eax + ecx*4 + 0x10], 0
test edx, edx
jne 0x48dfbe
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
jmp 0x48dfde
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], 0xfc
jmp 0x48dfde
mov edx, dword [esp + 0x80]
push edx
mov edx, 0xfffffffc
call fcn.0045f4f0
add esp, 4
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x48dff0
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x80
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
inc eax
mov ecx, dword [esp + 0x6c]
inc dword [esp + 0x2c]
add ecx, 0x14
mov dword [esp + 0x40], eax
mov dword [esp + 0x6c], ecx
cmp eax, dword [edx]
jl 0x48df30
mov eax, dword [esp + 0x3c]
mov edx, 1
mov ecx, edi
push dword [eax + 0x14]
push 0
call fcn.0045eff0
push dword [esp + 0x1c]
mov edx, 7
mov ecx, edi
push 0
call fcn.0045eff0
mov eax, dword [esp + 0x38]
mov edx, 0xd
mov ecx, edi
push dword [eax]
mov eax, dword [esp + 0x28]
push dword [esp + 0x7c]
inc eax
push eax
call fcn.0045eed0
add esp, 0x1c
jmp 0x48e05f
mov byte [ecx], 0x95
mov eax, dword [esp + 0x3c]
push dword [eax + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, esi
push dword [eax + 0x14]
push dword [esp + 0x6c]
push dword [esp + 0x68]
push dword [esp + 0x5c]
push 0
push 0
push dword [esp + 0x44]
call fcn.00488bf0
mov ecx, dword [esp + 0x5c]
add esp, 0x20
call fcn.00499790
jmp 0x48f1c4
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], 0
test eax, eax
je 0x48e10e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
jle 0x48e0d2
add edx, 0x10
nop dword [eax + eax]
xor edi, edi
lea edx, [edx + 0x14]
dec eax
mov word [edx - 0x14], di
test eax, eax
jg 0x48e0c0
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
jle 0x48e0f4
add edx, 0x10
xor esi, esi
lea edx, [edx + 0x14]
dec eax
mov word [edx - 0x14], si
test eax, eax
jg 0x48e0e2
mov esi, dword [esp + 0x30]
movsd xmm0, qword [ecx + 0x48]
movsd xmm1, qword [0x57c8f8]
comisd xmm0, xmm1
jbe 0x48e11b
movsd qword [ecx + 0x48], xmm1
jmp 0x48e11b
movsd xmm0, qword [0x57c8a8]
movsd qword [ecx + 0x48], xmm0
mov ecx, edi
call fcn.0045f260
mov ecx, dword [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
movaps xmmword [esp + 0xc0], xmm0
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x8c]
movaps xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xc0], esi
mov dword [esp + 0xdc], eax
test ecx, ecx
je 0x48e178
mov eax, dword [ecx]
inc eax
mov dword [esp + 0x9c], eax
jmp 0x48e183
mov dword [esp + 0x9c], 0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0xc0]
call fcn.004731f0
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc0]
call fcn.004731f0
mov eax, dword [esp + 0x80]
test eax, eax
je 0x48e1e7
lea ecx, [esp + 0xc0]
mov dword [esp + 0xfc], 0x472f20
mov dword [esp + 0x108], ecx
mov edx, eax
lea ecx, [esp + 0xfc]
mov dword [esp + 0x100], 0x4731c0
call fcn.0046cb60
cmp dword [esp + 0xb4], 0
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xac], eax
jle 0x48e23e
xor esi, esi
xor edi, edi
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0xc0]
mov edx, dword [eax + esi]
mov edx, dword [edx + 0x10]
call fcn.004731f0
inc edi
lea esi, [esi + 0x10]
cmp edi, dword [esp + 0xb4]
jl 0x48e210
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x1e], 0
jne 0x48f227
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x48eea2
mov eax, dword [esi + 0x44]
mov edx, ecx
mov dword [esp + 0x90], eax
mov ecx, esi
inc eax
mov dword [esi + 0x44], eax
call fcn.00489040
push 0xfffffffffffffff0
push eax
push 0
push dword [esp + 0xa8]
mov edx, 0x2b
mov dword [esp + 0x60], eax
push dword [esp + 0xa0]
mov ecx, edi
call fcn.0045f050
inc dword [esi + 0x48]
add esp, 0x14
mov dword [esp + 0x44], eax
mov ecx, edi
mov eax, dword [esi + 0x48]
mov dword [esp + 0x3c], eax
add eax, 2
mov dword [esi + 0x48], eax
call fcn.0045f260
inc dword [esi + 0x48]
mov ecx, edi
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x40], eax
call fcn.0045f260
mov edx, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x48]
inc eax
mov dword [esp + 0x7c], eax
mov eax, dword [edx]
add dword [esi + 0x48], eax
mov ecx, dword [esi + 0x48]
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
mov eax, dword [edx]
mov edx, 7
add eax, ecx
mov ecx, edi
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x3c]
inc eax
push eax
push 0
call fcn.0045eff0
push dword [esp + 0x44]
mov edx, 7
mov ecx, edi
push 0
call fcn.0045eff0
mov eax, dword [esp + 0x24]
mov edx, 0xa
mov ecx, dword [esp + 0x8c]
mov eax, dword [eax]
dec eax
add eax, ecx
push eax
push ecx
push 0
mov ecx, edi
call fcn.0045eed0
add esp, 0x1c
mov edx, 2
mov ecx, edi
push dword [esp + 0x6c]
push dword [esp + 0x44]
call fcn.0045eff0
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x7c]
push 0
push 0
push eax
push dword [esp + 0x8c]
mov ecx, esi
call fcn.00498b90
add esp, 0x18
mov dword [esp + 0x34], eax
test eax, eax
je 0x48f227
mov eax, dword [esp + 0x74]
mov dword [esp + 0x84], eax
test eax, eax
jne 0x48e39a
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0x78], eax
jmp 0x48e71e
cmp dword [esp + 0x60], 0
je 0x48e3b0
mov eax, dword [esp + 0x20]
mov edx, str.DISTINCT
test byte [eax + 6], 1
je 0x48e3b5
mov edx, str.GROUP_BY
mov ecx, esi
call fcn.004890f0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x78], 1
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
inc eax
mov dword [esp + 0x38], eax
mov edx, eax
mov dword [esp + 0x60], eax
mov ecx, eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x48], eax
test eax, eax
jle 0x48e408
mov eax, dword [esp + 0xa0]
add eax, 0xc
cmp dword [eax], ecx
jl 0x48e3fa
inc edx
inc ecx
add eax, 0x18
sub dword [esp + 0x48], 1
jne 0x48e3f4
mov dword [esp + 0x60], edx
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x14], eax
cmp edx, ecx
jg 0x48e422
add eax, edx
sub ecx, edx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], ecx
jmp 0x48e42d
mov eax, dword [esi + 0x48]
inc eax
add dword [esi + 0x48], edx
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.00470fd0
mov edx, dword [esp + 0x74]
push 0
push dword [esp + 0x18]
call fcn.004725d0
mov eax, dword [esp + 0x1c]
mov edx, 0x37
add eax, dword [esp + 0x24]
mov ecx, edi
push eax
push dword [esp + 0x9c]
call fcn.0045eff0
add esp, 0x10
mov dword [esp + 0x48], 0
cmp dword [esp + 0xa4], 0
jle 0x48e501
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x1c], eax
nop word [eax + eax]
mov edx, dword [esp + 0xa0]
mov edi, dword [esp + 0x38]
cmp dword [edx + eax + 0xc], edi
mov edi, dword [esp + 0x70]
jl 0x48e4e8
push ecx
push dword [edx + eax + 4]
mov ecx, esi
push dword [edx + eax + 8]
mov edx, dword [edx + eax]
call fcn.00470f50
mov ecx, dword [esp + 0x80]
add esp, 0xc
cmp ecx, eax
je 0x48e4db
push ecx
push eax
mov edx, 0xf
mov ecx, edi
call fcn.0045eff0
mov ecx, dword [esp + 0x7c]
add esp, 8
inc dword [esp + 0x38]
inc ecx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x48]
add eax, 0x18
inc edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], edx
cmp edx, dword [esp + 0xa4]
jl 0x48e490
mov al, byte [esi + 0x13]
test al, al
jne 0x48e510
inc dword [esi + 0x48]
mov eax, dword [esi + 0x48]
jmp 0x48e51c
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x20], eax
jg 0x48e53b
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48e56f
mov eax, dword [esp + 0x1c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x1f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x20], eax
jg 0x48e595
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48e5cb
mov eax, dword [esp + 0x1c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x60
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x48e5cf
mov edx, dword [esp + 0x38]
test edx, edx
je 0x48e603
mov al, byte [esi + 0x13]
mov byte [esp + 0x1b], al
cmp al, 8
jae 0x48e603
xor ecx, ecx
lea eax, [esi + 0x64]
cmp dword [eax + 0x10], edx
je 0x48e5ff
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x48e5e3
movzx eax, byte [esp + 0x1b]
mov dword [esi + eax*4 + 0x18], edx
inc byte [esi + 0x13]
jmp 0x48e603
mov byte [eax + 8], 1
push dword [esp + 0x60]
mov edx, dword [esp + 0x18]
mov ecx, esi
call fcn.00470d60
mov eax, dword [esp + 0x64]
add esp, 4
cmp eax, dword [esi + 0x38]
jle 0x48e628
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x34]
call fcn.00499790
mov eax, dword [esi + 0x44]
mov dword [esp + 0x48], eax
mov dword [esp + 0x94], eax
inc eax
mov dword [esi + 0x44], eax
mov al, byte [esi + 0x13]
test al, al
jne 0x48e656
inc dword [esi + 0x48]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x38], ecx
jmp 0x48e666
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x20], eax
jg 0x48e681
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48e6b5
mov eax, dword [esp + 0x1c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 0x2c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x20], eax
jg 0x48e6db
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48e70f
mov eax, dword [esp + 0x1c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x58]
mov word [eax + ecx*4], 0x46
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, esi
mov byte [esp + 0x8d], 1
call fcn.00470fd0
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov dword [esp + 0x60], eax
call fcn.00470fd0
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x48e755
push dword [esp + 0x38]
mov edx, 0x3e
mov ecx, edi
push dword [esp + 0x94]
call fcn.0045eff0
mov ecx, dword [esp + 0x80]
add esp, 8
mov edx, dword [esp + 0x84]
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [edx], eax
jle 0x48e862
nop word [eax + eax]
test ecx, ecx
je 0x48e7e3
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x1c], ecx
cmp dword [edi + 0x20], ecx
jg 0x48e793
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48e7c7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc dword [edi + 0x1c]
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 4]
mov esi, dword [esp + 0x48]
mov dword [ecx + edx*4 + 8], eax
add eax, dword [esp + 0x2c]
mov dword [ecx + edx*4 + 4], esi
mov esi, dword [esp + 0x30]
mov word [ecx + edx*4], 0x1d
mov byte [ecx + edx*4 + 3], 0
mov dword [ecx + edx*4 + 0xc], eax
mov dword [ecx + edx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x48e84a
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x48e84a
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x20
jmp 0x48e846
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov byte [esp + 0x8c], 1
mov dword [esp + 0x38], ecx
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x48e818
cmp byte [edx], 0x84
jne 0x48e818
push dword [esp + 0x38]
mov ecx, dword [esi + 0xc]
push dword [edx + 0x18]
mov edx, 0xe
jmp 0x48e83e
push dword [esp + 0x38]
mov ecx, esi
call fcn.004713e0
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x38]
cmp edx, eax
je 0x48e846
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x48e846
push eax
push edx
mov edx, 0xf
call fcn.0045eff0
add esp, 8
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x84]
inc eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x14], eax
cmp eax, dword [edx]
jl 0x48e770
mov eax, dword [edx]
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x1c], edx
cmp dword [edi + 0x20], edx
jg 0x48e88a
mov ecx, edi
call fcn.0045ee50
test eax, eax
je 0x48e886
mov edx, 1
jmp 0x48e8c2
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
inc dword [edi + 0x1c]
mov esi, dword [esp + 0x7c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x30]
mov word [eax + ecx*4], 0x18
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffa
push dword [esp + 0x54]
mov ecx, edi
call fcn.0045f650
mov eax, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x20], eax
jg 0x48e8ed
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48e91e
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
lea esi, [eax + eax*4]
inc dword [edi + 0x1c]
inc eax
mov word [ecx + esi*4], 0x19
mov byte [ecx + esi*4 + 3], 0
mov dword [ecx + esi*4 + 4], eax
mov dword [ecx + esi*4 + 8], 0
mov dword [ecx + esi*4 + 0xc], eax
mov dword [ecx + esi*4 + 0x10], 0
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x84]
mov ecx, esi
mov edx, dword [esp + 0x2c]
push dword [eax]
push dword [esp + 0x80]
call fcn.004711e0
mov eax, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x50], eax
cmp dword [edi + 0x20], eax
jg 0x48e957
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48e996
mov eax, dword [esp + 0x50]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x70]
add edx, 2
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x50], eax
cmp dword [edi + 0x20], eax
jg 0x48e9b1
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48e9ea
mov eax, dword [esp + 0x50]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x58]
mov word [eax + ecx*4], 0x78
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x50], eax
cmp dword [edi + 0x20], eax
jg 0x48ea05
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48ea39
mov eax, dword [esp + 0x50]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x48ea52
mov edx, dword [edi + 0x1c]
cmp edx, eax
jbe 0x48ea52
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], edx
lea edx, [esp + 0x8c]
mov ecx, esi
call fcn.0048d420
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x50], eax
cmp dword [edi + 0x20], eax
jg 0x48ea7b
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48eaaf
mov eax, dword [esp + 0x50]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x48eb17
mov eax, dword [esp + 0x90]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x50], eax
cmp dword [edi + 0x20], eax
jg 0x48eae1
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48eb60
mov eax, dword [esp + 0x50]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 0x51
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x48eb60
mov ecx, dword [esp + 0x34]
call fcn.00499790
mov eax, dword [edi + 4]
mov dword [esp + 0x50], eax
test eax, eax
je 0x48eb60
mov ecx, dword [esp + 0x44]
lea esi, [ecx + ecx*4]
mov ecx, dword [edi]
push dword [eax + esi*4 + 0x10]
movsx edx, byte [eax + esi*4 + 1]
call fcn.0045f4f0
mov eax, dword [esp + 0x54]
xorps xmm0, xmm0
add esp, 4
movups xmmword [eax + esi*4], xmm0
mov dword [eax + esi*4 + 0x10], 0
mov byte [eax + esi*4], 0x95
mov esi, dword [esp + 0x30]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x48eb7b
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48ebba
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x70]
add edx, 2
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x48ebd5
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48ec09
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x58]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x20], eax
jg 0x48ec24
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48ec5d
mov eax, dword [esp + 0x1c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
inc edx
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x48ec78
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48ecb7
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x70]
add edx, 2
mov esi, dword [esp + 0x30]
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x48ecd0
mov eax, dword [esp + 0x68]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x34], eax
cmp dword [edi + 0x20], eax
jg 0x48eceb
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48ed22
mov eax, dword [esp + 0x34]
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
inc dword [edi + 0x1c]
add eax, 2
mov esi, dword [esp + 0x3c]
mov dword [ecx + edx*4 + 4], esi
mov esi, dword [esp + 0x30]
mov word [ecx + edx*4], 0x78
mov byte [ecx + edx*4 + 3], 0
mov dword [ecx + edx*4 + 8], eax
mov dword [ecx + edx*4 + 0xc], 0
mov dword [ecx + edx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x48ed3d
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48ed7c
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x70]
add edx, 2
mov esi, dword [esp + 0x30]
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea edx, [esp + 0x8c]
mov ecx, esi
call fcn.0048d350
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x80]
inc esi
mov ecx, dword [esp + 0x30]
push 8
push esi
call fcn.00472a50
push dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edx, eax
push esi
push dword [esp + 0x74]
mov esi, dword [esp + 0x44]
mov ecx, esi
push dword [esp + 0x70]
push dword [esp + 0x64]
push 0
push 0
push dword [eax]
call fcn.00488bf0
mov eax, dword [edi + 0x1c]
add esp, 0x28
mov dword [esp + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x48ede8
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48ee23
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x70]
add edx, 2
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x48ee3c
mov eax, dword [esp + 0x6c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
lea edx, [esp + 0x8c]
mov ecx, esi
call fcn.0048d190
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x48ee69
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48f1ab
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x48f1ab
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x8c]
mov dword [esp + 0x7c], 0
call fcn.0048c920
mov dword [esp + 0x2c], eax
test eax, eax
je 0x48f063
mov ecx, dword [esi]
mov edx, dword [eax + 0x44]
call fcn.00487a80
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x6c], eax
inc eax
mov dword [esi + 0x44], eax
mov eax, dword [edx + 0x14]
mov edx, ecx
mov dword [esp + 0x1c], ecx
mov ecx, esi
mov dword [esp + 0x40], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x34], eax
call fcn.0047a890
mov eax, dword [esp + 0x2c]
mov ecx, esi
mov edx, dword [esp + 0x1c]
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.00476310
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [edx + 0x10]
test ecx, ecx
je 0x48ef77
xor esi, esi
nop dword [eax + eax]
cmp byte [ecx + 0x1a], 0
jne 0x48ef44
test esi, esi
je 0x48ef42
mov eax, dword [ecx + 4]
cmp eax, dword [esi + 4]
jge 0x48ef44
mov esi, ecx
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x48ef30
mov dword [esp + 0x68], esi
test esi, esi
mov esi, dword [esp + 0x30]
je 0x48ef77
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 8]
jge 0x48ef77
mov eax, dword [ecx + 0x14]
mov edx, ecx
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.0047add0
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x48ef92
mov ecx, edi
call fcn.0045ee50
test eax, eax
jne 0x48efc6
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x6c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x27
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x40]
test edx, edx
je 0x48f01f
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x48f00f
cmp byte [eax + 0x1e], 0
jne 0x48f00f
mov eax, dword [edi + 0x1c]
dec eax
lea esi, [eax + eax*4]
push dword [ecx + esi*4 + 0x10]
movsx edx, byte [ecx + esi*4 + 1]
mov ecx, dword [edi]
call fcn.0045f4f0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dword [eax + esi*4 + 0x10], ecx
mov byte [eax + esi*4 + 1], 0xfa
mov esi, dword [esp + 0x34]
jmp 0x48f01c
push edx
mov edx, 0xfffffff0
mov ecx, eax
call fcn.0045f4f0
add esp, 4
mov eax, dword [esp + 0xb0]
mov edx, 0x20
mov ecx, edi
push dword [eax + 8]
push dword [esp + 0x70]
call fcn.0045eff0
push dword [esp + 0x74]
mov edx, 0x2d
mov ecx, edi
call fcn.0045ef90
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, esi
push dword [esp + 0x68]
call fcn.0048d710
add esp, 4
jmp 0x48f15b
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], 0
call fcn.0048c8b0
mov byte [esp + 0x1b], al
test al, al
je 0x48f0c6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x54]
push 0
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
call fcn.0046f2c0
mov edx, eax
add esp, 4
mov dword [esp + 0x7c], edx
mov dword [esp + 0x40], edx
test edx, edx
je 0x48f0c6
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x1e], 0
jne 0x48f0c6
mov eax, dword [edx + 0xc]
cmp byte [esp + 0x1b], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 0xc]
mov eax, dword [eax]
mov byte [eax], 0x98
lea edx, [esp + 0x8c]
mov ecx, esi
call fcn.0048d190
movzx eax, byte [esp + 0x1b]
mov ecx, esi
mov edx, dword [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x84]
call fcn.00498b90
add esp, 0x10
mov dword [esp + 0x34], eax
test eax, eax
jne 0x48f110
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x54]
call fcn.0046fa80
jmp 0x48f227
lea edx, [esp + 0x8c]
mov ecx, esi
call fcn.0048d420
cmp dword [esp + 0x40], 0
jne 0x48f144
cmp byte [esp + 0x1b], 0
je 0x48f144
mov eax, dword [esp + 0x34]
mov edx, 1
mov ecx, edi
push dword [eax + 0x18]
push 0
call fcn.0045eff0
add esp, 8
mov ecx, dword [esp + 0x34]
call fcn.00499790
lea edx, [esp + 0x8c]
mov ecx, esi
call fcn.0048d350
mov edx, dword [esp + 0x80]
mov ecx, esi
push 8
push dword [esp + 0x5c]
mov dword [esp + 0x54], 0
call fcn.00472a50
mov eax, dword [esp + 0x60]
mov ecx, esi
push eax
push eax
push dword [esp + 0x74]
mov eax, dword [esp + 0x34]
mov edx, eax
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [eax]
call fcn.00488bf0
mov edx, dword [esp + 0xa4]
add esp, 0x28
mov ecx, dword [esp + 0x54]
call fcn.0046fa80
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x48f1c4
mov eax, dword [esp + 0x58]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
cmp dword [esp + 0x5c], 0
jl 0x48f1d7
mov edx, str.DISTINCT
mov ecx, esi
call fcn.004890f0
cmp dword [esp + 0x4c], 0
je 0x48f203
mov edx, str.ORDER_BY
mov ecx, esi
call fcn.004890f0
mov eax, dword [esp + 0x28]
mov ecx, esi
push dword [esp + 0x64]
mov edx, dword [esp + 0x24]
push dword [eax]
push edi
call fcn.00489270
add esp, 0xc
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x48f21f
mov eax, dword [esp + 0xbc]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x88]
mov dword [esi + 0x224], edx
test edi, edi
jne 0x48f25a
mov edx, dword [esp + 0x64]
cmp byte [edx], 5
jne 0x48f25a
push ecx
mov edx, eax
mov ecx, esi
call fcn.00489a50
add esp, 4
push dword [esp + 0xa0]
mov esi, dword [esp + 0x58]
push esi
call fcn.00444f80
push dword [esp + 0xb8]
push esi
call fcn.00444f80
add esp, 0x10
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00519876
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x11c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.00519876
mov esp, ebp
pop ebp
ret