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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x70], eax
mov esi, edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], esi
mov eax, dword [edi + 0x1e4]
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0x1e8]
mov dword [edi + 0x1e4], eax
inc eax
mov dword [edi + 0x1e8], eax
mov eax, dword [edi]
mov dword [esp + 0x50], eax
test esi, esi
je 0x485c81
cmp byte [eax + 0x40], 0
jne 0x485c81
cmp dword [edi + 0x44], 0
jne 0x485c81
push 0
push 0
push 0
mov edx, 0x15
call fcn.004668d0
add esp, 0xc
test eax, eax
jne 0x485c81
mov eax, dword [esp + 0x70]
xorps xmm0, xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movq qword [esp + 0xc0], xmm0
cmp byte [eax], 4
ja 0x48403f
mov edx, dword [esi + 0x38]
mov ecx, dword [esp + 0x50]
call fcn.0045f690
mov eax, 0xfffe
mov dword [esi + 0x38], 0
and word [esi + 6], ax
push 0
mov edx, esi
mov ecx, edi
call fcn.004836b0
mov eax, dword [esi + 0x38]
add esp, 4
cmp dword [edi + 0x44], 0
mov edx, dword [esi]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], edx
jne 0x485c6d
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x40], 0
jne 0x485c77
movzx eax, word [esi + 6]
mov ecx, edi
shr eax, 2
and eax, 1
mov dword [esp + 0x18], eax
call fcn.0047ee50
mov esi, eax
mov dword [esp + 0x68], esi
test esi, esi
je 0x4840c4
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x70]
cmp dword [ecx], 1
movzx eax, byte [eax]
jle 0x48412e
cmp eax, 6
je 0x4840b6
cmp eax, 7
jne 0x48412e
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push edi
call fcn.00433610
add esp, 8
mov esi, 1
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x8c]
mov dword [edi + 0x1e4], ecx
test esi, esi
jne 0x4840f8
mov ecx, dword [esp + 0x70]
cmp byte [ecx], 5
jne 0x4840f8
push edx
mov edx, eax
mov ecx, edi
call fcn.0047e570
add esp, 4
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0x50]
call fcn.00431230
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x50]
call fcn.00431230
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00564de8
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x4c], edx
cmp dword [ecx + 0x3c], edx
jne 0x4844c9
mov eax, dword [esp + 0x24]
movzx eax, byte [eax]
cmp edx, eax
jge 0x4844c9
mov edi, dword [esp + 0x24]
lea eax, [edx*8 + 1]
add eax, edx
lea eax, [edi + eax*8]
mov edi, dword [eax + 0x14]
test edi, edi
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], eax
je 0x4844b6
cmp dword [eax + 0x18], 0
je 0x4841a9
test byte [eax + 0x24], 4
jne 0x4844b6
push dword [eax + 0x18]
mov edx, 0xf
mov ecx, esi
push dword [eax + 0x1c]
call fcn.0044e020
mov ecx, dword [esp + 0x24]
add esp, 8
mov edx, dword [esp + 0x4c]
jmp 0x4844b6
call fcn.0045e490
add dword [edi + 0x1e0], eax
mov ecx, edi
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
push eax
call fcn.004821b0
add esp, 0xc
test eax, eax
je 0x484206
cmp dword [esp + 0x28], 0
je 0x4841fa
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 1
or word [eax + 6], 4
or eax, 0xffffffff
mov dword [esp + 0x4c], eax
jmp 0x48447a
mov eax, dword [esp + 0x24]
cmp byte [eax], 1
jne 0x48438c
mov eax, dword [esp + 0x1c]
mov ecx, 0x100
test word [eax + 6], cx
jne 0x48438c
mov eax, dword [esp + 0x50]
test word [eax + 0x3c], cx
jne 0x48438c
inc dword [edi + 0x4c]
or edx, 0xffffffff
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x4c]
mov dword [ecx + 0x1c], eax
mov ecx, edi
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x3c], eax
call fcn.0046bac0
mov edx, 0xe
mov ecx, esi
call fcn.0044df60
mov eax, dword [esp + 0x14]
mov edx, 0x35
mov ecx, esi
push dword [eax + 0x2c]
call fcn.0044dfc0
mov edx, eax
add esp, 4
mov eax, dword [esi + 4]
mov dword [esp + 0x34], edx
test eax, eax
je 0x48428f
mov ecx, dword [esi + 0x1c]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 1
mov eax, dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0x3c]
push 0
mov dword [eax + 0x18], edx
mov edx, 0x15
call fcn.0044e020
mov ecx, dword [esi + 4]
add esp, 8
test ecx, ecx
je 0x4842bd
mov eax, dword [esi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x100], eax
mov al, byte [edi + 0x1e8]
mov word [esp + 0xfc], 0xa
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov byte [ecx + 0x28], al
lea eax, [esp + 0xfc]
push eax
mov ecx, edi
call fcn.00483f70
mov edx, dword [esp + 0x18]
add esp, 4
mov eax, dword [esp + 0x54]
mov ecx, dword [edx + 0x10]
mov eax, dword [eax + 0x20]
mov dword [ecx + 0x1c], eax
or dword [edx + 0x24], 4
mov eax, dword [esp + 0x34]
cmp dword [esi + 0x1c], eax
jbe 0x484353
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x104]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [esp + 0x34]
cmp dword [esi + 0x1c], eax
jbe 0x484353
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x108]
mov dword [ecx + edx*4 + 0xc], eax
push dword [esp + 0x3c]
mov edx, 0x15
mov ecx, esi
push 1
call fcn.0044e020
mov eax, dword [esp + 0x1c]
mov edx, 0x11
mov ecx, esi
push dword [eax + 0x1c]
call fcn.0044dfc0
mov edx, dword [esp + 0x40]
add esp, 0xc
dec edx
mov ecx, esi
call fcn.0044e450
jmp 0x48446f
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x3c], eax
mov edx, 0x15
mov eax, dword [edi + 0x4c]
inc eax
mov dword [edi + 0x4c], eax
push eax
mov dword [ecx + 0x1c], eax
mov ecx, esi
push 0
call fcn.0044e020
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x28], eax
inc eax
test byte [edx + 0x24], 2
mov dword [edx + 0x18], eax
jne 0x4843d3
mov ecx, edi
call fcn.0045faf0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [edx + 0x2c]
lea eax, [esp + 0xfc]
mov dword [esp + 0x100], ecx
mov cl, byte [edi + 0x1e8]
mov word [esp + 0xfc], 9
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov byte [edx + 0x28], cl
mov ecx, edi
mov edx, dword [esp + 0x54]
push eax
call fcn.00483f70
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x20]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x48443e
mov edx, eax
mov ecx, esi
call fcn.0044e450
mov eax, dword [esp + 0x14]
mov edx, 0x10
mov ecx, esi
push dword [eax + 0x1c]
call fcn.0044dfc0
mov dword [esp + 0x4c], eax
add esp, 4
mov eax, dword [esp + 0x28]
cmp dword [esi + 0x1c], eax
jbe 0x48446f
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x48]
mov dword [ecx + edx*4 + 4], eax
mov dword [edi + 0x3c], 0
mov byte [edi + 0x13], 0
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x40], 0
jne 0x4840c4
mov ecx, dword [esp + 0x1c]
call fcn.0045e490
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x1c]
sub dword [edi + 0x1e0], eax
cmp byte [edx], 4
mov eax, dword [ecx + 0x28]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
jbe 0x4844ba
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
inc edx
cmp dword [ecx + 0x3c], 0
mov dword [esp + 0x4c], edx
je 0x484145
mov edx, dword [ecx + 0x34]
mov eax, dword [ecx]
mov dword [esp + 0x3c], edx
mov dl, byte [ecx + 6]
mov dword [esp + 0x44], eax
and dl, 1
cmp dword [ecx + 0x3c], 0
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x14], eax
mov byte [esp + 0x13], dl
mov byte [esp + 0x90], dl
je 0x484561
cmp dword [ecx + 0x44], 0
jne 0x484530
xor esi, esi
mov eax, ecx
xor edx, edx
mov dword [eax + 0x40], esi
inc edx
mov dword [eax + 0x44], ecx
mov esi, eax
mov eax, dword [eax + 0x3c]
test eax, eax
jne 0x484507
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x484530
cmp edx, eax
jle 0x484530
push str.too_many_terms_in_compound_SELECT
jmp 0x4840bb
push dword [esp + 0x70]
mov edx, ecx
mov ecx, edi
call fcn.0047f0b0
mov ecx, dword [esp + 0x90]
add esp, 4
mov dword [edi + 0x1e4], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00564de8
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x40]
mov ecx, eax
push 0xffffffffffffffff
call fcn.00462dc0
add esp, 4
test eax, eax
jne 0x48458d
mov eax, dword [esp + 0x50]
mov ecx, 0
test byte [eax + 0x3c], 4
mov eax, dword [esp + 0x40]
cmove eax, ecx
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx + 6]
and al, 5
cmp al, 1
jne 0x4846ca
mov edx, dword [ecx]
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
call fcn.00462dc0
add esp, 4
test eax, eax
jne 0x4846ca
mov eax, dword [esp + 0x1c]
mov ecx, 0xfffe
push 0
and word [eax + 6], cx
mov edx, dword [eax]
mov ecx, dword [esp + 0x54]
call fcn.0045eeb0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [eax + 0x30], ecx
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x70]
cmp byte [eax], 9
jne 0x48460f
mov ecx, dword [esp + 0x44]
mov edx, 0x33
push dword [ecx]
mov ecx, esi
push dword [eax + 4]
call fcn.0044e020
add esp, 8
mov ecx, esi
call fcn.0044e200
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x9c], ecx
mov edx, eax
push ecx
mov ecx, edi
mov dword [eax + 0x20], 0xffffffff
mov dword [eax + 0x24], SysReAllocString
call fcn.0047eec0
mov edx, dword [esp + 0x20]
add esp, 4
cmp dword [edx + 8], 0
jne 0x484665
mov eax, dword [esp + 0x34]
test eax, eax
js 0x484665
mov edx, eax
mov ecx, esi
call fcn.0044e6b0
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x34
or word [edx + 6], 0x40
test byte [edx + 6], 1
je 0x48471b
mov edi, dword [edi + 0x48]
mov ecx, dword [esp + 0x30]
push 0xfffffffffffffff0
push ecx
lea eax, [edi + 1]
mov dword [esp + 0x9c], edi
mov dword [ecx + 0x48], eax
mov edx, dword [edx]
call fcn.0047d990
add esp, 4
mov edx, 0x33
mov ecx, esi
push eax
push 0
push 0
push edi
call fcn.0044e080
mov ecx, dword [esi + 4]
add esp, 0x14
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x4846be
mov eax, dword [esi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov edi, dword [esp + 0x30]
mov al, 3
mov edx, dword [esp + 0x1c]
jmp 0x48471d
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4845e6
mov edx, eax
mov ecx, edi
call fcn.0047d990
mov edx, dword [esp + 0x40]
mov ecx, dword [edi + 0x48]
push 0xfffffffffffffff0
push eax
mov dword [edx + 4], ecx
mov ecx, esi
inc dword [edi + 0x48]
mov eax, dword [edx]
push 0
add eax, 2
push eax
push dword [edx + 4]
mov edx, 0x33
call fcn.0044e080
mov ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov dword [eax + 0x18], ecx
jmp 0x4845ee
xor al, al
cmp dword [esp + 0x18], 0
mov byte [esp + 0x91], al
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
jne 0x484846
test eax, eax
jne 0x484846
cmp byte [esp + 0x13], al
mov ecx, 0x400
push eax
cmovne eax, ecx
mov ecx, edi
movzx eax, ax
push eax
push dword [edx]
mov edx, dword [esp + 0x30]
push dword [esp + 0x4c]
push dword [esp + 0x84]
call fcn.00494780
add esp, 0x14
mov dword [esp + 0x60], eax
test eax, eax
je 0x4840c4
mov cx, word [eax + 0x20]
call fcn.00434940
mov ecx, eax
mov eax, dword [esp + 0x1c]
cmp edx, dword [eax + 0x24]
ja 0x484798
jb 0x484792
cmp ecx, dword [eax + 0x20]
jae 0x484798
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
cmp byte [esp + 0x13], 0
mov edx, dword [esp + 0x60]
je 0x4847cc
mov eax, dword [esp + 0x54]
mov cl, byte [edx + 0x27]
movzx eax, al
test cl, cl
mov dword [esp + 0x54], eax
movzx eax, cl
mov ecx, dword [esp + 0x54]
cmovne ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
mov byte [esp + 0x91], cl
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4847e9
cmp byte [edx + 0x24], 0
mov dword [esp + 0x28], 0
cmovne ecx, dword [esp + 0x28]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x34]
test edx, edx
js 0x484807
test ecx, ecx
jne 0x484807
mov ecx, esi
call fcn.0044e520
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x18], 0xffffffff
mov ecx, dword [esp + 0x60]
mov edx, eax
push dword [ecx + 0x34]
push dword [ecx + 0x30]
lea ecx, [esp + 0x98]
push dword [esp + 0x78]
push ecx
push dword [esp + 0x50]
mov ecx, edi
push 0
push 0
push dword [esp + 0x60]
call fcn.0047d240
mov ecx, dword [esp + 0x80]
add esp, 0x20
call fcn.00495070
jmp 0x485ac9
mov dword [esp + 0x6c], 0
mov dword [esp + 0x18], 0
test eax, eax
je 0x4848b7
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
jle 0x48487a
add ecx, 0x16
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x484868
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
jle 0x4848a2
add ecx, 0x16
lea ebx, [ebx]
xor edi, edi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], di
test eax, eax
jg 0x484890
mov edi, dword [esp + 0x30]
cmp dword [edx + 0x24], 0
ja 0x4848ae
cmp dword [edx + 0x20], 0x64
jbe 0x4848c5
mov dword [edx + 0x20], 0x64
jmp 0x4848be
mov dword [edx + 0x20], 1
mov dword [edx + 0x24], 0
mov ecx, esi
call fcn.0044e200
mov ecx, dword [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x24]
movdqa xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xd4], eax
lea eax, [esp + 0xa0]
movdqa xmmword [esp + 0xe0], xmm0
mov dword [esp + 0xd0], edi
mov dword [esp + 0xdc], eax
test ecx, ecx
je 0x484919
mov eax, dword [ecx]
inc eax
mov dword [esp + 0xac], eax
jmp 0x484924
mov dword [esp + 0xac], 0
mov edx, dword [esp + 0x44]
mov dword [esp + 0xb0], ecx
lea ecx, [esp + 0xd0]
call fcn.00463330
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0xd0]
call fcn.00463330
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x484961
mov edx, eax
lea ecx, [esp + 0xd0]
call fcn.004632e0
cmp dword [esp + 0xc4], 0
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xbc], eax
jle 0x4849d7
mov al, byte [esp + 0xec]
xor edi, edi
xor esi, esi
jmp 0x484990
or al, 8
lea ecx, [esp + 0xd0]
mov byte [esp + 0xec], al
mov eax, dword [esp + 0xc0]
mov edx, dword [eax + edi]
mov edx, dword [edx + 0x14]
call fcn.00463330
mov al, byte [esp + 0xec]
lea edi, [edi + 0x10]
and al, 0xf7
inc esi
mov byte [esp + 0xec], al
cmp esi, dword [esp + 0xc4]
jl 0x484990
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x40], 0
jne 0x4840c4
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x485746
mov eax, dword [edi + 0x48]
mov edx, ecx
mov dword [esp + 0xa4], eax
mov ecx, edi
inc eax
mov dword [edi + 0x48], eax
call fcn.0047d990
push 0xfffffffffffffff0
push eax
push 0
push dword [esp + 0xb8]
mov edx, 0x34
mov dword [esp + 0x48], eax
push dword [esp + 0xb4]
mov ecx, esi
call fcn.0044e080
inc dword [edi + 0x4c]
add esp, 0x14
mov dword [esp + 0x20], eax
mov ecx, esi
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x64], eax
add eax, 2
mov dword [edi + 0x4c], eax
call fcn.0044e200
inc dword [edi + 0x4c]
mov ecx, esi
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x58], eax
call fcn.0044e200
mov edx, dword [edi + 0x4c]
mov dword [esp + 0x5c], eax
lea eax, [edx + 1]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x14]
add edx, dword [eax]
mov dword [edi + 0x4c], edx
lea ecx, [edx + 1]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax]
add ecx, edx
mov dword [edi + 0x4c], ecx
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [esi + 0x20], eax
jg 0x484aa4
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x484add
mov eax, dword [esp + 0x28]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x30]
inc edx
mov word [eax + ecx*4], 0x15
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 [esi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [esi + 0x20], eax
jg 0x484af8
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x484b2c
mov eax, dword [esp + 0x28]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x64]
mov word [eax + ecx*4], 0x15
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 [esp + 0x14]
mov edx, 0x18
mov ecx, dword [esp + 0x84]
mov eax, dword [eax]
dec eax
add eax, ecx
push eax
push ecx
push 0
mov ecx, esi
call fcn.0044df00
add esp, 0xc
mov edx, 0xf
mov ecx, esi
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.0044e020
mov edx, dword [esp + 0x2c]
mov ecx, edi
push 0
push 0x100
push 0
push dword [esp + 0x28]
push dword [esp + 0x8c]
call fcn.00494780
add esp, 0x1c
mov dword [esp + 0x28], eax
test eax, eax
je 0x4840c4
cmp byte [eax + 0x24], 0
je 0x484ba5
xor ecx, ecx
mov dword [esp + 0x88], ecx
jmp 0x484fd2
cmp byte [esp + 0x13], 0
je 0x484bbb
mov eax, dword [esp + 0x1c]
mov edx, str.DISTINCT
test byte [eax + 6], 1
je 0x484bc0
mov edx, str.GROUP_BY
mov ecx, edi
call fcn.0047da70
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x88], 1
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
inc eax
mov dword [esp + 0x74], eax
mov ecx, eax
mov dword [esp + 0x4c], eax
test edx, edx
jle 0x484c0f
mov eax, dword [esp + 0xb4]
add eax, 0xc
lea esp, [esp]
cmp dword [eax], ecx
jl 0x484c09
inc dword [esp + 0x4c]
inc ecx
add eax, 0x18
dec edx
jne 0x484c00
mov ecx, dword [edi + 0x3c]
mov edx, dword [esp + 0x4c]
mov eax, dword [edi + 0x40]
mov dword [esp + 0x7c], eax
cmp edx, ecx
jg 0x484c2d
add eax, edx
sub ecx, edx
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], ecx
jmp 0x484c3c
mov eax, dword [edi + 0x4c]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x7c], ecx
mov dword [edi + 0x4c], eax
mov ecx, edi
call fcn.00460e70
mov edx, dword [esp + 0x7c]
push 0
push edx
mov edx, dword [esp + 0x1c]
call fcn.00462460
mov eax, dword [esp + 0xac]
add esp, 8
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x48], eax
cmp dword [esi + 0x20], eax
jg 0x484c7c
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x484cb7
mov eax, dword [esp + 0x48]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x7c]
mov word [eax + ecx*4], 0x40
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0xc], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x6c]
add eax, edx
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
jmp 0x484cbb
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x48], 0
test ecx, ecx
jle 0x484db2
add edx, dword [esp + 0x74]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x18], 0
jmp 0x484cf0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xb4]
mov esi, dword [esp + 0x74]
cmp dword [eax + edi + 0xc], esi
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x30]
jl 0x484d9c
mov ecx, dword [esp + 0x18]
push 0
push edx
push dword [eax + ecx + 4]
mov edx, dword [eax + ecx]
push dword [eax + ecx + 8]
mov ecx, edi
call fcn.00460dd0
mov edx, dword [esp + 0x7c]
add esp, 0x10
mov dword [esp + 0x2c], eax
cmp edx, eax
je 0x484d8c
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x78], eax
cmp dword [esi + 0x20], eax
jg 0x484d58
mov ecx, esi
call fcn.0044de80
mov edx, dword [esp + 0x6c]
test eax, eax
jne 0x484d8c
mov eax, dword [esp + 0x78]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x30]
mov word [eax + ecx*4], 0x1d
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
inc dword [esp + 0x74]
inc edx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x48]
add dword [esp + 0x18], 0x18
inc eax
mov dword [esp + 0x48], eax
cmp eax, ecx
jl 0x484cf0
mov al, byte [edi + 0x13]
test al, al
jne 0x484dc1
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
jmp 0x484dcd
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x20], eax
jg 0x484dec
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x484e20
mov eax, dword [esp + 0x2c]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x2b
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 + 0xa4]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x20], eax
jg 0x484e46
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x484e7c
mov eax, dword [esp + 0x2c]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x66
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 0x484e80
mov edx, dword [esp + 0x18]
test edx, edx
je 0x484eb4
mov al, byte [edi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x484eb4
xor ecx, ecx
lea eax, [edi + 0x68]
cmp dword [eax + 0x10], edx
je 0x484eb0
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x484e94
movzx eax, byte [esp + 0x13]
mov dword [edi + eax*4 + 0x1c], edx
inc byte [edi + 0x13]
jmp 0x484eb4
mov byte [eax + 8], 1
push dword [esp + 0x4c]
mov edx, dword [esp + 0x80]
mov ecx, edi
call fcn.00460bf0
mov eax, dword [esp + 0x50]
add esp, 4
cmp eax, dword [edi + 0x3c]
jle 0x484edc
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x7c]
mov dword [edi + 0x40], eax
mov ecx, dword [esp + 0x28]
call fcn.00495070
mov eax, dword [edi + 0x48]
mov dword [esp + 0x6c], eax
mov dword [esp + 0xa8], eax
inc eax
mov dword [edi + 0x48], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x484f0a
inc dword [edi + 0x4c]
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x18], ecx
jmp 0x484f1a
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x20], eax
jg 0x484f35
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x484f69
mov eax, dword [esp + 0x2c]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x6c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x35
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 + 0xa4]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x20], eax
jg 0x484f8f
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x484fc3
mov eax, dword [esp + 0x2c]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 0x63
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, edi
mov byte [esp + 0xa1], 1
call fcn.00460e70
mov eax, dword [esi + 0x1c]
mov ecx, edi
mov dword [esp + 0x74], eax
call fcn.00460e70
mov eax, dword [esp + 0x88]
test eax, eax
je 0x48504c
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x20], eax
jg 0x485011
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x485045
mov eax, dword [esp + 0x2c]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
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
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x18], edx
cmp dword [ecx], edx
jle 0x48510b
mov edi, edi
test eax, eax
je 0x4850cd
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x20], eax
jg 0x485083
mov ecx, esi
call fcn.0044de80
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x4850b5
mov eax, dword [esp + 0x2c]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x29
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x6c]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
add eax, edx
mov dword [ecx + 0xc], eax
test edx, edx
jne 0x4850f3
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4850f3
mov eax, dword [esi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x20
jmp 0x4850f3
mov eax, dword [esp + 0x34]
add eax, edx
mov byte [esp + 0xa0], 1
push eax
lea eax, [edx + edx*2]
mov edx, dword [ecx + 8]
mov ecx, edi
mov edx, dword [edx + eax*8]
call fcn.00462140
mov edx, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x14]
inc edx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], edx
cmp edx, dword [ecx]
jl 0x485060
mov edx, dword [esi + 0x1c]
mov eax, dword [ecx]
mov dword [esp + 0x78], eax
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x20], edx
jg 0x485133
mov ecx, esi
call fcn.0044de80
test eax, eax
je 0x48512f
mov edx, 1
jmp 0x48516e
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x1c]
mov edi, dword [esp + 0x84]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x78]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x30]
mov word [eax + ecx*4], 0x24
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffa
push dword [esp + 0x3c]
mov ecx, esi
call fcn.0044e560
mov edx, dword [esi + 0x1c]
add esp, 8
mov dword [esp + 0x48], edx
cmp dword [esi + 0x20], edx
jg 0x485199
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x4851c7
mov edx, dword [esp + 0x48]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x1c]
mov word [eax + ecx*4], 0x25
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
lea eax, [edx + 1]
mov dword [ecx + 8], 0
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [esp + 0x34]
push dword [eax]
push dword [esp + 0x88]
call fcn.00461080
mov eax, dword [esi + 0x1c]
add esp, 8
mov dword [esp + 0x38], eax
cmp dword [esi + 0x20], eax
jg 0x4851fd
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x48523f
mov eax, dword [esp + 0x38]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
add edx, 2
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x80]
mov word [eax + ecx*4], 0xf
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 [esi + 0x1c]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x20], eax
jg 0x48525a
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x485293
mov eax, dword [esp + 0x38]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x30]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 0x7e
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 [esi + 0x1c]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x20], eax
jg 0x4852ae
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x4852e2
mov eax, dword [esp + 0x38]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 0xf
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 + 0x48]
test eax, eax
js 0x4852fb
mov edx, dword [esi + 0x1c]
cmp edx, eax
jbe 0x4852fb
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.00483a00
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x20], eax
jg 0x485324
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x485358
mov eax, dword [esp + 0x38]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x64]
mov word [eax + ecx*4], 0x15
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 ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4853c3
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x20], eax
jg 0x48538d
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x485405
mov eax, dword [esp + 0x38]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 5
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 0x485405
mov ecx, dword [esp + 0x28]
call fcn.00495070
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x485405
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 0x10]
movsx edx, byte [ecx + eax*4 + 1]
lea edi, [ecx + eax*4]
mov ecx, dword [esi]
call fcn.0044e470
xorps xmm0, xmm0
add esp, 4
movdqu xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov byte [edi], 0x95
mov edi, dword [esp + 0x30]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [esi + 0x20], eax
jg 0x485420
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x485462
mov eax, dword [esp + 0x20]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
add edx, 2
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x80]
mov word [eax + ecx*4], 0xf
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 [esi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [esi + 0x20], eax
jg 0x48547d
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x4854b1
mov eax, dword [esp + 0x20]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 0xe
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 [esi + 0x1c]
mov dword [esp + 0x48], eax
cmp dword [esi + 0x20], eax
jg 0x4854cc
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x485505
mov eax, dword [esp + 0x48]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x30]
inc edx
mov word [eax + ecx*4], 0x15
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 [esi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [esi + 0x20], eax
jg 0x485520
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x48555f
mov eax, dword [esp + 0x20]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
add edx, 2
mov edi, dword [esp + 0x30]
mov word [eax + ecx*4], 0x10
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
or ecx, 0xffffffff
sub ecx, dword [esp + 0x80]
js 0x485578
mov edx, dword [esi + 0x28]
test edx, edx
je 0x485578
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x28], edx
cmp dword [esi + 0x20], edx
jg 0x485593
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x4855c5
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x1c]
mov word [eax + ecx*4], 0x7e
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x64]
mov dword [ecx + 0xc], 0
mov dword [ecx + 4], eax
lea eax, [edx + 2]
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [esi + 0x20], eax
jg 0x4855e0
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x48561f
mov eax, dword [esp + 0x20]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
add edx, 2
mov edi, dword [esp + 0x30]
mov word [eax + ecx*4], 0x10
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 + 0xa0]
mov ecx, edi
call fcn.00483940
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
inc edi
mov ecx, dword [esp + 0x30]
push 8
push edi
call fcn.00462950
push dword [esp + 0x50]
lea eax, [esp + 0x9c]
push edi
push dword [esp + 0x80]
mov edi, dword [esp + 0x44]
mov ecx, edi
push eax
push dword [esp + 0x58]
mov eax, dword [esp + 0x38]
mov edx, eax
push 0
push 0
push dword [eax]
call fcn.0047d240
mov eax, dword [esi + 0x1c]
add esp, 0x28
mov dword [esp + 0x20], eax
cmp dword [esi + 0x20], eax
jg 0x48568f
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x4856ca
mov eax, dword [esp + 0x20]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
add edx, 2
mov word [eax + ecx*4], 0x10
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
or ecx, 0xffffffff
sub ecx, dword [esp + 0x5c]
js 0x4856e0
mov edx, dword [esi + 0x28]
test edx, edx
je 0x4856e0
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.00483710
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [esi + 0x20], eax
jg 0x48570d
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x485ab3
mov eax, dword [esp + 0x20]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x58]
mov word [eax + ecx*4], 0x10
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 0x485ab3
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xa0]
mov dword [esp + 0x84], 0
call fcn.004827f0
mov dword [esp + 0x34], eax
test eax, eax
je 0x485951
mov ecx, dword [edi]
mov edx, dword [eax + 0x44]
call fcn.0047bcb0
mov edx, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0x5c], eax
lea ecx, [eax + 1]
xor eax, eax
mov dword [edi + 0x48], ecx
mov ecx, edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x80], eax
mov eax, dword [edx + 0x20]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x28], eax
call fcn.0046bac0
mov eax, dword [esp + 0x34]
mov ecx, edi
mov edx, dword [esp + 0x58]
push dword [eax]
push 0
push dword [eax + 0x20]
call fcn.00466950
mov edx, dword [esp + 0x40]
add esp, 0xc
mov eax, dword [edx + 8]
test eax, eax
je 0x485824
xor edi, edi
test byte [eax + 0x34], 4
jne 0x4857f3
movzx ecx, word [eax + 0x2c]
cmp cx, word [edx + 0x2a]
jge 0x4857f3
cmp dword [eax + 0x24], 0
jne 0x4857f3
test edi, edi
je 0x4857f1
cmp cx, word [edi + 0x2c]
jge 0x4857f3
mov edi, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4857d1
mov dword [esp + 0x80], edi
test edi, edi
mov edi, dword [esp + 0x30]
je 0x485824
mov eax, dword [esp + 0x80]
mov edx, eax
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x28], ecx
mov ecx, edi
call fcn.0046c050
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [esi + 0x20], eax
jg 0x48583f
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x485873
mov eax, dword [esp + 0x20]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x58]
mov word [eax + ecx*4], 0x30
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 + 0x48]
test eax, eax
je 0x48588b
push 0xfffffffffffffff0
push eax
or edx, 0xffffffff
mov ecx, esi
call fcn.0044e560
add esp, 8
mov eax, dword [esp + 0xc0]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [esi + 0x20], eax
jg 0x4858b4
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x4858e8
mov eax, dword [esp + 0x20]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x2c
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 [esi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [esi + 0x20], eax
jg 0x485903
mov ecx, esi
call fcn.0044de80
test eax, eax
jne 0x485937
mov eax, dword [esp + 0x20]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 0x36
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
push dword [esp + 0x80]
mov edx, dword [esp + 0x38]
mov ecx, edi
call fcn.00483f10
add esp, 4
jmp 0x485a63
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x34], 0
jne 0x4859ce
lea edx, [esp + 0x58]
lea ecx, [esp + 0xa0]
call fcn.00482780
mov byte [esp + 0x13], al
test al, al
je 0x4859c6
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
push 0
call fcn.0045eeb0
mov edx, eax
add esp, 4
mov dword [esp + 0x5c], edx
mov dword [esp + 0x84], edx
test edx, edx
je 0x4859ce
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x40], 0
jne 0x4859ce
mov eax, dword [edx + 8]
cmp byte [esp + 0x13], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov byte [eax], 0x98
jmp 0x4859ce
mov eax, dword [esp + 0x58]
mov dword [esp + 0x5c], eax
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.00483710
mov al, byte [esp + 0x13]
mov ecx, edi
mov edx, dword [esp + 0x24]
push 0
movzx eax, al
push eax
push 0
push dword [esp + 0x68]
push dword [esp + 0x84]
call fcn.00494780
add esp, 0x14
mov dword [esp + 0x28], eax
test eax, eax
jne 0x485a1e
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x50]
call fcn.0045f690
jmp 0x4840c4
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.00483a00
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x24], 0
je 0x485a4e
push dword [eax + 0x34]
mov edx, 0xe
mov ecx, esi
push 0
call fcn.0044e020
mov eax, dword [esp + 0x30]
add esp, 8
mov ecx, eax
call fcn.00495070
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.00483940
mov edx, dword [esp + 0x3c]
mov ecx, edi
push 8
push dword [esp + 0x64]
mov dword [esp + 0x48], 0
call fcn.00462950
mov eax, dword [esp + 0x68]
mov ecx, edi
push eax
push eax
push dword [esp + 0x80]
mov eax, dword [esp + 0x30]
mov edx, eax
push 0
push 0
push 0
push 0
push dword [eax]
call fcn.0047d240
mov edx, dword [esp + 0xac]
add esp, 0x28
mov ecx, dword [esp + 0x50]
call fcn.0045f690
or ecx, 0xffffffff
sub ecx, dword [esp + 0x60]
js 0x485ac9
mov edx, dword [esi + 0x28]
test edx, edx
je 0x485ac9
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x54]
cmp al, 3
jne 0x485b7f
cmp byte [edi + 0x1d4], 2
jne 0x485b7f
mov ecx, dword [edi + 8]
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push dword [edi]
mov dword [esp + 0x48], ecx
call fcn.004328d0
mov dword [esp + 0x38], eax
add esp, 0xc
mov eax, dword [edi + 0x1e4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x20], edx
cmp dword [eax + 0x20], edx
jg 0x485b35
mov ecx, eax
call fcn.0044de80
test eax, eax
je 0x485b2d
mov edx, 1
jmp 0x485b6d
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
inc dword [eax + 0x1c]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 4]
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x68]
mov word [eax + ecx*4], 0x96
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
push dword [esp + 0x30]
call fcn.0044e560
add esp, 8
cmp dword [esp + 0x40], 0
je 0x485c4d
cmp byte [edi + 0x1d4], 2
jne 0x485c34
mov ecx, dword [edi + 8]
push str.ORDER_BY
push str.USE_TEMP_B_TREE_FOR__s
push dword [edi]
mov dword [esp + 0x48], ecx
call fcn.004328d0
mov dword [esp + 0x38], eax
add esp, 0xc
mov eax, dword [edi + 0x1e4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x20], edx
cmp dword [eax + 0x20], edx
jg 0x485bea
mov ecx, eax
call fcn.0044de80
test eax, eax
je 0x485be2
mov edx, 1
jmp 0x485c22
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
inc dword [eax + 0x1c]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 4]
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x68]
mov word [eax + ecx*4], 0x96
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
push dword [esp + 0x30]
call fcn.0044e560
add esp, 8
mov eax, dword [esp + 0x44]
mov ecx, edi
push dword [esp + 0x70]
mov edx, dword [esp + 0x20]
push dword [eax]
push esi
call fcn.0047db40
add esp, 0xc
or edx, 0xffffffff
sub edx, dword [esp + 0x9c]
js 0x485c66
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x485c66
mov eax, dword [esi + 0x1c]
mov dword [ecx + edx*4], eax
xor esi, esi
jmp 0x4840c9
mov esi, 1
jmp 0x4840d1
mov esi, 1
jmp 0x4840cd
mov ecx, dword [esp + 0x10c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.00564de8
mov esp, ebp
pop ebp
ret