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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x491024]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x58], eax
push edi
mov edi, edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], edi
mov eax, dword [esi + 0x1e4]
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x1e8]
mov dword [esi + 0x1e4], eax
inc eax
mov dword [esi + 0x1e8], eax
mov eax, dword [esi]
mov dword [esp + 0x14], 1
mov dword [esp + 0x44], eax
test edi, edi
je 0x466641
cmp byte [eax + 0x38], 0
jne 0x466641
cmp dword [esi + 0x44], 0
jne 0x466641
push 0
push 0
push 0
mov edx, 0x15
call fcn.0044cec0
add esp, 0xc
test eax, eax
jne 0x466641
mov eax, dword [esp + 0x5c]
xorps xmm0, xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movq qword [esp + 0xc0], xmm0
cmp byte [eax], 4
ja 0x464cf5
mov edx, dword [edi + 0x38]
mov ecx, dword [esp + 0x44]
call fcn.00446590
mov eax, 0xfffe
mov dword [edi + 0x38], 0
and word [edi + 6], ax
push 0
mov edx, edi
mov ecx, esi
call fcn.00464440
mov eax, dword [edi + 0x38]
add esp, 4
cmp dword [esi + 0x44], 0
mov edx, dword [edi]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], edx
jne 0x4665e0
mov ecx, dword [esp + 0x44]
cmp byte [ecx + 0x38], 0
jne 0x4665e0
movzx eax, word [edi + 6]
mov ecx, esi
shr eax, 2
and eax, 1
mov dword [esp + 0x20], eax
call fcn.00461230
mov edi, eax
mov dword [esp + 0x70], edi
test edi, edi
je 0x4665d8
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x5c]
cmp dword [ecx], 1
movzx eax, byte [eax]
jle 0x464d7f
cmp eax, 6
je 0x464d6c
cmp eax, 7
jne 0x464d7f
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push esi
call fcn.0041c540
add esp, 8
jmp 0x4665d8
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], 0
cmp dword [ecx + 0x3c], 0
jne 0x46515f
mov edx, dword [esp + 0x18]
nop dword [eax]
movsx eax, word [edx]
cmp dword [esp + 0x28], eax
jge 0x46515f
mov eax, dword [esp + 0x28]
lea eax, [eax + eax*8]
mov esi, dword [edx + eax*8 + 0x1c]
test esi, esi
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
je 0x465151
cmp dword [edx + eax*8 + 0x20], 0
je 0x464e02
test byte [edx + eax*8 + 0x2c], 4
jne 0x465151
push dword [edx + eax*8 + 0x20]
mov ecx, edi
push dword [edx + eax*8 + 0x24]
mov edx, 2
call fcn.00434dd0
mov ecx, dword [esp + 0x2c]
add esp, 8
mov edx, dword [esp + 0x18]
jmp 0x465151
call fcn.004452f0
add dword [esi + 0x1e0], eax
mov ecx, esi
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x24]
mov dword [esp + 0x38], eax
push dword [esp + 0x30]
call fcn.004635d0
add esp, 0xc
test eax, eax
je 0x464e5f
cmp dword [esp + 0x30], 0
je 0x464e52
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], 1
or word [eax + 6], 4
mov dword [esp + 0x28], 0xffffffff
jmp 0x465119
mov ecx, dword [esp + 0x18]
cmp word [ecx], 1
jne 0x46500f
mov eax, dword [esp + 0x24]
mov edx, 0x100
test word [eax + 6], dx
jne 0x46500f
mov eax, dword [esp + 0x44]
test word [eax + 0x34], dx
jne 0x46500f
inc dword [esi + 0x4c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x4c]
mov dword [ecx + edx*8 + 0x24], eax
or edx, 0xffffffff
inc dword [esi + 0x4c]
mov ecx, esi
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x50], eax
call fcn.00451470
mov edx, 1
mov ecx, edi
call fcn.00434d10
mov eax, dword [esp + 0x1c]
mov edx, 0x2c
mov ecx, dword [esp + 0x18]
push dword [ecx + eax*8 + 0x34]
mov ecx, edi
call fcn.00434d70
mov ecx, dword [edi + 4]
add esp, 4
mov edx, eax
mov dword [esp + 0x34], edx
test ecx, ecx
je 0x464eef
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x50]
push 0
mov dword [ecx + eax*8 + 0x20], edx
mov edx, 7
mov ecx, edi
call fcn.00434dd0
mov ecx, dword [edi + 4]
add esp, 8
test ecx, ecx
je 0x464f22
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + ecx*8 + 0x24]
mov dword [esp + 0x100], eax
mov al, byte [esi + 0x1e8]
mov word [esp + 0xfc], 0xa
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov byte [edx + ecx*8 + 0x30], al
lea eax, [esp + 0xfc]
mov edx, dword [esp + 0x4c]
mov ecx, esi
push eax
call fcn.00464c20
mov eax, dword [esp + 0x50]
add esp, 4
movsd xmm0, qword [eax + 0x20]
call fcn.00479fc1
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + edx*8 + 0x18]
mov dword [ecx + 0x1c], eax
mov eax, esi
mov esi, dword [esp + 0x2c]
or dword [eax + edx*8 + 0x2c], 4
mov eax, dword [esp + 0x34]
cmp dword [edi + 0x1c], eax
jbe 0x464fd1
mov ecx, dword [edi + 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 [edi + 0x1c], eax
jbe 0x464fd1
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x108]
mov dword [ecx + edx*4 + 0xc], eax
push dword [esp + 0x50]
mov edx, 7
mov ecx, edi
push 1
call fcn.00434dd0
mov eax, dword [esp + 0x24]
mov edx, 4
mov ecx, dword [esp + 0x20]
push dword [ecx + eax*8 + 0x24]
mov ecx, edi
call fcn.00434d70
mov edx, dword [esp + 0x40]
add esp, 0xc
dec edx
mov ecx, edi
call fcn.004351f0
jmp 0x46510e
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x4c]
inc eax
mov dword [esi + 0x4c], eax
mov dword [ecx + edx*8 + 0x24], eax
mov edx, 7
push eax
push 0
mov ecx, edi
call fcn.00434dd0
mov ecx, dword [esp + 0x24]
add esp, 8
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
inc eax
test byte [edx + ecx*8 + 0x2c], 2
mov dword [edx + ecx*8 + 0x20], eax
jne 0x465061
mov ecx, esi
call fcn.004469a0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [edx + ecx*8 + 0x34]
mov dword [esp + 0x100], eax
mov al, byte [esi + 0x1e8]
mov word [esp + 0xfc], 9
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov byte [edx + ecx*8 + 0x30], al
lea eax, [esp + 0xfc]
mov edx, dword [esp + 0x4c]
mov ecx, esi
push eax
call fcn.00464c20
mov eax, dword [esp + 0x50]
add esp, 4
movsd xmm0, qword [eax + 0x20]
call fcn.00479fc1
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + edx*8 + 0x18]
mov esi, dword [esp + 0x2c]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4650de
mov edx, eax
mov ecx, edi
call fcn.004351f0
mov eax, dword [esp + 0x1c]
mov edx, 3
mov ecx, dword [esp + 0x18]
push dword [ecx + eax*8 + 0x24]
mov ecx, edi
call fcn.00434d70
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x30]
cmp dword [edi + 0x1c], eax
jbe 0x46510e
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov dword [esi + 0x3c], 0
mov byte [esi + 0x13], 0
mov eax, dword [esp + 0x44]
cmp byte [eax + 0x38], 0
jne 0x4665d8
mov ecx, dword [esp + 0x24]
call fcn.004452f0
sub dword [esi + 0x1e0], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x5c]
mov edx, dword [ecx + 0x28]
cmp byte [eax], 4
mov dword [esp + 0x18], edx
jbe 0x465151
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x38], eax
inc dword [esp + 0x28]
cmp dword [ecx + 0x3c], 0
je 0x464da0
mov edx, dword [ecx + 0x34]
mov eax, dword [ecx]
mov dword [esp + 0x50], edx
mov dl, byte [ecx + 6]
mov dword [esp + 0x3c], eax
and dl, 1
cmp dword [ecx + 0x3c], 0
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x13], dl
mov byte [esp + 0x90], dl
je 0x465203
cmp dword [ecx + 0x44], 0
jne 0x4651d2
xor edi, edi
mov eax, ecx
xor edx, edx
nop dword [eax]
mov dword [eax + 0x40], edi
inc edx
mov dword [eax + 0x44], ecx
mov edi, eax
mov eax, dword [eax + 0x3c]
test eax, eax
jne 0x4651a0
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x60]
test eax, eax
je 0x4651d2
cmp edx, eax
jle 0x4651d2
push str.too_many_terms_in_compound_SELECT
push esi
call fcn.0041c540
add esp, 8
jmp 0x4665d8
push dword [esp + 0x5c]
mov edx, ecx
mov ecx, esi
call fcn.00461490
mov ecx, dword [esp + 0x90]
add esp, 4
mov dword [esi + 0x1e4], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004787cb
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x38]
mov ecx, eax
call fcn.00449a00
test eax, eax
jne 0x46522a
mov eax, dword [esp + 0x44]
mov ecx, 0
test byte [eax + 0x34], 4
mov eax, dword [esp + 0x38]
cmove eax, ecx
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x24]
mov al, byte [ecx + 6]
and al, 5
cmp al, 1
jne 0x465361
mov edx, dword [ecx]
mov ecx, dword [esp + 0x38]
call fcn.00449a00
test eax, eax
jne 0x465361
mov eax, dword [esp + 0x24]
mov ecx, 0xfffe
push 0
and word [eax + 6], cx
mov edx, dword [eax]
mov ecx, dword [esp + 0x48]
call fcn.00445de0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
mov dword [eax + 0x30], ecx
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x5c]
cmp byte [eax], 9
jne 0x4652a7
mov ecx, dword [esp + 0x3c]
mov edx, 0x2a
push dword [ecx]
mov ecx, edi
push dword [eax + 4]
call fcn.00434dd0
add esp, 8
mov ecx, edi
call fcn.00434fb0
movsd xmm0, qword [0x48bc48]
mov ecx, eax
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [esp + 0x9c], ecx
push ecx
mov ecx, esi
movsd qword [eax + 0x20], xmm0
call fcn.004612a0
mov edx, dword [esp + 0x28]
add esp, 4
cmp dword [edx + 8], 0
jne 0x4652fc
mov eax, dword [esp + 0x34]
test eax, eax
js 0x4652fc
mov edx, eax
mov ecx, edi
call fcn.004354d0
mov edx, dword [esp + 0x24]
mov byte [eax], 0x2b
or word [edx + 6], 0x40
test byte [edx + 6], 1
je 0x4653b4
mov esi, dword [esi + 0x48]
mov ecx, dword [esp + 0x2c]
push 0xfffffffffffffff0
push ecx
lea eax, [esi + 1]
mov dword [esp + 0x9c], esi
mov dword [ecx + 0x48], eax
mov edx, dword [edx]
call fcn.00460150
add esp, 4
mov edx, 0x2a
mov ecx, edi
push eax
push 0
push 0
push esi
call fcn.00434e30
mov ecx, dword [edi + 4]
add esp, 0x14
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x465355
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov esi, dword [esp + 0x2c]
mov al, 3
mov edx, dword [esp + 0x24]
jmp 0x4653b6
mov eax, dword [esp + 0x38]
test eax, eax
je 0x46527e
mov edx, eax
mov ecx, esi
call fcn.00460150
mov edx, dword [esp + 0x38]
mov ecx, eax
mov eax, dword [esi + 0x48]
push 0xfffffffffffffff0
push ecx
mov dword [edx + 4], eax
mov ecx, edi
inc dword [esi + 0x48]
mov eax, dword [edx]
push 0
add eax, 2
push eax
push dword [edx + 4]
mov edx, 0x2a
call fcn.00434e30
mov ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov dword [eax + 0x18], ecx
jmp 0x465286
xor al, al
cmp dword [esp + 0x20], 0
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x91], al
mov dword [esp + 0x4c], eax
jne 0x4654c3
test ecx, ecx
jne 0x4654c3
cmp byte [esp + 0x13], cl
je 0x4653e2
mov eax, dword [edx]
jmp 0x4653e4
xor eax, eax
mov edx, dword [esp + 0x18]
mov ecx, esi
push 0
push 0
push eax
push dword [esp + 0x44]
push dword [esp + 0x7c]
call fcn.00470b80
mov edx, eax
add esp, 0x14
mov dword [esp + 0x50], edx
test edx, edx
je 0x4665d8
mov eax, dword [esp + 0x24]
movsd xmm1, qword [edx + 0x30]
movsd xmm0, qword [eax + 0x20]
comisd xmm0, xmm1
jbe 0x465426
movsd qword [eax + 0x20], xmm1
mov eax, dword [esp + 0x4c]
mov cl, byte [edx + 0xe]
movzx eax, al
test cl, cl
mov dword [esp + 0x4c], eax
movzx eax, cl
mov ecx, dword [esp + 0x4c]
cmovne ecx, eax
mov dword [esp + 0x4c], ecx
mov byte [esp + 0x91], cl
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x465462
movzx eax, word [edx + 8]
xor edx, edx
cmp eax, dword [ecx]
cmove ecx, edx
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x34]
test eax, eax
js 0x465488
test ecx, ecx
jne 0x465488
mov edx, eax
mov ecx, edi
call fcn.00435320
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov dword [edx + 0x18], 0xffffffff
jmp 0x46548c
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x50]
push dword [eax + 0x18]
push dword [eax + 0x14]
lea eax, [esp + 0x98]
push dword [esp + 0x64]
push eax
push ecx
push 0
push 0
push dword [esp + 0x58]
mov ecx, esi
call fcn.0045fa90
mov ecx, dword [esp + 0x70]
add esp, 0x20
call fcn.004717d0
jmp 0x466574
mov dword [esp + 0x60], 0
mov dword [esp + 0x20], 0
test ecx, ecx
je 0x465533
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
jle 0x4654f7
add ecx, 0x10
xor edi, edi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], di
test eax, eax
jg 0x4654e5
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
jle 0x465519
add ecx, 0x10
xor esi, esi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], si
test eax, eax
jg 0x465507
mov esi, dword [esp + 0x2c]
movsd xmm0, qword [edx + 0x20]
movsd xmm1, qword [0x48bbe8]
comisd xmm0, xmm1
jbe 0x465540
movsd qword [edx + 0x20], xmm1
jmp 0x465540
movsd xmm0, qword [0x48bb98]
movsd qword [edx + 0x20], xmm0
mov ecx, edi
call fcn.00434fb0
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x18]
movaps xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xd4], eax
lea eax, [esp + 0xa0]
movaps xmmword [esp + 0xe0], xmm0
mov dword [esp + 0xd0], esi
mov dword [esp + 0xdc], eax
test ecx, ecx
je 0x465595
mov eax, dword [ecx]
inc eax
mov dword [esp + 0xac], eax
jmp 0x4655a0
mov dword [esp + 0xac], 0
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xb0], ecx
lea ecx, [esp + 0xd0]
call fcn.00449e80
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0xd0]
call fcn.00449e80
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4655dd
mov edx, eax
lea ecx, [esp + 0xd0]
call fcn.00449e30
cmp dword [esp + 0xc4], 0
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xbc], eax
jle 0x465647
mov al, byte [esp + 0xec]
xor esi, esi
xor edi, edi
or al, 8
lea ecx, [esp + 0xd0]
mov byte [esp + 0xec], al
mov eax, dword [esp + 0xc0]
mov edx, dword [esi + eax]
mov edx, dword [edx + 0x10]
call fcn.00449e80
mov al, byte [esp + 0xec]
lea esi, [esi + 0x10]
and al, 0xf7
inc edi
mov byte [esp + 0xec], al
cmp edi, dword [esp + 0xc4]
jl 0x465600
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
cmp byte [eax + 0x38], 0
jne 0x4665d8
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4662a5
mov eax, dword [esi + 0x48]
mov edx, ecx
mov dword [esp + 0xa4], eax
mov ecx, esi
inc eax
mov dword [esi + 0x48], eax
call fcn.00460150
push 0xfffffffffffffff0
push eax
push 0
push dword [esp + 0xb8]
mov edx, 0x2b
mov dword [esp + 0x58], eax
push dword [esp + 0xb4]
mov ecx, edi
call fcn.00434e30
inc dword [esi + 0x4c]
add esp, 0x14
mov dword [esp + 0x40], eax
mov ecx, edi
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x54], eax
add eax, 2
mov dword [esi + 0x4c], eax
call fcn.00434fb0
inc dword [esi + 0x4c]
mov ecx, edi
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x7c], eax
call fcn.00434fb0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x4c]
inc eax
mov dword [esp + 0x84], eax
mov eax, dword [edx]
add dword [esi + 0x4c], eax
mov ecx, dword [esi + 0x4c]
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
mov eax, dword [edx]
mov edx, 7
add eax, ecx
mov ecx, edi
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x54]
inc eax
push eax
push 0
call fcn.00434dd0
push dword [esp + 0x5c]
mov edx, 7
mov ecx, edi
push 0
call fcn.00434dd0
mov ecx, dword [esp + 0x2c]
mov edx, 0xa
mov eax, dword [ecx]
mov ecx, dword [esp + 0x94]
dec eax
add eax, ecx
push eax
push ecx
push 0
mov ecx, edi
call fcn.00434cb0
add esp, 0x1c
mov edx, 2
mov ecx, edi
push dword [esp + 0x78]
push dword [esp + 0x80]
call fcn.00434dd0
mov edx, dword [esp + 0x20]
mov ecx, esi
push 0
push 0
push 0
push dword [esp + 0x30]
push dword [esp + 0x84]
call fcn.00470b80
add esp, 0x1c
mov dword [esp + 0x30], eax
test eax, eax
je 0x4665d8
mov ecx, dword [esp + 0x1c]
movzx eax, word [eax + 8]
cmp eax, dword [ecx]
jne 0x46579c
xor ecx, ecx
mov dword [esp + 0x6c], ecx
jmp 0x465b20
cmp byte [esp + 0x13], 0
je 0x4657b2
mov eax, dword [esp + 0x24]
mov edx, str.DISTINCT
test byte [eax + 6], 1
je 0x4657b7
mov edx, str.GROUP_BY
mov ecx, esi
call fcn.00460230
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], 1
mov eax, dword [eax]
mov dword [esp + 0x14], eax
inc eax
mov dword [esp + 0x20], eax
mov edx, eax
mov dword [esp + 0x74], eax
mov ecx, eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x60], eax
test eax, eax
jle 0x46580a
mov eax, dword [esp + 0xb4]
add eax, 0xc
cmp dword [eax], ecx
jl 0x4657fc
inc edx
inc ecx
add eax, 0x18
sub dword [esp + 0x60], 1
jne 0x4657f6
mov dword [esp + 0x74], edx
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x40]
mov dword [esp + 0x28], eax
cmp edx, ecx
jg 0x465824
add eax, edx
sub ecx, edx
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], ecx
jmp 0x46582f
mov eax, dword [esi + 0x4c]
inc eax
add dword [esi + 0x4c], edx
mov dword [esp + 0x28], eax
mov ecx, esi
call fcn.00447b40
mov edx, dword [esp + 0x1c]
push 0
push dword [esp + 0x2c]
call fcn.00449110
mov eax, dword [esp + 0x30]
mov edx, 0x37
add eax, dword [esp + 0x1c]
mov ecx, edi
push eax
push dword [esp + 0xb0]
call fcn.00434dd0
add esp, 0x10
mov dword [esp + 0x58], 0
cmp dword [esp + 0xb8], 0
jle 0x465900
mov ecx, dword [esp + 0x28]
add ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x14], eax
nop dword [eax]
mov edx, dword [esp + 0xb4]
mov edi, dword [esp + 0x20]
cmp dword [eax + edx + 0xc], edi
mov edi, dword [esp + 0x70]
jl 0x4658e7
push 0
push ecx
push dword [eax + edx + 4]
mov ecx, esi
push dword [eax + edx + 8]
mov edx, dword [eax + edx]
call fcn.00447aa0
mov ecx, dword [esp + 0x70]
add esp, 0x10
cmp ecx, eax
je 0x4658da
push ecx
push eax
mov edx, 0xf
mov ecx, edi
call fcn.00434dd0
mov ecx, dword [esp + 0x68]
add esp, 8
inc dword [esp + 0x20]
inc ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x58]
add eax, 0x18
inc edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x58], edx
cmp edx, dword [esp + 0xb8]
jl 0x465890
mov al, byte [esi + 0x13]
test al, al
jne 0x46590f
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
jmp 0x46591b
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x14], eax
cmp dword [edi + 0x20], eax
jg 0x46593a
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x46596e
mov eax, dword [esp + 0x14]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x74]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
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 + 0xa4]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x14], eax
cmp dword [edi + 0x20], eax
jg 0x465994
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x4659ca
mov eax, dword [esp + 0x14]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
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 0x4659ce
mov edx, dword [esp + 0x20]
test edx, edx
je 0x465a02
mov al, byte [esi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x465a02
xor ecx, ecx
lea eax, [esi + 0x64]
cmp dword [eax + 0x10], edx
je 0x4659fe
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x4659e2
movzx eax, byte [esp + 0x13]
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
jmp 0x465a02
mov byte [eax + 8], 1
push dword [esp + 0x74]
mov edx, dword [esp + 0x2c]
mov ecx, esi
call fcn.004478b0
mov eax, dword [esp + 0x78]
add esp, 4
cmp eax, dword [esi + 0x3c]
jle 0x465a27
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x40], eax
mov ecx, dword [esp + 0x30]
call fcn.004717d0
mov eax, dword [esi + 0x48]
mov dword [esp + 0x60], eax
mov dword [esp + 0xa8], eax
inc eax
mov dword [esi + 0x48], eax
mov al, byte [esi + 0x13]
test al, al
jne 0x465a55
inc dword [esi + 0x4c]
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x20], ecx
jmp 0x465a65
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x14], eax
cmp dword [edi + 0x20], eax
jg 0x465a80
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x465ab4
mov eax, dword [esp + 0x14]
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 + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x74]
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 + 0xa4]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x14], eax
cmp dword [edi + 0x20], eax
jg 0x465ada
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x465b11
mov eax, dword [esp + 0x14]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x80]
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 + 0xa1], 1
call fcn.00447b40
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov dword [esp + 0x74], eax
call fcn.00447b40
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x465b54
push dword [esp + 0x20]
mov edx, 0x3e
mov ecx, edi
push dword [esp + 0xa8]
call fcn.00434dd0
mov ecx, dword [esp + 0x74]
add esp, 8
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x28], eax
cmp dword [edx], eax
jle 0x465c55
test ecx, ecx
je 0x465bd9
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x20], ecx
jg 0x465b89
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x465bbd
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
inc dword [edi + 0x1c]
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 4]
mov esi, dword [esp + 0x60]
mov dword [ecx + edx*4 + 8], eax
add eax, dword [esp + 0x34]
mov dword [ecx + edx*4 + 4], esi
mov esi, dword [esp + 0x2c]
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 + 0x28]
test eax, eax
jne 0x465c40
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x465c40
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x20
jmp 0x465c3c
mov ecx, dword [esp + 0x34]
add ecx, eax
mov byte [esp + 0xa0], 1
mov dword [esp + 0x20], ecx
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x465c0e
cmp byte [edx], 0x84
jne 0x465c0e
push dword [esp + 0x20]
mov ecx, dword [esi + 8]
push dword [edx + 0x18]
mov edx, 0xe
jmp 0x465c34
push dword [esp + 0x20]
mov ecx, esi
call fcn.00447ed0
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x20]
cmp edx, eax
je 0x465c3c
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x465c3c
push eax
push edx
mov edx, 0xf
call fcn.00434dd0
add esp, 8
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
cmp eax, dword [edx]
jl 0x465b66
mov eax, dword [edx]
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x14], edx
cmp dword [edi + 0x20], edx
jg 0x465c7d
mov ecx, edi
call fcn.00434c30
test eax, eax
je 0x465c79
mov edx, 1
jmp 0x465cb8
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
inc dword [edi + 0x1c]
mov esi, dword [esp + 0x84]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x58]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x2c]
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.00435360
mov eax, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x14], eax
cmp dword [edi + 0x20], eax
jg 0x465ce3
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x465d14
mov eax, dword [esp + 0x14]
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 + 0x2c]
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov edx, dword [esp + 0x34]
push dword [eax]
push dword [esp + 0x88]
call fcn.00447d50
mov eax, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x48], eax
cmp dword [edi + 0x20], eax
jg 0x465d4a
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x465d8c
mov eax, dword [esp + 0x48]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x70]
add edx, 2
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x88]
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 0x465da7
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x465de3
mov eax, dword [esp + 0x48]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x2c]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x80]
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 0x465dfe
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x465e32
mov eax, dword [esp + 0x48]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x7c]
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 + 0x14]
test eax, eax
js 0x465e4b
mov edx, dword [edi + 0x1c]
cmp edx, eax
jbe 0x465e4b
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], edx
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.00464780
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x48], eax
cmp dword [edi + 0x20], eax
jg 0x465e74
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x465ea8
mov eax, dword [esp + 0x48]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x54]
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 ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x465f10
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x48], eax
cmp dword [edi + 0x20], eax
jg 0x465eda
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x465f59
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 + 0x74]
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 0x465f59
mov ecx, dword [esp + 0x30]
call fcn.004717d0
mov eax, dword [edi + 4]
mov dword [esp + 0x48], eax
test eax, eax
je 0x465f59
mov ecx, dword [esp + 0x40]
lea esi, [ecx + ecx*4]
mov ecx, dword [edi]
push dword [eax + esi*4 + 0x10]
movsx edx, byte [eax + esi*4 + 1]
call fcn.00435210
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 + 0x2c]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
cmp dword [edi + 0x20], eax
jg 0x465f74
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x465fb6
mov eax, dword [esp + 0x40]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x70]
add edx, 2
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x88]
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 + 0x40], eax
cmp dword [edi + 0x20], eax
jg 0x465fd1
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x466008
mov eax, dword [esp + 0x40]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x80]
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 + 0x14], eax
cmp dword [edi + 0x20], eax
jg 0x466023
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x46605c
mov eax, dword [esp + 0x14]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x2c]
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 + 0x40], eax
cmp dword [edi + 0x20], eax
jg 0x466077
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x4660b6
mov eax, dword [esp + 0x40]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x70]
add edx, 2
mov esi, dword [esp + 0x2c]
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 + 0x28]
test ecx, ecx
je 0x4660d2
mov eax, dword [esp + 0x88]
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 0x4660ed
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x466124
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 + 0x54]
mov dword [ecx + edx*4 + 4], esi
mov esi, dword [esp + 0x2c]
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 + 0x40], eax
cmp dword [edi + 0x20], eax
jg 0x46613f
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x46617e
mov eax, dword [esp + 0x40]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x70]
add edx, 2
mov esi, dword [esp + 0x2c]
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 + 0xa0]
mov ecx, esi
call fcn.004646b0
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
inc esi
mov ecx, dword [esp + 0x2c]
push 8
push esi
call fcn.004495b0
push dword [esp + 0x1c]
lea eax, [esp + 0x9c]
push esi
push dword [esp + 0x6c]
mov esi, dword [esp + 0x40]
mov ecx, esi
push eax
push dword [esp + 0x50]
mov eax, dword [esp + 0x40]
mov edx, eax
push 0
push 0
push dword [eax]
call fcn.0045fa90
mov eax, dword [edi + 0x1c]
add esp, 0x28
mov dword [esp + 0x40], eax
cmp dword [edi + 0x20], eax
jg 0x4661eb
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x466226
mov eax, dword [esp + 0x40]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x54]
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 + 0x28]
test ecx, ecx
je 0x46623f
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 + 0xa0]
mov ecx, esi
call fcn.004644f0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
cmp dword [edi + 0x20], eax
jg 0x46626c
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x466558
mov eax, dword [esp + 0x40]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x7c]
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 0x466558
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xa0]
mov dword [esp + 0x20], 0
call fcn.00463c20
mov dword [esp + 0x34], eax
test eax, eax
je 0x466421
mov ecx, dword [esi]
mov edx, dword [eax + 0x40]
call fcn.0045e8a0
mov edx, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x7c], eax
inc eax
mov dword [esi + 0x48], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x20]
mov edx, ecx
mov dword [esp + 0x14], ecx
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.00451470
mov eax, dword [esp + 0x34]
mov ecx, esi
mov edx, dword [esp + 0x14]
push dword [eax]
push 0
push dword [eax + 0x20]
call fcn.0044cf50
mov edx, dword [esp + 0x40]
add esp, 0xc
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x466370
xor esi, esi
cmp byte [ecx + 0x2e], 0
jne 0x46633c
test esi, esi
je 0x46633a
mov eax, dword [ecx + 0x24]
cmp eax, dword [esi + 0x24]
jge 0x46633c
mov esi, ecx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x466328
mov dword [esp + 0x78], esi
test esi, esi
mov esi, dword [esp + 0x2c]
je 0x466370
mov ecx, dword [esp + 0x78]
movsx eax, word [edx + 0x26]
cmp dword [ecx + 0x24], eax
jge 0x466370
mov eax, dword [ecx + 0x28]
mov edx, ecx
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.00451980
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
cmp dword [edi + 0x20], eax
jg 0x46638b
mov ecx, edi
call fcn.00434c30
test eax, eax
jne 0x4663bf
mov eax, dword [esp + 0x40]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
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 eax, dword [esp + 0x58]
test eax, eax
je 0x4663d7
push 0xfffffffffffffff0
push eax
or edx, 0xffffffff
mov ecx, edi
call fcn.00435360
add esp, 8
mov eax, dword [esp + 0xc0]
mov edx, 0x20
mov ecx, edi
push dword [eax + 8]
push dword [esp + 0x80]
call fcn.00434dd0
push dword [esp + 0x84]
mov edx, 0x2d
mov ecx, edi
call fcn.00434d70
mov edx, dword [esp + 0x40]
add esp, 0xc
mov ecx, esi
push dword [esp + 0x78]
call fcn.00464b60
add esp, 4
jmp 0x466508
mov ecx, dword [esp + 0x24]
call fcn.00463bb0
mov byte [esp + 0x13], al
test al, al
je 0x466478
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
push 0
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
call fcn.00445de0
mov edx, eax
add esp, 4
mov dword [esp + 0x20], edx
test edx, edx
je 0x466478
mov eax, dword [esp + 0x44]
cmp byte [eax + 0x38], 0
jne 0x466478
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
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.004644f0
mov al, byte [esp + 0x13]
mov ecx, esi
mov edx, dword [esp + 0x18]
push 0
movzx eax, al
push eax
push 0
push dword [esp + 0x2c]
push dword [esp + 0x7c]
call fcn.00470b80
add esp, 0x14
mov dword [esp + 0x30], eax
test eax, eax
jne 0x4664c2
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
call fcn.00446590
jmp 0x4665d8
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.00464780
mov eax, dword [esp + 0x30]
cmp word [eax + 8], 0
jbe 0x4664f3
push dword [eax + 0x18]
mov edx, 1
mov ecx, edi
push 0
call fcn.00434dd0
mov eax, dword [esp + 0x38]
add esp, 8
mov ecx, eax
call fcn.004717d0
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.004646b0
mov edx, dword [esp + 0x50]
mov ecx, esi
push 8
push dword [esp + 0x84]
mov dword [esp + 0x40], 0
call fcn.004495b0
mov eax, dword [esp + 0x88]
mov ecx, esi
push eax
push eax
push dword [esp + 0x6c]
mov eax, dword [esp + 0x38]
mov edx, eax
push 0
push 0
push 0
push 0
push dword [eax]
call fcn.0045fa90
mov edx, dword [esp + 0x48]
add esp, 0x28
mov ecx, dword [esp + 0x44]
call fcn.00446590
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x466574
mov eax, dword [esp + 0x80]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x4c]
cmp al, 3
jne 0x466588
mov edx, str.DISTINCT
mov ecx, esi
call fcn.00460230
cmp dword [esp + 0x38], 0
je 0x4665b4
mov edx, str.ORDER_BY
mov ecx, esi
call fcn.00460230
mov eax, dword [esp + 0x3c]
mov ecx, esi
push dword [esp + 0x5c]
mov edx, dword [esp + 0x28]
push dword [eax]
push edi
call fcn.004603b0
add esp, 0xc
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x4665d0
mov eax, dword [esp + 0x9c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x8c]
mov dword [esi + 0x1e4], ecx
test edi, edi
jne 0x46660b
mov ecx, dword [esp + 0x5c]
cmp byte [ecx], 5
jne 0x46660b
push edx
mov edx, eax
mov ecx, esi
call fcn.00460bd0
add esp, 4
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0x44]
call fcn.0041a2e0
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x44]
call fcn.0041a2e0
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004787cb
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004787cb
mov esp, ebp
pop ebp
ret