Function at 0x45a520
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 [0x50e74c]
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 0x45c231
cmp byte [eax + 0x40], 0
jne 0x45c231
cmp dword [edi + 0x44], 0
jne 0x45c231
push 0
push 0
push 0
mov edx, 0x15
call fcn.0043ce80
add esp, 0xc
test eax, eax
jne 0x45c231
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 0x45a5ef
mov edx, dword [esi + 0x38]
mov ecx, dword [esp + 0x50]
call fcn.00435c40
mov eax, 0xfffe
mov dword [esi + 0x38], 0
and word [esi + 6], ax
push 0
mov edx, esi
mov ecx, edi
call fcn.00459c60
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 0x45c21d
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x40], 0
jne 0x45c227
movzx eax, word [esi + 6]
mov ecx, edi
shr eax, 2
and eax, 1
mov dword [esp + 0x18], eax
call fcn.00455400
mov esi, eax
mov dword [esp + 0x68], esi
test esi, esi
je 0x45a674
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x70]
cmp dword [ecx], 1
movzx eax, byte [eax]
jle 0x45a6de
cmp eax, 6
je 0x45a666
cmp eax, 7
jne 0x45a6de
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push edi
call fcn.00409b90
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 0x45a6a8
mov ecx, dword [esp + 0x70]
cmp byte [ecx], 5
jne 0x45a6a8
push edx
mov edx, eax
mov ecx, edi
call fcn.00454b20
add esp, 4
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0x50]
call fcn.00407740
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x50]
call fcn.00407740
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004c515f
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 0x45aa79
mov eax, dword [esp + 0x24]
movzx eax, byte [eax]
cmp edx, eax
jge 0x45aa79
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 0x45aa66
cmp dword [eax + 0x18], 0
je 0x45a759
test byte [eax + 0x24], 4
jne 0x45aa66
push dword [eax + 0x18]
mov edx, 0xf
mov ecx, esi
push dword [eax + 0x1c]
call fcn.00424590
mov ecx, dword [esp + 0x24]
add esp, 8
mov edx, dword [esp + 0x4c]
jmp 0x45aa66
call fcn.00434a40
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.00458760
add esp, 0xc
test eax, eax
je 0x45a7b6
cmp dword [esp + 0x28], 0
je 0x45a7aa
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 1
or word [eax + 6], 4
or eax, 0xffffffff
mov dword [esp + 0x4c], eax
jmp 0x45aa2a
mov eax, dword [esp + 0x24]
cmp byte [eax], 1
jne 0x45a93c
mov eax, dword [esp + 0x1c]
mov ecx, 0x100
test word [eax + 6], cx
jne 0x45a93c
mov eax, dword [esp + 0x50]
test word [eax + 0x3c], cx
jne 0x45a93c
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.00442070
mov edx, 0xe
mov ecx, esi
call fcn.004244d0
mov eax, dword [esp + 0x14]
mov edx, 0x35
mov ecx, esi
push dword [eax + 0x2c]
call fcn.00424530
mov edx, eax
add esp, 4
mov eax, dword [esi + 4]
mov dword [esp + 0x34], edx
test eax, eax
je 0x45a83f
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.00424590
mov ecx, dword [esi + 4]
add esp, 8
test ecx, ecx
je 0x45a86d
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.0045a520
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 0x45a903
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 0x45a903
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.00424590
mov eax, dword [esp + 0x1c]
mov edx, 0x11
mov ecx, esi
push dword [eax + 0x1c]
call fcn.00424530
mov edx, dword [esp + 0x40]
add esp, 0xc
dec edx
mov ecx, esi
call fcn.004249c0
jmp 0x45aa1f
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.00424590
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 0x45a983
mov ecx, edi
call fcn.004360a0
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.0045a520
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 0x45a9ee
mov edx, eax
mov ecx, esi
call fcn.004249c0
mov eax, dword [esp + 0x14]
mov edx, 0x10
mov ecx, esi
push dword [eax + 0x1c]
call fcn.00424530
mov dword [esp + 0x4c], eax
add esp, 4
mov eax, dword [esp + 0x28]
cmp dword [esi + 0x1c], eax
jbe 0x45aa1f
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 0x45a674
mov ecx, dword [esp + 0x1c]
call fcn.00434a40
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 0x45aa6a
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 0x45a6f5
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 0x45ab11
cmp dword [ecx + 0x44], 0
jne 0x45aae0
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 0x45aab7
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x45aae0
cmp edx, eax
jle 0x45aae0
push str.too_many_terms_in_compound_SELECT
jmp 0x45a66b
push dword [esp + 0x70]
mov edx, ecx
mov ecx, edi
call fcn.00455660
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.004c515f
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x40]
mov ecx, eax
push 0xffffffffffffffff
call fcn.00439370
add esp, 4
test eax, eax
jne 0x45ab3d
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 0x45ac7a
mov edx, dword [ecx]
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
call fcn.00439370
add esp, 4
test eax, eax
jne 0x45ac7a
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.00435460
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 0x45abbf
mov ecx, dword [esp + 0x44]
mov edx, 0x33
push dword [ecx]
mov ecx, esi
push dword [eax + 4]
call fcn.00424590
add esp, 8
mov ecx, esi
call fcn.00424770
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.00455470
mov edx, dword [esp + 0x20]
add esp, 4
cmp dword [edx + 8], 0
jne 0x45ac15
mov eax, dword [esp + 0x34]
test eax, eax
js 0x45ac15
mov edx, eax
mov ecx, esi
call fcn.00424c20
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x34
or word [edx + 6], 0x40
test byte [edx + 6], 1
je 0x45accb
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.00453f40
add esp, 4
mov edx, 0x33
mov ecx, esi
push eax
push 0
push 0
push edi
call fcn.004245f0
mov ecx, dword [esi + 4]
add esp, 0x14
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x45ac6e
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 0x45accd
mov eax, dword [esp + 0x40]
test eax, eax
je 0x45ab96
mov edx, eax
mov ecx, edi
call fcn.00453f40
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.004245f0
mov ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov dword [eax + 0x18], ecx
jmp 0x45ab9e
xor al, al
cmp dword [esp + 0x18], 0
mov byte [esp + 0x91], al
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
jne 0x45adf6
test eax, eax
jne 0x45adf6
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.0046ad30
add esp, 0x14
mov dword [esp + 0x60], eax
test eax, eax
je 0x45a674
mov cx, word [eax + 0x20]
call fcn.0040aec0
mov ecx, eax
mov eax, dword [esp + 0x1c]
cmp edx, dword [eax + 0x24]
ja 0x45ad48
jb 0x45ad42
cmp ecx, dword [eax + 0x20]
jae 0x45ad48
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
cmp byte [esp + 0x13], 0
mov edx, dword [esp + 0x60]
je 0x45ad7c
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 0x45ad99
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 0x45adb7
test ecx, ecx
jne 0x45adb7
mov ecx, esi
call fcn.00424a90
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.004537f0
mov ecx, dword [esp + 0x80]
add esp, 0x20
call fcn.0046b620
jmp 0x45c079
mov dword [esp + 0x6c], 0
mov dword [esp + 0x18], 0
test eax, eax
je 0x45ae67
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
jle 0x45ae2a
add ecx, 0x16
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x45ae18
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
jle 0x45ae52
add ecx, 0x16
lea ebx, [ebx]
xor edi, edi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], di
test eax, eax
jg 0x45ae40
mov edi, dword [esp + 0x30]
cmp dword [edx + 0x24], 0
ja 0x45ae5e
cmp dword [edx + 0x20], 0x64
jbe 0x45ae75
mov dword [edx + 0x20], 0x64
jmp 0x45ae6e
mov dword [edx + 0x20], 1
mov dword [edx + 0x24], 0
mov ecx, esi
call fcn.00424770
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 0x45aec9
mov eax, dword [ecx]
inc eax
mov dword [esp + 0xac], eax
jmp 0x45aed4
mov dword [esp + 0xac], 0
mov edx, dword [esp + 0x44]
mov dword [esp + 0xb0], ecx
lea ecx, [esp + 0xd0]
call fcn.004398e0
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0xd0]
call fcn.004398e0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45af11
mov edx, eax
lea ecx, [esp + 0xd0]
call fcn.00439890
cmp dword [esp + 0xc4], 0
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xbc], eax
jle 0x45af87
mov al, byte [esp + 0xec]
xor edi, edi
xor esi, esi
jmp 0x45af40
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.004398e0
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 0x45af40
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x40], 0
jne 0x45a674
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x45bcf6
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.00453f40
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.004245f0
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.00424770
inc dword [edi + 0x4c]
mov ecx, esi
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x58], eax
call fcn.00424770
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 0x45b054
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45b08d
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 0x45b0a8
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45b0dc
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.00424470
add esp, 0xc
mov edx, 0xf
mov ecx, esi
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.00424590
mov edx, dword [esp + 0x2c]
mov ecx, edi
push 0
push 0x100
push 0
push dword [esp + 0x28]
push dword [esp + 0x8c]
call fcn.0046ad30
add esp, 0x1c
mov dword [esp + 0x28], eax
test eax, eax
je 0x45a674
cmp byte [eax + 0x24], 0
je 0x45b155
xor ecx, ecx
mov dword [esp + 0x88], ecx
jmp 0x45b582
cmp byte [esp + 0x13], 0
je 0x45b16b
mov eax, dword [esp + 0x1c]
mov edx, str.DISTINCT
test byte [eax + 6], 1
je 0x45b170
mov edx, str.GROUP_BY
mov ecx, edi
call fcn.00454020
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 0x45b1bf
mov eax, dword [esp + 0xb4]
add eax, 0xc
lea esp, [esp]
cmp dword [eax], ecx
jl 0x45b1b9
inc dword [esp + 0x4c]
inc ecx
add eax, 0x18
dec edx
jne 0x45b1b0
mov ecx, dword [edi + 0x3c]
mov edx, dword [esp + 0x4c]
mov eax, dword [edi + 0x40]
mov dword [esp + 0x7c], eax
cmp edx, ecx
jg 0x45b1dd
add eax, edx
sub ecx, edx
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], ecx
jmp 0x45b1ec
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.00437420
mov edx, dword [esp + 0x7c]
push 0
push edx
mov edx, dword [esp + 0x1c]
call fcn.00438a10
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 0x45b22c
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45b267
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 0x45b26b
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x48], 0
test ecx, ecx
jle 0x45b362
add edx, dword [esp + 0x74]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x18], 0
jmp 0x45b2a0
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 0x45b34c
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.00437380
mov edx, dword [esp + 0x7c]
add esp, 0x10
mov dword [esp + 0x2c], eax
cmp edx, eax
je 0x45b33c
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x78], eax
cmp dword [esi + 0x20], eax
jg 0x45b308
mov ecx, esi
call fcn.004243f0
mov edx, dword [esp + 0x6c]
test eax, eax
jne 0x45b33c
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 0x45b2a0
mov al, byte [edi + 0x13]
test al, al
jne 0x45b371
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
jmp 0x45b37d
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 0x45b39c
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45b3d0
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 0x45b3f6
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45b42c
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 0x45b430
mov edx, dword [esp + 0x18]
test edx, edx
je 0x45b464
mov al, byte [edi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x45b464
xor ecx, ecx
lea eax, [edi + 0x68]
cmp dword [eax + 0x10], edx
je 0x45b460
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x45b444
movzx eax, byte [esp + 0x13]
mov dword [edi + eax*4 + 0x1c], edx
inc byte [edi + 0x13]
jmp 0x45b464
mov byte [eax + 8], 1
push dword [esp + 0x4c]
mov edx, dword [esp + 0x80]
mov ecx, edi
call fcn.004371a0
mov eax, dword [esp + 0x50]
add esp, 4
cmp eax, dword [edi + 0x3c]
jle 0x45b48c
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x7c]
mov dword [edi + 0x40], eax
mov ecx, dword [esp + 0x28]
call fcn.0046b620
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 0x45b4ba
inc dword [edi + 0x4c]
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x18], ecx
jmp 0x45b4ca
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 0x45b4e5
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45b519
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 0x45b53f
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45b573
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.00437420
mov eax, dword [esi + 0x1c]
mov ecx, edi
mov dword [esp + 0x74], eax
call fcn.00437420
mov eax, dword [esp + 0x88]
test eax, eax
je 0x45b5fc
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 0x45b5c1
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45b5f5
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 0x45b6bb
mov edi, edi
test eax, eax
je 0x45b67d
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x20], eax
jg 0x45b633
mov ecx, esi
call fcn.004243f0
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x45b665
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 0x45b6a3
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x45b6a3
mov eax, dword [esi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x20
jmp 0x45b6a3
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.004386f0
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 0x45b610
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 0x45b6e3
mov ecx, esi
call fcn.004243f0
test eax, eax
je 0x45b6df
mov edx, 1
jmp 0x45b71e
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.00424ad0
mov edx, dword [esi + 0x1c]
add esp, 8
mov dword [esp + 0x48], edx
cmp dword [esi + 0x20], edx
jg 0x45b749
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45b777
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.00437630
mov eax, dword [esi + 0x1c]
add esp, 8
mov dword [esp + 0x38], eax
cmp dword [esi + 0x20], eax
jg 0x45b7ad
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45b7ef
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 0x45b80a
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45b843
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 0x45b85e
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45b892
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 0x45b8ab
mov edx, dword [esi + 0x1c]
cmp edx, eax
jbe 0x45b8ab
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.00459fb0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x20], eax
jg 0x45b8d4
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45b908
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 0x45b973
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 0x45b93d
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45b9b5
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 0x45b9b5
mov ecx, dword [esp + 0x28]
call fcn.0046b620
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x45b9b5
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.004249e0
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 0x45b9d0
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45ba12
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 0x45ba2d
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45ba61
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 0x45ba7c
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45bab5
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 0x45bad0
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45bb0f
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 0x45bb28
mov edx, dword [esi + 0x28]
test edx, edx
je 0x45bb28
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 0x45bb43
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45bb75
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 0x45bb90
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45bbcf
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.00459ef0
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
inc edi
mov ecx, dword [esp + 0x30]
push 8
push edi
call fcn.00438f00
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.004537f0
mov eax, dword [esi + 0x1c]
add esp, 0x28
mov dword [esp + 0x20], eax
cmp dword [esi + 0x20], eax
jg 0x45bc3f
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45bc7a
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 0x45bc90
mov edx, dword [esi + 0x28]
test edx, edx
je 0x45bc90
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.00459cc0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [esi + 0x20], eax
jg 0x45bcbd
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45c063
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 0x45c063
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xa0]
mov dword [esp + 0x84], 0
call fcn.00458da0
mov dword [esp + 0x34], eax
test eax, eax
je 0x45bf01
mov ecx, dword [edi]
mov edx, dword [eax + 0x44]
call fcn.00452260
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.00442070
mov eax, dword [esp + 0x34]
mov ecx, edi
mov edx, dword [esp + 0x58]
push dword [eax]
push 0
push dword [eax + 0x20]
call fcn.0043cf00
mov edx, dword [esp + 0x40]
add esp, 0xc
mov eax, dword [edx + 8]
test eax, eax
je 0x45bdd4
xor edi, edi
test byte [eax + 0x34], 4
jne 0x45bda3
movzx ecx, word [eax + 0x2c]
cmp cx, word [edx + 0x2a]
jge 0x45bda3
cmp dword [eax + 0x24], 0
jne 0x45bda3
test edi, edi
je 0x45bda1
cmp cx, word [edi + 0x2c]
jge 0x45bda3
mov edi, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x45bd81
mov dword [esp + 0x80], edi
test edi, edi
mov edi, dword [esp + 0x30]
je 0x45bdd4
mov eax, dword [esp + 0x80]
mov edx, eax
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x28], ecx
mov ecx, edi
call fcn.00442600
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
cmp dword [esi + 0x20], eax
jg 0x45bdef
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45be23
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 0x45be3b
push 0xfffffffffffffff0
push eax
or edx, 0xffffffff
mov ecx, esi
call fcn.00424ad0
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 0x45be64
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45be98
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 0x45beb3
mov ecx, esi
call fcn.004243f0
test eax, eax
jne 0x45bee7
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.0045a4c0
add esp, 4
jmp 0x45c013
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 0x45bf7e
lea edx, [esp + 0x58]
lea ecx, [esp + 0xa0]
call fcn.00458d30
mov byte [esp + 0x13], al
test al, al
je 0x45bf76
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
push 0
call fcn.00435460
mov edx, eax
add esp, 4
mov dword [esp + 0x5c], edx
mov dword [esp + 0x84], edx
test edx, edx
je 0x45bf7e
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x40], 0
jne 0x45bf7e
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 0x45bf7e
mov eax, dword [esp + 0x58]
mov dword [esp + 0x5c], eax
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.00459cc0
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.0046ad30
add esp, 0x14
mov dword [esp + 0x28], eax
test eax, eax
jne 0x45bfce
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x50]
call fcn.00435c40
jmp 0x45a674
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.00459fb0
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x24], 0
je 0x45bffe
push dword [eax + 0x34]
mov edx, 0xe
mov ecx, esi
push 0
call fcn.00424590
mov eax, dword [esp + 0x30]
add esp, 8
mov ecx, eax
call fcn.0046b620
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.00459ef0
mov edx, dword [esp + 0x3c]
mov ecx, edi
push 8
push dword [esp + 0x64]
mov dword [esp + 0x48], 0
call fcn.00438f00
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.004537f0
mov edx, dword [esp + 0xac]
add esp, 0x28
mov ecx, dword [esp + 0x50]
call fcn.00435c40
or ecx, 0xffffffff
sub ecx, dword [esp + 0x60]
js 0x45c079
mov edx, dword [esi + 0x28]
test edx, edx
je 0x45c079
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x54]
cmp al, 3
jne 0x45c12f
cmp byte [edi + 0x1d4], 2
jne 0x45c12f
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.00408e50
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 0x45c0e5
mov ecx, eax
call fcn.004243f0
test eax, eax
je 0x45c0dd
mov edx, 1
jmp 0x45c11d
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.00424ad0
add esp, 8
cmp dword [esp + 0x40], 0
je 0x45c1fd
cmp byte [edi + 0x1d4], 2
jne 0x45c1e4
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.00408e50
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 0x45c19a
mov ecx, eax
call fcn.004243f0
test eax, eax
je 0x45c192
mov edx, 1
jmp 0x45c1d2
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.00424ad0
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.004540f0
add esp, 0xc
or edx, 0xffffffff
sub edx, dword [esp + 0x9c]
js 0x45c216
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x45c216
mov eax, dword [esi + 0x1c]
mov dword [ecx + edx*4], eax
xor esi, esi
jmp 0x45a679
mov esi, 1
jmp 0x45a681
mov esi, 1
jmp 0x45a67d
mov ecx, dword [esp + 0x10c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004c515f
mov esp, ebp
pop ebp
ret