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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x1016e750]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x74], eax
push edi
mov edi, edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], edi
mov eax, dword [esi + 0x1e4]
mov dword [esp + 0xc8], 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 + 0x34], 1
mov dword [esp + 0x58], eax
test edi, edi
je 0x100af1ec
cmp byte [eax + 0x36], 0
jne 0x100af1ec
cmp dword [esi + 0x44], 0
jne 0x100af1ec
push 0
push 0
push 0
mov edx, 0x15
call fcn.100928e0
add esp, 0xc
test eax, eax
jne 0x100af1ec
mov eax, dword [esp + 0x78]
xorps xmm0, xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movq qword [esp + 0xb0], xmm0
cmp byte [eax], 4
ja 0x100ad697
mov edx, dword [edi + 0x38]
mov ecx, dword [esp + 0x58]
call fcn.1008b2d0
mov eax, 0xfffe
mov dword [edi + 0x38], 0
and word [edi + 6], ax
push 0
mov edx, edi
mov ecx, esi
call fcn.100acb90
mov eax, dword [edi + 0x38]
add esp, 4
cmp dword [esi + 0x44], 0
mov ecx, dword [edi]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x100af18b
mov edx, dword [esp + 0x58]
cmp byte [edx + 0x36], 0
jne 0x100af18b
movzx eax, word [edi + 6]
mov ecx, esi
shr eax, 2
and eax, 1
mov dword [esp + 0x8c], eax
call fcn.100a8de0
mov edi, eax
mov dword [esp + 0x80], edi
test edi, edi
je 0x100af183
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x78]
cmp dword [edx], 1
movzx eax, byte [eax]
jle 0x100ad72b
cmp eax, 6
je 0x100ad718
cmp eax, 7
jne 0x100ad72b
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push esi
call fcn.10061300
add esp, 8
jmp 0x100af183
mov ecx, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x14], edx
cmp dword [ecx + 0x3c], edx
jne 0x100ad7a1
mov eax, dword [esp + 0x1c]
mov edi, edi
movsx eax, word [eax]
cmp edx, eax
jge 0x100ad7a1
mov esi, dword [esp + 0x1c]
mov eax, edx
shl eax, 6
mov dword [esp + 0x5c], eax
mov esi, dword [eax + esi + 0x18]
test esi, esi
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x2c]
je 0x100ad792
mov edx, dword [esp + 0x1c]
cmp dword [eax + edx + 0x1c], 0
je 0x100ad822
push dword [eax + edx + 0x1c]
mov ecx, edi
push dword [eax + edx + 0x20]
mov edx, 2
call fcn.1007a690
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc edx
cmp dword [ecx + 0x3c], 0
mov dword [esp + 0x14], edx
je 0x100ad740
mov edx, dword [ecx + 0x34]
mov eax, dword [ecx]
mov dword [esp + 0x88], edx
movzx edx, word [ecx + 6]
mov dword [esp + 0x20], eax
and edx, 1
cmp dword [ecx + 0x3c], 0
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x48], edx
je 0x100ada12
cmp dword [ecx + 0x44], 0
jne 0x100ad9e1
xor edi, edi
mov eax, ecx
xor edx, edx
mov dword [eax + 0x40], edi
inc edx
mov dword [eax + 0x44], ecx
mov edi, eax
mov eax, dword [eax + 0x3c]
test eax, eax
jne 0x100ad7e8
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x100ad9e1
cmp edx, eax
jle 0x100ad9e1
push str.too_many_terms_in_compound_SELECT
push esi
call fcn.10061300
add esp, 8
jmp 0x100af183
call fcn.1008a0e0
add dword [esi + 0x1e0], eax
mov ecx, esi
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x90]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.100abc50
add esp, 0xc
test eax, eax
je 0x100ad885
cmp dword [esp + 0x3c], 0
je 0x100ad879
mov eax, dword [esp + 0x18]
mov dword [esp + 0x8c], 1
or word [eax + 6], 4
or eax, 0xffffffff
mov dword [esp + 0x14], eax
jmp 0x100ad99c
mov edx, dword [esp + 0x5c]
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x4c]
inc eax
mov dword [esi + 0x4c], eax
mov dword [edx + ecx + 0x20], eax
mov edx, 7
push eax
push 0
mov ecx, edi
call fcn.1007a690
mov ecx, dword [esp + 0x64]
add esp, 8
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
inc eax
cmp byte [ecx + edx + 0x26], 0
mov dword [ecx + edx + 0x1c], eax
jne 0x100ad8e1
mov ecx, esi
call fcn.1008b6b0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
mov eax, dword [ecx + edx + 0x28]
mov dword [esp + 0x110], eax
mov al, byte [esi + 0x1e8]
mov word [esp + 0x10c], 9
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov byte [ecx + edx + 0x27], al
lea eax, [esp + 0x10c]
mov edx, dword [esp + 0x24]
mov ecx, esi
push eax
call fcn.100ad5c0
mov eax, dword [esp + 0x28]
add esp, 4
movsd xmm0, qword [eax + 0x20]
call fcn.1011dcbf
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + esi + 0x14]
mov esi, dword [esp + 0x2c]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x88]
test eax, eax
je 0x100ad961
mov edx, eax
mov ecx, edi
call fcn.1007ab60
mov eax, dword [esp + 0x5c]
mov edx, 3
mov ecx, dword [esp + 0x1c]
push dword [eax + ecx + 0x20]
mov ecx, edi
call fcn.1007a630
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x3c]
cmp dword [edi + 0x1c], eax
jbe 0x100ad991
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov byte [esi + 0x13], 0
mov dword [esi + 0x3c], 0
mov eax, dword [esp + 0x58]
cmp byte [eax + 0x36], 0
jne 0x100af183
mov ecx, dword [esp + 0x18]
call fcn.1008a0e0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x78]
sub dword [esi + 0x1e0], eax
mov eax, dword [ecx + 0x28]
cmp byte [edx], 4
mov dword [esp + 0x1c], eax
jbe 0x100ad9d8
mov edx, dword [ecx + 0x38]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x14]
jmp 0x100ad796
push dword [esp + 0x78]
mov edx, ecx
mov ecx, esi
call fcn.100a9030
mov edx, dword [esp + 0xcc]
add esp, 4
mov dword [esi + 0x1e4], edx
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.10103392
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x4c]
mov ecx, eax
call fcn.1008e9d0
test eax, eax
jne 0x100ada3d
mov eax, dword [esp + 0x58]
mov ecx, 0
test byte [eax + 0x18], 0x20
mov eax, dword [esp + 0x4c]
cmove eax, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 6]
and al, 5
cmp al, 1
jne 0x100adb8d
mov edx, dword [ecx]
mov ecx, dword [esp + 0x4c]
call fcn.1008e9d0
test eax, eax
jne 0x100adb8d
mov eax, dword [esp + 0x18]
mov ecx, 0xfffe
push 0
and word [eax + 6], cx
mov edx, dword [eax]
mov ecx, dword [esp + 0x5c]
call fcn.1008aaf0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x70], ecx
mov dword [eax + 0x30], ecx
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x78]
cmp byte [eax], 9
jne 0x100adac2
mov edx, dword [esp + 0x20]
mov ecx, edi
push dword [edx]
mov edx, 0x2a
push dword [eax + 4]
call fcn.1007a690
add esp, 8
mov ecx, edi
call fcn.1007a920
movsd xmm0, qword [0x10160a88]
mov ecx, eax
mov eax, dword [esp + 0x18]
mov edx, eax
mov dword [esp + 0xcc], ecx
push ecx
mov ecx, esi
movsd qword [eax + 0x20], xmm0
call fcn.100a8e50
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp dword [ecx + 8], 0
jne 0x100adb17
mov eax, dword [esp + 0x24]
test eax, eax
js 0x100adb17
mov edx, eax
mov ecx, edi
call fcn.1007ae40
mov ecx, dword [esp + 0x18]
mov byte [eax], 0x2b
or word [ecx + 6], 0x40
test byte [ecx + 6], 1
je 0x100adbe0
mov eax, dword [esi + 0x48]
mov dword [esp + 0x5c], eax
inc eax
mov dword [esi + 0x48], eax
mov edx, dword [ecx]
mov ecx, esi
call fcn.100a7ba0
push 0xfffffffffffffff0
push eax
push 0
push 0
push dword [esp + 0x6c]
mov edx, 0x2a
mov ecx, edi
call fcn.1007a700
mov ecx, dword [edi + 4]
add esp, 0x14
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x100adb65
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x8c], 0
mov eax, dword [esp + 0x14]
jne 0x100adea6
test eax, eax
jne 0x100adea6
cmp dword [esp + 0x48], eax
je 0x100adbf5
mov eax, dword [ecx]
jmp 0x100adbf7
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x100ada99
mov edx, eax
mov ecx, esi
call fcn.100a7ba0
mov edx, dword [esp + 0x4c]
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.1007a700
mov ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov dword [eax + 0x18], ecx
jmp 0x100adaa1
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x5c], 0xffffffff
jmp 0x100adb69
xor eax, eax
mov edx, dword [esp + 0x1c]
mov ecx, esi
push 0
push eax
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x74]
call fcn.100ba290
add esp, 0x10
mov dword [esp + 0x48], eax
test eax, eax
je 0x100af183
movsd xmm1, qword [eax + 0x30]
mov eax, dword [esp + 0x18]
movsd xmm0, qword [eax + 0x20]
comisd xmm0, xmm1
jbe 0x100adc36
movsd qword [eax + 0x20], xmm1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x4c], ecx
test eax, eax
js 0x100adc5e
test ecx, ecx
jne 0x100adc5e
mov edx, eax
mov ecx, edi
call fcn.1007ac90
mov eax, dword [esp + 0x18]
mov dword [eax + 0x18], 0xffffffff
mov eax, dword [esp + 0x48]
mov cl, byte [eax + 8]
mov byte [esp + 0x13], cl
test cl, cl
je 0x100ade6d
mov edx, dword [esp + 0x38]
mov ecx, edi
call fcn.1007ae40
cmp byte [esp + 0x13], 2
mov ecx, eax
mov dword [esp + 0x5c], 0xffffffff
jne 0x100ade66
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x14], eax
push 1
lea edx, [eax + 1]
mov eax, dword [esp + 0x24]
push edx
mov eax, dword [eax]
lea edi, [eax + edx]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x1c]
lea eax, [edi + eax*2]
mov dword [esi + 0x4c], eax
mov eax, edi
mov byte [ecx], 7
mov dword [ecx + 4], 1
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.1008e120
mov edi, dword [esp + 0x88]
mov edx, 0x1b
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x1c]
mov eax, dword [eax]
add ecx, 3
add eax, ecx
mov ecx, edi
mov dword [esp + 0x3c], eax
dec eax
push eax
push dword [esp + 0x20]
call fcn.1007a690
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x38], 0
cmp dword [eax], 0
jle 0x100ade1b
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [esp + 0x74]
inc edx
sub eax, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x3c], eax
mov edi, edi
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 8]
mov edx, dword [ecx + edx]
mov ecx, esi
call fcn.10089ba0
mov ecx, dword [esp + 0x24]
mov edx, 0x4b
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
add eax, ecx
push eax
push dword [esp + 0x38]
push ecx
mov ecx, edi
call fcn.1007a570
mov ecx, dword [edi + 4]
add esp, 0xc
mov eax, dword [edi]
mov dword [esp + 0x84], ecx
test ecx, ecx
je 0x100addce
cmp byte [eax + 0x36], 0
jne 0x100addce
mov eax, dword [edi + 0x1c]
dec eax
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 0x10]
movsx edx, byte [ecx + eax*4 + 1]
mov ecx, dword [edi]
mov dword [esp + 0x54], eax
call fcn.1007ab80
mov eax, dword [esp + 0x88]
add esp, 4
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x88]
mov dword [eax + ecx*4 + 0x10], 0
test edx, edx
jne 0x100addc3
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
jmp 0x100adde5
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], 0xfc
jmp 0x100adde5
mov edx, dword [esp + 0x88]
mov ecx, eax
push edx
mov edx, 0xfffffffc
call fcn.1007ab80
add esp, 4
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x100addf7
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x80
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
inc eax
mov ecx, dword [esp + 0x7c]
inc dword [esp + 0x24]
add ecx, 0x14
mov dword [esp + 0x38], eax
mov dword [esp + 0x7c], ecx
cmp eax, dword [edx]
jl 0x100add30
mov eax, dword [esp + 0x48]
mov edx, 1
mov ecx, edi
push dword [eax + 0x14]
push 0
call fcn.1007a690
push dword [esp + 0x1c]
mov edx, 7
mov ecx, edi
push 0
call fcn.1007a690
mov eax, dword [esp + 0x30]
mov edx, 0xd
mov ecx, edi
push dword [eax]
mov eax, dword [esp + 0x28]
push dword [esp + 0x88]
inc eax
push eax
call fcn.1007a570
add esp, 0x1c
jmp 0x100ade69
mov byte [ecx], 0x95
mov eax, dword [esp + 0x48]
push dword [eax + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, esi
push dword [eax + 0x14]
push dword [esp + 0x80]
push dword [esp + 0x68]
push dword [esp + 0x5c]
push 0
push 0
push dword [esp + 0x3c]
call fcn.100a7750
mov ecx, dword [esp + 0x68]
add esp, 0x20
call fcn.100baea0
jmp 0x100af120
mov dword [esp + 0x50], 0
mov dword [esp + 0x30], 0
test eax, eax
je 0x100adf1c
mov eax, dword [ecx]
mov edx, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
jle 0x100adedd
add edx, 0x10
xor edi, edi
lea edx, [edx + 0x14]
dec eax
mov word [edx - 0x14], di
test eax, eax
jg 0x100adec8
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
jle 0x100adf02
add edx, 0x10
lea ecx, [ecx]
xor esi, esi
lea edx, [edx + 0x14]
dec eax
mov word [edx - 0x14], si
test eax, eax
jg 0x100adef0
mov esi, dword [esp + 0x2c]
movsd xmm0, qword [ecx + 0x20]
movsd xmm1, qword [0x10160a28]
comisd xmm0, xmm1
jbe 0x100adf29
movsd qword [ecx + 0x20], xmm1
jmp 0x100adf29
movsd xmm0, qword [0x101609d8]
movsd qword [ecx + 0x20], xmm0
mov ecx, edi
call fcn.1007a920
mov ecx, dword [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x1c]
movdqa xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xd4], eax
lea eax, [esp + 0x90]
movdqa xmmword [esp + 0xe0], xmm0
mov dword [esp + 0xd0], esi
mov dword [esp + 0xdc], eax
test ecx, ecx
je 0x100adf7d
mov eax, dword [ecx]
inc eax
mov dword [esp + 0x9c], eax
jmp 0x100adf88
mov dword [esp + 0x9c], 0
mov edx, dword [esp + 0x20]
mov dword [esp + 0xa0], ecx
lea ecx, [esp + 0xd0]
call fcn.1008ede0
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xd0]
call fcn.1008ede0
mov eax, dword [esp + 0x88]
test eax, eax
je 0x100adff8
xorps xmm0, xmm0
lea ecx, [esp + 0xd0]
movdqa xmmword [esp + 0xf0], xmm0
mov edx, eax
mov dword [esp + 0xfc], ecx
lea ecx, [esp + 0xf0]
mov dword [esp + 0xf0], 0x1008eb00
mov dword [esp + 0xf4], fcn.100596e0
call fcn.100881e0
cmp dword [esp + 0xb4], 0
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xac], eax
jle 0x100ae06a
mov al, byte [esp + 0xec]
xor esi, esi
xor edi, edi
jmp 0x100ae020
or al, 8
lea ecx, [esp + 0xd0]
mov byte [esp + 0xec], al
mov eax, dword [esp + 0xb0]
mov edx, dword [eax + esi]
mov edx, dword [edx + 0x10]
call fcn.1008ede0
mov al, byte [esp + 0xec]
lea esi, [esi + 0x10]
and al, 0xf7
inc edi
mov byte [esp + 0xec], al
cmp edi, dword [esp + 0xb4]
jl 0x100ae020
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x58]
cmp byte [eax + 0x36], 0
jne 0x100af183
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100aed7b
mov eax, dword [esi + 0x48]
mov edx, ecx
mov dword [esp + 0x94], eax
mov ecx, esi
inc eax
mov dword [esi + 0x48], eax
call fcn.100a7ba0
push 0xfffffffffffffff0
push eax
push 0
push dword [esp + 0xa8]
mov edx, 0x2b
mov dword [esp + 0x54], eax
push dword [esp + 0xa4]
mov ecx, edi
call fcn.1007a700
inc dword [esi + 0x4c]
add esp, 0x14
mov dword [esp + 0x28], eax
mov ecx, edi
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x64], eax
add eax, 2
mov dword [esi + 0x4c], eax
call fcn.1007a920
inc dword [esi + 0x4c]
mov ecx, edi
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x38], eax
call fcn.1007a920
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
lea eax, [ecx + 1]
add ecx, dword [edx]
mov dword [esp + 0x84], eax
mov dword [esi + 0x4c], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
mov eax, dword [edx]
mov edx, 7
add eax, ecx
mov ecx, edi
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x64]
inc eax
push eax
push 0
call fcn.1007a690
push dword [esp + 0x6c]
mov edx, 7
mov ecx, edi
push 0
call fcn.1007a690
mov eax, dword [esp + 0x24]
mov edx, 0xa
mov ecx, dword [esp + 0x94]
mov eax, dword [eax]
dec eax
add eax, ecx
push eax
push ecx
push 0
mov ecx, edi
call fcn.1007a570
add esp, 0x1c
mov edx, 2
mov ecx, edi
push dword [esp + 0x7c]
push dword [esp + 0x3c]
call fcn.1007a690
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x78]
push 0
push 0
push eax
push dword [esp + 0x7c]
mov ecx, esi
call fcn.100ba290
add esp, 0x18
mov dword [esp + 0x3c], eax
test eax, eax
je 0x100af183
mov eax, dword [esp + 0x70]
mov dword [esp + 0x8c], eax
test eax, eax
jne 0x100ae1c5
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x8c], eax
jmp 0x100ae5eb
cmp dword [esp + 0x48], 0
je 0x100ae1db
mov eax, dword [esp + 0x18]
mov edx, str.DISTINCT
test byte [eax + 6], 1
je 0x100ae1e0
mov edx, str.GROUP_BY
mov ecx, esi
call fcn.100a7c80
mov eax, dword [esp + 0x70]
mov dword [esp + 0x48], 1
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
inc eax
mov dword [esp + 0x30], eax
mov edx, eax
mov dword [esp + 0x68], eax
mov ecx, eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x50], eax
test eax, eax
jle 0x100ae233
mov eax, dword [esp + 0xa4]
add eax, 0xc
nop
cmp dword [eax], ecx
jl 0x100ae226
inc edx
inc ecx
add eax, 0x18
dec dword [esp + 0x50]
jne 0x100ae220
mov dword [esp + 0x68], edx
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x40]
mov dword [esp + 0x14], eax
cmp edx, ecx
jg 0x100ae24d
add eax, edx
sub ecx, edx
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], ecx
jmp 0x100ae25c
mov eax, dword [esi + 0x4c]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x14], ecx
mov dword [esi + 0x4c], eax
mov ecx, esi
call fcn.1008cac0
mov edx, dword [esp + 0x70]
push 0
push dword [esp + 0x18]
call fcn.1008e120
mov eax, dword [esp + 0x9c]
add esp, 8
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x34], eax
cmp dword [edi + 0x20], eax
jg 0x100ae29b
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100ae2da
mov eax, dword [esp + 0x34]
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
inc dword [edi + 0x1c]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x80]
mov dword [ecx + edx*4 + 4], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x6c]
mov word [ecx + edx*4], 0x37
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
cmp dword [esp + 0xa8], 0
mov dword [esp + 0x50], 0
jle 0x100ae3cd
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x34], eax
jmp 0x100ae310
mov edx, dword [esp + 0xa4]
mov esi, dword [esp + 0x30]
cmp dword [edx + eax + 0xc], esi
mov esi, dword [esp + 0x2c]
jl 0x100ae3b0
push 0
push ecx
push dword [edx + eax + 4]
mov ecx, esi
push dword [edx + eax + 8]
mov edx, dword [edx + eax]
call fcn.1008ca20
mov ecx, dword [esp + 0x80]
add esp, 0x10
mov dword [esp + 0x40], eax
cmp ecx, eax
je 0x100ae3a3
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x6c], eax
cmp dword [edi + 0x20], eax
jg 0x100ae36b
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100ae39f
mov eax, dword [esp + 0x6c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
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 ecx, dword [esp + 0x70]
inc dword [esp + 0x30]
inc ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x50]
add eax, 0x18
inc edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], edx
cmp edx, dword [esp + 0xa8]
jl 0x100ae310
mov al, byte [esi + 0x13]
test al, al
jne 0x100ae3dc
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
jmp 0x100ae3e8
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
cmp dword [edi + 0x20], eax
jg 0x100ae407
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100ae43b
mov eax, dword [esp + 0x40]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
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 + 0x94]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
cmp dword [edi + 0x20], eax
jg 0x100ae461
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100ae497
mov eax, dword [esp + 0x40]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x6c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
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 0x100ae49b
mov edx, dword [esp + 0x30]
test edx, edx
je 0x100ae4d0
mov al, byte [esi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x100ae4d0
xor ecx, ecx
lea eax, [esi + 0x64]
nop
cmp dword [eax + 0x10], edx
je 0x100ae4cc
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x100ae4b0
movzx eax, byte [esp + 0x13]
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
jmp 0x100ae4d0
mov byte [eax + 8], 1
push dword [esp + 0x68]
mov edx, dword [esp + 0x18]
mov ecx, esi
call fcn.1008c830
mov eax, dword [esp + 0x6c]
add esp, 4
cmp eax, dword [esi + 0x3c]
jle 0x100ae4f5
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x40], eax
mov ecx, dword [esp + 0x3c]
call fcn.100baea0
mov eax, dword [esi + 0x48]
mov dword [esp + 0x50], eax
mov dword [esp + 0x98], eax
inc eax
mov dword [esi + 0x48], eax
mov al, byte [esi + 0x13]
test al, al
jne 0x100ae523
inc dword [esi + 0x4c]
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x30], ecx
jmp 0x100ae533
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
cmp dword [edi + 0x20], eax
jg 0x100ae54e
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100ae582
mov eax, dword [esp + 0x40]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x68]
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 + 0x94]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
cmp dword [edi + 0x20], eax
jg 0x100ae5a8
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100ae5dc
mov eax, dword [esp + 0x40]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x6c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
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 + 0x91], 1
call fcn.1008cac0
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.1008cac0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x100ae65f
mov eax, dword [esp + 0x94]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
cmp dword [edi + 0x20], eax
jg 0x100ae627
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100ae65b
mov eax, dword [esp + 0x40]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x6c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x3e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x8c]
xor ecx, ecx
mov dword [esp + 0x30], ecx
cmp dword [edx], ecx
jle 0x100ae725
test eax, eax
je 0x100ae6e7
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
cmp dword [edi + 0x20], eax
jg 0x100ae693
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100ae6cb
mov eax, dword [esp + 0x40]
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
inc dword [edi + 0x1c]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x2c]
mov dword [ecx + edx*4 + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + edx*4 + 8], eax
add eax, dword [esp + 0x24]
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 ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x100ae70d
mov edx, dword [edi + 4]
test edx, edx
je 0x100ae70d
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [edx + eax*4 - 0x11], 0x20
jmp 0x100ae70d
mov eax, dword [esp + 0x24]
mov byte [esp + 0x90], 1
add eax, ecx
mov edx, dword [edx + 8]
push eax
lea eax, [ecx + ecx*4]
mov ecx, esi
mov edx, dword [edx + eax*4]
call fcn.1008dde0
mov ecx, dword [esp + 0x34]
add esp, 4
mov edx, dword [esp + 0x8c]
inc ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], ecx
cmp ecx, dword [edx]
jl 0x100ae674
mov eax, dword [edx]
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], edx
cmp dword [edi + 0x20], edx
jg 0x100ae74d
mov ecx, edi
call fcn.1007a4f0
test eax, eax
je 0x100ae749
mov edx, 1
jmp 0x100ae788
mov edx, dword [esp + 0x40]
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 + 0x24]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x6c]
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 + 0x48]
mov ecx, edi
call fcn.1007acd0
mov eax, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x34], eax
cmp dword [edi + 0x20], eax
jg 0x100ae7b3
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100ae7e4
mov eax, dword [esp + 0x34]
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 + 0x8c]
mov ecx, esi
mov edx, dword [esp + 0x24]
push dword [eax]
push dword [esp + 0x88]
call fcn.1008ccd0
mov eax, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x100ae81d
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100ae85f
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x80]
add edx, 2
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x100ae87a
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100ae8b3
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x2c]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
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 + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x100ae8ce
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100ae902
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x7c]
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 + 0x34]
test eax, eax
js 0x100ae91b
mov edx, dword [edi + 0x1c]
cmp edx, eax
jbe 0x100ae91b
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], edx
lea edx, [esp + 0x90]
mov ecx, esi
call fcn.100acfa0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x100ae944
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100ae978
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x100ae9e0
mov eax, dword [esp + 0x94]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x20], eax
jg 0x100ae9aa
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100aea2a
mov eax, dword [esp + 0x44]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x51
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x100aea2a
mov ecx, dword [esp + 0x3c]
call fcn.100baea0
mov eax, dword [edi + 4]
mov dword [esp + 0x44], eax
test eax, eax
je 0x100aea2a
mov ecx, dword [esp + 0x28]
lea esi, [ecx + ecx*4]
mov ecx, dword [edi]
push dword [eax + esi*4 + 0x10]
movsx edx, byte [eax + esi*4 + 1]
call fcn.1007ab80
mov eax, dword [esp + 0x48]
xorps xmm0, xmm0
add esp, 4
movdqu 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 + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x100aea45
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100aea87
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x80]
add edx, 2
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x100aeaa2
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100aead6
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
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 + 0x34], eax
cmp dword [edi + 0x20], eax
jg 0x100aeaf1
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100aeb2a
mov eax, dword [esp + 0x34]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
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 + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x100aeb45
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100aeb87
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x80]
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 0x100aeba0
mov eax, dword [esp + 0x74]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x20], eax
jg 0x100aebbb
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100aebf2
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
inc dword [edi + 0x1c]
add eax, 2
mov esi, dword [esp + 0x64]
mov dword [ecx + edx*4 + 4], esi
mov esi, dword [esp + 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 + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x100aec0d
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100aec4f
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x80]
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 + 0x90]
mov ecx, esi
call fcn.100ace90
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x88]
inc esi
mov ecx, dword [esp + 0x2c]
push 8
push esi
call fcn.1008e590
push dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov edx, eax
push esi
push dword [esp + 0x88]
mov esi, dword [esp + 0x40]
mov ecx, esi
push dword [esp + 0x70]
push dword [esp + 0x64]
push 0
push 0
push dword [eax]
call fcn.100a7750
mov eax, dword [edi + 0x1c]
add esp, 0x28
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x100aecbe
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100aecfc
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x80]
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 0x100aed15
mov eax, dword [esp + 0x7c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
lea edx, [esp + 0x90]
mov ecx, esi
call fcn.100acc20
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x100aed42
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100af107
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x38]
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 0x100af107
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x90]
mov dword [esp + 0x84], 0
call fcn.100ac270
mov dword [esp + 0x24], eax
test eax, eax
je 0x100aefb9
mov ecx, dword [esi]
mov edx, dword [eax + 0x44]
call fcn.100a6210
mov edx, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x7c], eax
inc eax
mov dword [esi + 0x48], eax
mov eax, dword [edx + 0x14]
mov edx, ecx
mov dword [esp + 0x34], ecx
mov ecx, esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x3c], eax
call fcn.100975f0
mov eax, dword [esp + 0x24]
mov ecx, esi
mov edx, dword [esp + 0x34]
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.10092970
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [edx + 0x10]
test ecx, ecx
je 0x100aee4e
xor esi, esi
cmp byte [ecx + 0x2e], 0
jne 0x100aee1b
test esi, esi
je 0x100aee19
mov eax, dword [ecx + 0x24]
cmp eax, dword [esi + 0x24]
jge 0x100aee1b
mov esi, ecx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x100aee07
mov dword [esp + 0x74], esi
test esi, esi
mov esi, dword [esp + 0x2c]
je 0x100aee4e
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 0x24]
cmp eax, dword [edx + 8]
jge 0x100aee4e
mov eax, dword [ecx + 0x28]
mov edx, ecx
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.10097bc0
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x100aee69
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100aee9d
mov eax, dword [esp + 0x28]
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 + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x27
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x38]
test edx, edx
je 0x100aeef6
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x100aeee6
cmp byte [eax + 0x36], 0
jne 0x100aeee6
mov eax, dword [edi + 0x1c]
dec eax
lea esi, [eax + eax*4]
push dword [ecx + esi*4 + 0x10]
movsx edx, byte [ecx + esi*4 + 1]
mov ecx, dword [edi]
call fcn.1007ab80
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov dword [eax + esi*4 + 0x10], ecx
mov byte [eax + esi*4 + 1], 0xfa
mov esi, dword [esp + 0x30]
jmp 0x100aeef3
push edx
mov edx, 0xfffffff0
mov ecx, eax
call fcn.1007ab80
add esp, 4
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x100aef1f
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100aef53
mov eax, dword [esp + 0x28]
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 + 0x44]
mov word [eax + ecx*4], 0x20
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x20], eax
jg 0x100aef6e
mov ecx, edi
call fcn.1007a4f0
test eax, eax
jne 0x100aefa2
mov eax, dword [esp + 0x28]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x7c]
mov word [eax + ecx*4], 0x2d
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 + 0x74]
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.100ad4b0
add esp, 4
jmp 0x100af0b4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], 0
call fcn.100ac200
mov byte [esp + 0x13], al
test al, al
je 0x100af01f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
push 0
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
call fcn.1008aaf0
mov edx, eax
add esp, 4
mov dword [esp + 0x84], edx
mov dword [esp + 0x38], edx
test edx, edx
je 0x100af01f
mov eax, dword [esp + 0x58]
cmp byte [eax + 0x36], 0
jne 0x100af01f
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 + 0x90]
mov ecx, esi
call fcn.100acc20
movzx eax, byte [esp + 0x13]
mov ecx, esi
mov edx, dword [esp + 0x1c]
push eax
push 0
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x74]
call fcn.100ba290
add esp, 0x10
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x100af069
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x58]
call fcn.1008b2d0
jmp 0x100af183
lea edx, [esp + 0x90]
mov ecx, esi
call fcn.100acfa0
cmp dword [esp + 0x38], 0
jne 0x100af09d
cmp byte [esp + 0x13], 0
je 0x100af09d
mov eax, dword [esp + 0x3c]
mov edx, 1
mov ecx, edi
push dword [eax + 0x18]
push 0
call fcn.1007a690
add esp, 8
mov ecx, dword [esp + 0x3c]
call fcn.100baea0
lea edx, [esp + 0x90]
mov ecx, esi
call fcn.100ace90
mov edx, dword [esp + 0x88]
mov ecx, esi
push 8
push dword [esp + 0x64]
mov dword [esp + 0x54], 0
call fcn.1008e590
mov eax, dword [esp + 0x68]
mov ecx, esi
push eax
push eax
push dword [esp + 0x88]
mov eax, dword [esp + 0x2c]
mov edx, eax
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [eax]
call fcn.100a7750
mov edx, dword [esp + 0xac]
add esp, 0x28
mov ecx, dword [esp + 0x58]
call fcn.1008b2d0
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x100af120
mov eax, dword [esp + 0x60]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
cmp dword [esp + 0x5c], 0
jl 0x100af133
mov edx, str.DISTINCT
mov ecx, esi
call fcn.100a7c80
cmp dword [esp + 0x4c], 0
je 0x100af15f
mov edx, str.ORDER_BY
mov ecx, esi
call fcn.100a7c80
mov eax, dword [esp + 0x20]
mov ecx, esi
push dword [esp + 0x78]
mov edx, dword [esp + 0x1c]
push dword [eax]
push edi
call fcn.100a7ea0
add esp, 0xc
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x100af17b
mov eax, dword [esp + 0xcc]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0xc8]
mov dword [esi + 0x1e4], edx
test edi, edi
jne 0x100af1b6
mov edx, dword [esp + 0x78]
cmp byte [edx], 5
jne 0x100af1b6
push ecx
mov edx, eax
mov ecx, esi
call fcn.100a87d0
add esp, 4
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0x58]
call fcn.1005f110
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0x58]
call fcn.1005f110
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.10103392
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x11c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.10103392
mov esp, ebp
pop ebp
ret