Function at 0x464040
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x55c380]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x68], eax
push edi
mov edi, edx
mov dword [esp + 0x34], 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 + 0x18], 1
mov dword [esp + 0x54], eax
test edi, edi
je 0x465bb1
cmp byte [eax + 0x1e], 0
jne 0x465bb1
cmp dword [esi + 0x40], 0
jne 0x465bb1
push 0
push 0
push 0
mov edx, 0x15
call fcn.0044bc70
add esp, 0xc
test eax, eax
jne 0x465bb1
push 0x30
push eax
lea eax, [esp + 0x94]
push eax
call fcn.004f8b70
mov eax, dword [esp + 0x78]
add esp, 0xc
cmp byte [eax], 4
ja 0x46410c
mov edx, dword [edi + 0x18]
mov ecx, dword [esp + 0x54]
call fcn.00444d70
mov eax, 0xfffe
mov dword [edi + 0x18], 0
and word [edi + 6], ax
push 0
mov edx, edi
mov ecx, esi
call fcn.00463950
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 0x465b4f
mov ecx, dword [esp + 0x54]
cmp byte [ecx + 0x1e], 0
jne 0x465b4b
movzx eax, word [edi + 6]
mov ecx, esi
shr eax, 2
and eax, 1
mov dword [esp + 0x70], eax
call fcn.00460680
mov edi, eax
mov dword [esp + 0x7c], edi
test edi, edi
je 0x465b47
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x6c]
cmp dword [edx], 1
movzx eax, byte [eax]
jle 0x46419a
cmp eax, 6
je 0x464187
cmp eax, 7
jne 0x46419a
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push esi
call fcn.0041b370
add esp, 8
jmp 0x465b47
mov ecx, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x14], edx
cmp dword [ecx + 0x1c], edx
jne 0x464211
mov eax, dword [esp + 0x24]
nop dword [eax]
movsx eax, word [eax]
cmp edx, eax
jge 0x464211
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 + 0x34]
je 0x464202
mov edx, dword [esp + 0x24]
cmp dword [eax + edx + 0x1c], 0
je 0x46429a
push dword [eax + edx + 0x1c]
mov ecx, edi
push dword [eax + edx + 0x20]
mov edx, 2
call fcn.00433550
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 0x4641b0
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 + 0x84], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], edx
je 0x464484
cmp dword [ecx + 0x24], 0
jne 0x464453
xor edi, edi
mov eax, ecx
xor edx, edx
nop dword [eax + eax]
mov dword [eax + 0x20], edi
inc edx
mov dword [eax + 0x24], ecx
mov edi, eax
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x464260
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x464453
cmp edx, eax
jle 0x464453
push str.too_many_terms_in_compound_SELECT
push esi
call fcn.0041b370
add esp, 8
jmp 0x465b47
call fcn.00443bf0
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 + 0x74]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.00462b70
add esp, 0xc
test eax, eax
je 0x4642f7
cmp dword [esp + 0x30], 0
je 0x4642eb
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], 1
or word [eax + 6], 4
or eax, 0xffffffff
mov dword [esp + 0x14], eax
jmp 0x46440e
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.00433550
mov ecx, dword [esp + 0x64]
add esp, 8
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
inc eax
cmp byte [ecx + edx + 0x26], 0
mov dword [ecx + edx + 0x1c], eax
jne 0x464353
mov ecx, esi
call fcn.00445170
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.00464040
mov eax, dword [esp + 0x30]
add esp, 4
movsd xmm0, qword [eax + 0x48]
call fcn.004f6841
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + esi + 0x14]
mov esi, dword [esp + 0x34]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4643d3
mov edx, eax
mov ecx, edi
call fcn.00433a30
mov eax, dword [esp + 0x5c]
mov edx, 3
mov ecx, dword [esp + 0x24]
push dword [eax + ecx + 0x20]
mov ecx, edi
call fcn.004334f0
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x30]
cmp dword [edi + 0x1c], eax
jbe 0x464403
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 0x465b47
mov ecx, dword [esp + 0x20]
call fcn.00443bf0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
sub dword [esi + 0x218], eax
mov eax, dword [ecx + 8]
cmp byte [edx], 4
mov dword [esp + 0x24], eax
jbe 0x46444a
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x14]
jmp 0x464206
push dword [esp + 0x6c]
mov edx, ecx
mov ecx, esi
call fcn.004608a0
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.004f5c8b
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x4c]
mov ecx, eax
call fcn.00448560
test eax, eax
jne 0x4644af
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 0x4645fc
mov edx, dword [ecx]
mov ecx, dword [esp + 0x4c]
call fcn.00448560
test eax, eax
jne 0x4645fc
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.004445b0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x68], 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 + 0x6c]
cmp byte [eax], 9
jne 0x464534
mov edx, dword [esp + 0x28]
mov ecx, edi
push dword [edx]
mov edx, 0x2a
push dword [eax + 4]
call fcn.00433550
add esp, 8
mov ecx, edi
call fcn.004337c0
movsd xmm0, qword [0x54e8b0]
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.004606b0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp dword [ecx + 0x30], 0
jne 0x464589
mov eax, dword [esp + 0x2c]
test eax, eax
js 0x464589
mov edx, eax
mov ecx, edi
call fcn.00433d20
mov ecx, dword [esp + 0x20]
mov byte [eax], 0x2b
or word [ecx + 6], 0x40
test byte [ecx + 6], 1
je 0x46464f
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.0045f590
push 0xfffffffffffffff0
push eax
push 0
push 0
push dword [esp + 0x6c]
mov edx, 0x2a
mov ecx, edi
call fcn.004335b0
mov ecx, dword [edi + 4]
add esp, 0x14
mov dword [esp + 0x44], eax
test ecx, ecx
je 0x4645d7
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 + 0x70], 0
mov eax, dword [esp + 0x14]
jne 0x464909
test eax, eax
jne 0x464909
cmp dword [esp + 0x60], eax
je 0x464664
mov eax, dword [ecx]
jmp 0x464666
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x46450b
mov edx, eax
mov ecx, esi
call fcn.0045f590
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.004335b0
mov ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [eax + 0x40], ecx
jmp 0x464513
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x5c], 0xffffffff
jmp 0x4645db
xor eax, eax
mov edx, dword [esp + 0x24]
mov ecx, esi
push 0
push eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x90]
call fcn.0046fde0
add esp, 0x10
mov dword [esp + 0x50], eax
test eax, eax
je 0x465b47
movsd xmm1, qword [eax + 0x30]
mov eax, dword [esp + 0x20]
movsd xmm0, qword [eax + 0x48]
comisd xmm0, xmm1
jbe 0x4646a8
movsd qword [eax + 0x48], xmm1
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x4c], ecx
test eax, eax
js 0x4646d0
test ecx, ecx
jne 0x4646d0
mov edx, eax
mov ecx, edi
call fcn.00433b70
mov eax, dword [esp + 0x20]
mov dword [eax + 0x40], 0xffffffff
mov eax, dword [esp + 0x50]
mov cl, byte [eax + 8]
mov byte [esp + 0x1f], cl
test cl, cl
je 0x4648d3
mov edx, dword [esp + 0x44]
mov ecx, edi
call fcn.00433d20
cmp byte [esp + 0x1f], 2
mov ecx, eax
mov dword [esp + 0x5c], 0xffffffff
jne 0x4648cc
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 + 0x7c], 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.00447ba0
mov edi, dword [esp + 0x84]
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 + 0x20], eax
dec eax
push eax
push dword [esp + 0x20]
call fcn.00433550
mov eax, dword [esp + 0x38]
add esp, 0x10
mov dword [esp + 0x44], 0
cmp dword [eax], 0
jle 0x464881
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [esp + 0x74]
inc edx
sub eax, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0xc]
mov edx, dword [edx + ecx]
mov ecx, esi
call fcn.00443710
mov ecx, dword [esp + 0x2c]
mov edx, 0x4b
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x30]
add eax, ecx
push eax
push dword [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.00433430
mov edx, dword [edi + 4]
add esp, 0xc
mov ecx, dword [edi]
mov dword [esp + 0x38], edx
test edx, edx
je 0x464836
cmp byte [ecx + 0x1e], 0
jne 0x464836
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 + 0x74], eax
call fcn.00433a50
mov eax, dword [esp + 0x3c]
add esp, 4
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x80]
mov dword [eax + ecx*4 + 0x10], 0
test edx, edx
jne 0x46482b
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
jmp 0x46484b
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], 0xfc
jmp 0x46484b
mov edx, dword [esp + 0x80]
push edx
mov edx, 0xfffffffc
call fcn.00433a50
add esp, 4
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x46485d
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x80
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
inc eax
mov ecx, dword [esp + 0x78]
inc dword [esp + 0x2c]
add ecx, 0x14
mov dword [esp + 0x44], eax
mov dword [esp + 0x78], ecx
cmp eax, dword [edx]
jl 0x4647a0
mov eax, dword [esp + 0x50]
mov edx, 1
mov ecx, edi
push dword [eax + 0x14]
push 0
call fcn.00433550
push dword [esp + 0x1c]
mov edx, 7
mov ecx, edi
push 0
call fcn.00433550
mov eax, dword [esp + 0x38]
mov edx, 0xd
mov ecx, edi
push dword [eax]
mov eax, dword [esp + 0x28]
push dword [esp + 0x88]
inc eax
push eax
call fcn.00433430
add esp, 0x1c
jmp 0x4648cf
mov byte [ecx], 0x95
mov eax, dword [esp + 0x50]
push dword [eax + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, esi
push dword [eax + 0x14]
push dword [esp + 0x74]
push dword [esp + 0x68]
push dword [esp + 0x5c]
push 0
push 0
push dword [esp + 0x44]
call fcn.0045f110
mov ecx, dword [esp + 0x70]
add esp, 0x20
call fcn.00470a60
jmp 0x465ae4
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
test eax, eax
je 0x46497e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
jle 0x464942
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 0x464930
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
jle 0x464964
add edx, 0x10
xor esi, esi
lea edx, [edx + 0x14]
dec eax
mov word [edx - 0x14], si
test eax, eax
jg 0x464952
mov esi, dword [esp + 0x34]
movsd xmm0, qword [ecx + 0x48]
movsd xmm1, qword [0x54e840]
comisd xmm0, xmm1
jbe 0x46498b
movsd qword [ecx + 0x48], xmm1
jmp 0x46498b
movsd xmm0, qword [0x54e7f0]
movsd qword [ecx + 0x48], xmm0
mov ecx, edi
call fcn.004337c0
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 0x4649e8
mov eax, dword [ecx]
inc eax
mov dword [esp + 0x9c], eax
jmp 0x4649f3
mov dword [esp + 0x9c], 0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0xc0]
call fcn.004488c0
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc0]
call fcn.004488c0
mov eax, dword [esp + 0x80]
test eax, eax
je 0x464a57
lea ecx, [esp + 0xc0]
mov dword [esp + 0xfc], 0x4485f0
mov dword [esp + 0x108], ecx
mov edx, eax
lea ecx, [esp + 0xfc]
mov dword [esp + 0x100], 0x448890
call fcn.00441d70
cmp dword [esp + 0xb4], 0
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xac], eax
jle 0x464aae
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.004488c0
inc edi
lea esi, [esi + 0x10]
cmp edi, dword [esp + 0xb4]
jl 0x464a80
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x1e], 0
jne 0x465b47
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x465783
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.0045f590
push 0xfffffffffffffff0
push eax
push 0
push dword [esp + 0xa8]
mov edx, 0x2b
mov dword [esp + 0x58], eax
push dword [esp + 0xa0]
mov ecx, edi
call fcn.004335b0
inc dword [esi + 0x48]
add esp, 0x14
mov dword [esp + 0x3c], eax
mov ecx, edi
mov eax, dword [esi + 0x48]
mov dword [esp + 0x64], eax
add eax, 2
mov dword [esi + 0x48], eax
call fcn.004337c0
inc dword [esi + 0x48]
mov ecx, edi
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x44], eax
call fcn.004337c0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x48]
inc eax
mov dword [esp + 0x70], 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 + 0x64]
inc eax
push eax
push 0
call fcn.00433550
push dword [esp + 0x6c]
mov edx, 7
mov ecx, edi
push 0
call fcn.00433550
mov eax, dword [esp + 0x24]
add esp, 0x10
mov ecx, dword [esp + 0x70]
dec ecx
mov eax, dword [eax]
add eax, ecx
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x30], eax
cmp dword [edi + 0x20], eax
jg 0x464bb0
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x464be4
mov eax, dword [esp + 0x30]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 0xa
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x78]
mov edx, 2
mov ecx, edi
push dword [esp + 0x48]
call fcn.00433550
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x70]
push 0
push 0
push eax
push dword [esp + 0x98]
mov ecx, esi
call fcn.0046fde0
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
je 0x465b47
mov eax, dword [esp + 0x68]
mov dword [esp + 0x84], eax
test eax, eax
jne 0x464c4a
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0x50], eax
jmp 0x464fcb
cmp dword [esp + 0x60], 0
je 0x464c60
mov eax, dword [esp + 0x20]
mov edx, str.DISTINCT
test byte [eax + 6], 1
je 0x464c65
mov edx, str.GROUP_BY
mov ecx, esi
call fcn.0045f640
mov eax, dword [esp + 0x68]
mov dword [esp + 0x50], 1
mov eax, dword [eax]
mov dword [esp + 0x18], eax
inc eax
mov dword [esp + 0x40], eax
mov edx, eax
mov dword [esp + 0x60], eax
mov ecx, eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x38], eax
test eax, eax
jle 0x464cb8
mov eax, dword [esp + 0xa0]
add eax, 0xc
cmp dword [eax], ecx
jl 0x464caa
inc edx
inc ecx
add eax, 0x18
sub dword [esp + 0x38], 1
jne 0x464ca4
mov dword [esp + 0x60], edx
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x14], eax
cmp edx, ecx
jg 0x464cd2
add eax, edx
sub ecx, edx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], ecx
jmp 0x464cdd
mov eax, dword [esi + 0x48]
inc eax
add dword [esi + 0x48], edx
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.00446550
mov edx, dword [esp + 0x68]
push 0
push dword [esp + 0x18]
call fcn.00447ba0
mov eax, dword [esp + 0x1c]
mov edx, 0x37
add eax, dword [esp + 0x20]
mov ecx, edi
push eax
push dword [esp + 0x9c]
call fcn.00433550
add esp, 0x10
mov dword [esp + 0x38], 0
cmp dword [esp + 0xa4], 0
jle 0x464dae
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x18], eax
nop word [eax + eax]
mov edx, dword [esp + 0xa0]
mov edi, dword [esp + 0x40]
cmp dword [edx + eax + 0xc], edi
mov edi, dword [esp + 0x7c]
jl 0x464d95
push ecx
push dword [edx + eax + 4]
mov ecx, esi
push dword [edx + eax + 8]
mov edx, dword [edx + eax]
call fcn.004464d0
mov ecx, dword [esp + 0x74]
add esp, 0xc
cmp ecx, eax
je 0x464d88
push ecx
push eax
mov edx, 0xf
mov ecx, edi
call fcn.00433550
mov ecx, dword [esp + 0x70]
add esp, 8
inc dword [esp + 0x40]
inc ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x38]
add eax, 0x18
inc edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], edx
cmp edx, dword [esp + 0xa4]
jl 0x464d40
mov al, byte [esi + 0x13]
test al, al
jne 0x464dbd
inc dword [esi + 0x48]
mov eax, dword [esi + 0x48]
jmp 0x464dc9
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x20], eax
jg 0x464de8
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x464e1c
mov eax, dword [esp + 0x18]
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 + 0x40]
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 + 0x38], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x20], eax
jg 0x464e42
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x464e78
mov eax, dword [esp + 0x18]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
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 0x464e7c
mov edx, dword [esp + 0x40]
test edx, edx
je 0x464eb0
mov al, byte [esi + 0x13]
mov byte [esp + 0x1f], al
cmp al, 8
jae 0x464eb0
xor ecx, ecx
lea eax, [esi + 0x64]
cmp dword [eax + 0x10], edx
je 0x464eac
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x464e90
movzx eax, byte [esp + 0x1f]
mov dword [esi + eax*4 + 0x18], edx
inc byte [esi + 0x13]
jmp 0x464eb0
mov byte [eax + 8], 1
push dword [esp + 0x60]
mov edx, dword [esp + 0x18]
mov ecx, esi
call fcn.00446290
mov eax, dword [esp + 0x64]
add esp, 4
cmp eax, dword [esi + 0x38]
jle 0x464ed5
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x30]
call fcn.00470a60
mov eax, dword [esi + 0x44]
mov dword [esp + 0x38], eax
mov dword [esp + 0x94], eax
inc eax
mov dword [esi + 0x44], eax
mov al, byte [esi + 0x13]
test al, al
jne 0x464f03
inc dword [esi + 0x48]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x40], ecx
jmp 0x464f13
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x20], eax
jg 0x464f2e
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x464f62
mov eax, dword [esp + 0x18]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
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 + 0x18], eax
cmp dword [edi + 0x20], eax
jg 0x464f88
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x464fbc
mov eax, dword [esp + 0x18]
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.00446550
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.00446550
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x46503f
mov eax, dword [esp + 0x90]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x20], eax
jg 0x465007
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x46503b
mov eax, dword [esp + 0x18]
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 + 0x40]
mov word [eax + ecx*4], 0x3e
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, dword [esp + 0x50]
mov edx, dword [esp + 0x84]
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [edx], eax
jle 0x465146
test ecx, ecx
je 0x4650c7
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x18], ecx
cmp dword [edi + 0x20], ecx
jg 0x465077
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x4650ab
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc dword [edi + 0x1c]
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 4]
mov esi, dword [esp + 0x38]
mov dword [ecx + edx*4 + 8], eax
add eax, dword [esp + 0x2c]
mov dword [ecx + edx*4 + 4], esi
mov esi, dword [esp + 0x34]
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 0x46512e
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x46512e
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x20
jmp 0x46512a
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov byte [esp + 0x8c], 1
mov dword [esp + 0x40], ecx
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x4650fc
cmp byte [edx], 0x84
jne 0x4650fc
push dword [esp + 0x40]
mov ecx, dword [esi + 0xc]
push dword [edx + 0x18]
mov edx, 0xe
jmp 0x465122
push dword [esp + 0x40]
mov ecx, esi
call fcn.00446960
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x40]
cmp edx, eax
je 0x46512a
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x46512a
push eax
push edx
mov edx, 0xf
call fcn.00433550
add esp, 8
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x84]
inc eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
cmp eax, dword [edx]
jl 0x465054
mov eax, dword [edx]
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], edx
cmp dword [edi + 0x20], edx
jg 0x46516e
mov ecx, edi
call fcn.004333b0
test eax, eax
je 0x46516a
mov edx, 1
jmp 0x4651a6
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
inc dword [edi + 0x1c]
mov esi, dword [esp + 0x70]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x34]
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 + 0x4c]
mov ecx, edi
call fcn.00433bb0
mov eax, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x18], eax
cmp dword [edi + 0x20], eax
jg 0x4651d1
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x465202
mov eax, dword [esp + 0x18]
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 + 0x34]
mov eax, dword [esp + 0x84]
mov ecx, esi
mov edx, dword [esp + 0x2c]
push dword [eax]
push dword [esp + 0x74]
call fcn.00446760
mov eax, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x48], eax
cmp dword [edi + 0x20], eax
jg 0x465238
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x465277
mov eax, dword [esp + 0x48]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x7c]
add edx, 2
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x74]
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 + 0x48], eax
cmp dword [edi + 0x20], eax
jg 0x465292
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x4652cb
mov eax, dword [esp + 0x48]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x34]
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 + 0x48], eax
cmp dword [edi + 0x20], eax
jg 0x4652e6
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x46531a
mov eax, dword [esp + 0x48]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x78]
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 + 0x18]
test eax, eax
js 0x465333
mov edx, dword [edi + 0x1c]
cmp edx, eax
jbe 0x465333
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.00463c90
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x48], eax
cmp dword [edi + 0x20], eax
jg 0x46535c
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x465390
mov eax, dword [esp + 0x48]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
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 + 0x50]
test eax, eax
je 0x4653f8
mov eax, dword [esp + 0x90]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x48], eax
cmp dword [edi + 0x20], eax
jg 0x4653c2
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x465441
mov eax, dword [esp + 0x48]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
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 0x465441
mov ecx, dword [esp + 0x30]
call fcn.00470a60
mov eax, dword [edi + 4]
mov dword [esp + 0x48], eax
test eax, eax
je 0x465441
mov ecx, dword [esp + 0x3c]
lea esi, [ecx + ecx*4]
mov ecx, dword [edi]
push dword [eax + esi*4 + 0x10]
movsx edx, byte [eax + esi*4 + 1]
call fcn.00433a50
mov eax, dword [esp + 0x4c]
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 + 0x34]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x20], eax
jg 0x46545c
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x46549b
mov eax, dword [esp + 0x3c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x7c]
add edx, 2
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x74]
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 + 0x3c], eax
cmp dword [edi + 0x20], eax
jg 0x4654b6
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x4654ea
mov eax, dword [esp + 0x3c]
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 + 0x18], eax
cmp dword [edi + 0x20], eax
jg 0x465505
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x46553e
mov eax, dword [esp + 0x18]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x34]
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 + 0x3c], eax
cmp dword [edi + 0x20], eax
jg 0x465559
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x465598
mov eax, dword [esp + 0x3c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x7c]
add edx, 2
mov esi, dword [esp + 0x34]
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 0x4655b1
mov eax, dword [esp + 0x74]
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 + 0x30], eax
cmp dword [edi + 0x20], eax
jg 0x4655cc
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x465603
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
inc dword [edi + 0x1c]
add eax, 2
mov esi, dword [esp + 0x64]
mov dword [ecx + edx*4 + 4], esi
mov esi, dword [esp + 0x34]
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 + 0x3c], eax
cmp dword [edi + 0x20], eax
jg 0x46561e
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x46565d
mov eax, dword [esp + 0x3c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x7c]
add edx, 2
mov esi, dword [esp + 0x34]
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.00463bc0
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
inc esi
mov ecx, dword [esp + 0x34]
push 8
push esi
call fcn.004480a0
push dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov edx, eax
push esi
push dword [esp + 0x7c]
mov esi, dword [esp + 0x48]
mov ecx, esi
push dword [esp + 0x70]
push dword [esp + 0x64]
push 0
push 0
push dword [eax]
call fcn.0045f110
mov eax, dword [edi + 0x1c]
add esp, 0x28
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x20], eax
jg 0x4656c9
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x465704
mov eax, dword [esp + 0x3c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x7c]
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 0x46571d
mov eax, dword [esp + 0x78]
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.00463a00
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x20], eax
jg 0x46574a
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x465acb
mov eax, dword [esp + 0x3c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x44]
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 0x465acb
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x8c]
mov dword [esp + 0x38], 0
call fcn.00463190
mov dword [esp + 0x2c], eax
test eax, eax
je 0x465986
mov ecx, dword [esi]
mov edx, dword [eax + 0x44]
call fcn.0045dde0
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x78], eax
inc eax
mov dword [esi + 0x44], eax
mov eax, dword [edx + 0x14]
mov edx, ecx
mov dword [esp + 0x18], ecx
mov ecx, esi
mov dword [esp + 0x44], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x30], eax
call fcn.004505a0
mov eax, dword [esp + 0x2c]
mov ecx, esi
mov edx, dword [esp + 0x18]
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.0044bd00
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [edx + 0x10]
test ecx, ecx
je 0x465857
xor esi, esi
nop dword [eax]
cmp byte [ecx + 0x1a], 0
jne 0x465824
test esi, esi
je 0x465822
mov eax, dword [ecx + 4]
cmp eax, dword [esi + 4]
jge 0x465824
mov esi, ecx
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x465810
mov dword [esp + 0x74], esi
test esi, esi
mov esi, dword [esp + 0x34]
je 0x465857
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 8]
jge 0x465857
mov eax, dword [ecx + 0x14]
mov edx, ecx
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.00450b30
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x20], eax
jg 0x465872
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x4658a6
mov eax, dword [esp + 0x3c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
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 + 0x44]
test edx, edx
je 0x4658ff
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x4658ef
cmp byte [eax + 0x1e], 0
jne 0x4658ef
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.00433a50
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov dword [eax + esi*4 + 0x10], ecx
mov byte [eax + esi*4 + 1], 0xfa
mov esi, dword [esp + 0x38]
jmp 0x4658fc
push edx
mov edx, 0xfffffff0
mov ecx, eax
call fcn.00433a50
add esp, 4
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x20], eax
jg 0x465928
mov ecx, edi
call fcn.004333b0
test eax, eax
jne 0x46595c
mov eax, dword [esp + 0x3c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x20
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
push dword [esp + 0x78]
mov edx, 0x2d
mov ecx, edi
call fcn.004334f0
mov edx, dword [esp + 0x30]
add esp, 4
mov ecx, esi
push dword [esp + 0x74]
call fcn.00463f80
add esp, 4
jmp 0x465a7e
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], 0
call fcn.00463120
mov byte [esp + 0x1f], al
test al, al
je 0x4659e9
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.004445b0
mov edx, eax
add esp, 4
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], edx
test edx, edx
je 0x4659e9
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x1e], 0
jne 0x4659e9
mov eax, dword [edx + 0xc]
cmp byte [esp + 0x1f], 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.00463a00
movzx eax, byte [esp + 0x1f]
mov ecx, esi
mov edx, dword [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x90]
call fcn.0046fde0
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
jne 0x465a33
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
call fcn.00444d70
jmp 0x465b47
lea edx, [esp + 0x8c]
mov ecx, esi
call fcn.00463c90
cmp dword [esp + 0x44], 0
jne 0x465a67
cmp byte [esp + 0x1f], 0
je 0x465a67
mov eax, dword [esp + 0x30]
mov edx, 1
mov ecx, edi
push dword [eax + 0x18]
push 0
call fcn.00433550
add esp, 8
mov ecx, dword [esp + 0x30]
call fcn.00470a60
lea edx, [esp + 0x8c]
mov ecx, esi
call fcn.00463bc0
mov edx, dword [esp + 0x80]
mov ecx, esi
push 8
push dword [esp + 0x5c]
mov dword [esp + 0x54], 0
call fcn.004480a0
mov eax, dword [esp + 0x60]
mov ecx, esi
push eax
push eax
push dword [esp + 0x7c]
mov eax, dword [esp + 0x34]
mov edx, eax
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [eax]
call fcn.0045f110
mov edx, dword [esp + 0x60]
add esp, 0x28
mov ecx, dword [esp + 0x54]
call fcn.00444d70
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x465ae4
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 0x465af7
mov edx, str.DISTINCT
mov ecx, esi
call fcn.0045f640
cmp dword [esp + 0x4c], 0
je 0x465b23
mov edx, str.ORDER_BY
mov ecx, esi
call fcn.0045f640
mov eax, dword [esp + 0x28]
mov ecx, esi
push dword [esp + 0x6c]
mov edx, dword [esp + 0x24]
push dword [eax]
push edi
call fcn.0045f7c0
add esp, 0xc
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x465b3f
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 + 0x18], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x88]
mov dword [esi + 0x224], edx
test edi, edi
jne 0x465b7a
mov edx, dword [esp + 0x6c]
cmp byte [edx], 5
jne 0x465b7a
push ecx
mov edx, eax
mov ecx, esi
call fcn.00460030
add esp, 4
push dword [esp + 0xa0]
mov esi, dword [esp + 0x58]
push esi
call fcn.004190a0
push dword [esp + 0xb8]
push esi
call fcn.004190a0
add esp, 0x10
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004f5c8b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x11c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004f5c8b
mov esp, ebp
pop ebp
ret