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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
push esi
mov esi, ecx
mov dword [esp + 0x78], 0
push edi
mov edi, edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x44], edi
mov eax, dword [esi + 0x1d4]
mov dword [esp + 0xdc], eax
mov eax, dword [esi + 0x1d8]
mov dword [esi + 0x1d4], eax
inc eax
mov dword [esi + 0x1d8], eax
mov eax, dword [esi]
mov dword [esp + 0x5c], 1
mov dword [esp + 0x18], eax
test edi, edi
je 0x100904c1
cmp byte [eax + 0x45], 0
jne 0x100904c1
cmp dword [esi + 0x44], 0
jne 0x100904c1
push 0
push 0
push 0
mov edx, 0x15
call fcn.1006f0f0
add esp, 0xc
test eax, eax
jne 0x100904c1
push 0x30
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.100b7060
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 8
ja 0x1008e219
mov edx, dword [edi + 0x2c]
mov ecx, dword [esp + 0x18]
call fcn.10067700
and dword [edi + 8], 0xfffffffe
mov dword [edi + 0x2c], 0
push 0
mov edx, edi
mov ecx, esi
call fcn.1008dab0
mov eax, dword [edi + 0x2c]
xorps xmm0, xmm0
mov edx, dword [edi + 0x1c]
add esp, 4
cmp dword [esi + 0x44], 0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xf0], xmm0
mov dword [esp + 0x20], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0x38], edx
jne 0x10090400
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x45], 0
jne 0x1009040e
mov eax, dword [edi + 8]
shr eax, 3
and eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov eax, dword [edi]
cmp dword [eax], 1
jle 0x1008e2f6
cmp cl, 0xa
je 0x1008e28a
cmp cl, 0xb
jne 0x1008e2f6
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push esi
call fcn.100365a0
add esp, 8
mov edi, dword [esp + 0x18]
mov eax, 1
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0xdc]
mov dword [esi + 0x1d4], ecx
test eax, eax
jne 0x1008e2cc
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x1008e2cc
push dword [esp + 0x7c]
mov ecx, esi
call fcn.10088c20
add esp, 4
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x1009045b
cmp dword [edi + 0x1c8], 0
je 0x1009042c
mov edx, ecx
mov ecx, edi
call fcn.100338a0
jmp 0x1009045b
xor ecx, ecx
mov dword [esp + 0x50], ecx
cmp dword [edi + 0x30], ecx
jne 0x1008e3c1
cmp ecx, dword [edx]
jge 0x1008e3c1
lea eax, [ecx + ecx*4]
add eax, eax
mov edx, dword [edx + eax*8 + 0x1c]
test edx, edx
je 0x1008e3ae
mov esi, dword [esp + 0x38]
mov eax, dword [esi + eax*8 + 0x18]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
movsx eax, word [eax + 0x22]
mov dword [esp + 0x74], eax
mov eax, dword [edx]
mov eax, dword [eax]
cmp dword [esp + 0x74], eax
jne 0x1008e402
mov eax, dword [edx + 8]
mov edx, edi
shr eax, 3
and eax, 1
push eax
push dword [esp + 0x38]
mov dword [esp + 0x1c], eax
push ecx
mov ecx, esi
call fcn.1008c340
add esp, 0xc
test eax, eax
je 0x1008e37f
cmp dword [esp + 0x14], 0
je 0x1008e37a
or dword [edi + 8], 8
mov dword [esp + 0x34], 1
or ecx, 0xffffffff
jmp 0x1008e383
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x38], edx
cmp byte [eax + 0x45], 0
jne 0x100903f4
mov eax, dword [ebp + 8]
cmp byte [eax], 8
jbe 0x1008e3b2
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x20], edx
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0x38]
inc ecx
cmp dword [edi + 0x30], 0
mov dword [esp + 0x50], ecx
je 0x1008e305
mov ecx, esi
call fcn.100894b0
mov edi, eax
mov dword [esp + 0x70], edi
test edi, edi
je 0x1008e298
mov ecx, dword [esp + 0x44]
cmp dword [ecx + 0x30], 0
je 0x1008e420
push dword [ebp + 8]
mov edx, ecx
mov ecx, esi
call fcn.10089f20
mov ecx, dword [esp + 0xe0]
add esp, 4
mov dword [esi + 0x1d4], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
mov eax, dword [esp + 0x18]
push dword [eax]
push dword [esp + 0x7c]
push str.expected__d_columns_for__s_but_got__d
push esi
call fcn.100365a0
add esp, 0x14
jmp 0x1008e298
mov edx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x60], eax
cmp dword [edx], eax
jle 0x1008e6da
lea eax, [eax + eax*4]
shl eax, 4
add eax, edx
mov dword [esp + 0x3c], eax
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x64], edx
test edx, edx
je 0x1008e6c5
mov edx, dword [eax + 0x20]
test edx, edx
je 0x1008e476
test byte [eax + 0x30], 0x10
jne 0x1008e6c5
push edx
push dword [eax + 0x24]
mov edx, 0xe
mov ecx, edi
call fcn.10051bc0
add esp, 8
jmp 0x1008e6c1
lea edx, [esp + 0x50]
mov dword [esp + 0x50], 0
call fcn.10065fc0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x50]
add dword [esi + 0x1d0], eax
test byte [edx + 0x2c], 0x20
jne 0x1008e4b9
mov eax, dword [esp + 0x44]
push dword [edx + 0x38]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x1c]
push dword [eax + 0x20]
call fcn.1008c8f0
mov edx, dword [esp + 0x44]
add esp, 8
cmp dword [esp + 0x60], 0
jne 0x1008e5b4
mov eax, dword [esp + 0x38]
cmp dword [eax], 1
je 0x1008e4d7
test byte [eax + 0x7c], 0xa
je 0x1008e5b4
mov eax, dword [esp + 0x44]
test byte [eax + 8], 2
jne 0x1008e5b4
mov eax, dword [esp + 0x18]
mov ecx, 0x100
test word [eax + 0x40], cx
jne 0x1008e5b4
mov edi, dword [edi + 0x20]
mov ecx, dword [esp + 0x10]
lea esi, [edi + 1]
mov eax, dword [ecx + 0x4c]
inc eax
push esi
mov dword [ecx + 0x4c], eax
mov ecx, dword [esp + 0x74]
mov dword [edx + 0x24], eax
mov edx, 0x10
push 0
push eax
call fcn.10051a70
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov edx, dword [esp + 0x64]
mov word [esp + 0x98], 0xd
mov dword [esp + 0xa0], 0
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x20], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa4], 0
mov al, byte [esi + 0x1d8]
mov byte [ecx + 0x34], al
lea eax, [esp + 0x98]
push eax
mov ecx, esi
call fcn.1008e160
mov edx, dword [esp + 0x40]
add esp, 4
mov eax, dword [esp + 0x64]
mov ecx, dword [edx + 0x18]
mov ax, word [eax + 6]
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0xa0]
or dword [edx + 0x30], 0x10
mov ecx, dword [esp + 0x70]
mov dword [edx + 0x28], eax
mov edx, dword [edx + 0x24]
call fcn.10052070
mov edx, edi
mov edi, dword [esp + 0x70]
mov ecx, edi
call fcn.10052440
jmp 0x1008e689
xor eax, eax
mov ecx, edi
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x4c]
inc eax
mov dword [esi + 0x4c], eax
push eax
mov dword [edx + 0x24], eax
mov edx, 0x16
push 0
call fcn.10051bc0
mov ecx, dword [esp + 0x44]
add esp, 8
mov dword [esp + 0x14], eax
inc eax
test byte [ecx + 0x30], 8
mov dword [ecx + 0x20], eax
jne 0x1008e5f7
mov ecx, esi
call fcn.10067bf0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x38]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x9c], eax
mov al, byte [esi + 0x1d8]
mov byte [ecx + 0x34], al
lea eax, [esp + 0x98]
push eax
mov ecx, esi
mov word [esp + 0x9c], 0xc
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
call fcn.1008e160
mov ecx, dword [esp + 0x40]
add esp, 4
mov eax, dword [esp + 0x64]
mov ecx, dword [ecx + 0x18]
mov ax, word [eax + 6]
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x1008e664
mov edx, eax
mov ecx, edi
call fcn.10052440
mov eax, dword [esp + 0x3c]
mov edx, 0xf
mov ecx, edi
push dword [eax + 0x24]
call fcn.10051b50
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
push eax
call fcn.100523e0
add esp, 4
mov eax, dword [esp + 0x18]
mov byte [esi + 0x13], 0
mov dword [esi + 0x3c], 0
cmp byte [eax + 0x45], 0
jne 0x100903ed
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x50]
mov dword [esp + 0x50], 0
call fcn.10065fc0
mov eax, dword [esp + 0x50]
sub dword [esi + 0x1d0], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x38]
inc eax
mov dword [esp + 0x60], eax
cmp eax, dword [edx]
jl 0x1008e432
mov eax, dword [ecx]
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x48], eax
mov al, byte [ecx + 8]
and al, 1
mov dword [esp + 0x50], edx
mov byte [esp + 0x1f], al
mov byte [esp + 0x98], al
mov eax, dword [ecx + 8]
and al, 9
cmp al, 1
jne 0x1008e74b
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.1006b580
add esp, 4
test eax, eax
jne 0x1008e74b
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x18]
push 0
and dword [eax + 8], 0xfffffffe
call fcn.10066cb0
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], edx
mov dword [eax + 0x24], edx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1008e7a7
mov ecx, dword [esp + 0x7c]
mov edx, eax
push dword [ecx]
mov ecx, esi
push 0
call fcn.100880e0
mov edx, dword [esi + 0x48]
mov ecx, eax
push 0xfffffffffffffffa
push ecx
push 0
lea eax, [edx + 1]
mov dword [esp + 0xfc], edx
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x90]
mov ecx, dword [eax]
mov eax, dword [esp + 0x34]
inc ecx
mov eax, dword [eax]
add eax, ecx
mov ecx, edi
push eax
push edx
mov edx, 0x39
call fcn.10051e60
add esp, 0x1c
mov dword [esp + 0xf4], eax
jmp 0x1008e7b2
mov dword [esp + 0xf4], 0xffffffff
mov eax, dword [ebp + 8]
cmp byte [eax], 0xc
jne 0x1008e7d2
mov ecx, dword [esp + 0x7c]
mov edx, 0x39
push dword [ecx]
mov ecx, edi
push dword [eax + 4]
call fcn.10051bc0
add esp, 8
mov ecx, edi
call fcn.100520f0
mov ecx, eax
mov edx, 0x140
mov eax, dword [esp + 0x44]
mov dword [esp + 0x100], ecx
push ecx
mov ecx, esi
mov word [eax + 6], dx
mov edx, eax
call fcn.10089500
mov edx, dword [esp + 0x48]
add esp, 4
cmp dword [edx + 0xc], 0
jne 0x1008e82b
mov eax, dword [esp + 0xf4]
test eax, eax
js 0x1008e82b
push 0x3a
mov edx, eax
mov ecx, edi
call fcn.100523a0
mov edx, dword [esp + 0x48]
add esp, 4
or byte [esp + 0xfc], 1
test byte [edx + 8], 1
je 0x1008e894
mov esi, dword [esi + 0x48]
mov ecx, dword [esp + 0x10]
push 0xfffffffffffffffa
push ecx
lea eax, [esi + 1]
mov dword [esp + 0xa4], esi
mov dword [ecx + 0x48], eax
mov edx, dword [edx]
push 0
push 0
call fcn.100880e0
add esp, 0xc
mov edx, 0x39
mov ecx, edi
push eax
push 0
push 0
push esi
call fcn.10051e60
mov dword [esp + 0xb4], eax
add esp, 0x14
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
jne 0x1008e888
mov eax, dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov byte [eax + ecx*4 - 0x11], 8
mov esi, dword [esp + 0x10]
mov al, 3
mov edx, dword [esp + 0x44]
jmp 0x1008e896
xor al, al
cmp dword [esp + 0x34], 0
mov byte [esp + 0x99], al
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x48]
jne 0x1008e9cd
test eax, eax
jne 0x1008e9cd
xor ecx, ecx
mov dword [esp + 0x14], 0x4000
cmp byte [esp + 0x1f], cl
mov eax, 0x400
cmovne ecx, eax
mov ax, word [edx + 8]
and ax, word [esp + 0x14]
or cx, ax
movsx eax, word [edx + 6]
push eax
movzx ecx, cx
push ecx
push dword [edx]
mov edx, dword [esp + 0x44]
mov ecx, esi
push dword [esp + 0x2c]
push dword [esp + 0x84]
call fcn.1009f7f0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x50], edx
test edx, edx
je 0x1009041a
mov eax, dword [esp + 0x44]
movzx ecx, word [edx + 0x20]
cmp cx, word [eax + 6]
jge 0x1008e91e
mov word [eax + 6], cx
cmp byte [esp + 0x1f], 0
je 0x1008e94a
mov eax, dword [esp + 0x64]
mov cl, byte [edx + 0x2a]
movzx eax, al
test cl, cl
mov dword [esp + 0x64], eax
movzx eax, cl
mov ecx, dword [esp + 0x64]
cmovne ecx, eax
mov dword [esp + 0x64], ecx
mov byte [esp + 0x99], cl
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1008e973
movsx eax, byte [edx + 0x26]
cmp eax, dword [ecx]
mov dword [esp + 0x14], 0
cmove ecx, dword [esp + 0x14]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe0], ecx
mov eax, dword [esp + 0xf4]
test eax, eax
js 0x1008e98f
test ecx, ecx
jne 0x1008e98f
mov edx, eax
mov ecx, edi
call fcn.10052650
mov edx, dword [esp + 0x50]
push dword [edx + 0x34]
lea eax, [esp + 0x9c]
mov ecx, esi
push dword [edx + 0x30]
mov edx, dword [esp + 0x4c]
push dword [ebp + 8]
push eax
lea eax, [esp + 0xf0]
push eax
push 0xffffffffffffffff
push dword [esp + 0x94]
call fcn.10087400
mov ecx, dword [esp + 0x6c]
add esp, 0x1c
call fcn.100a0400
jmp 0x100902dc
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], 0
test eax, eax
je 0x1008eb10
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jle 0x1008ea05
add ecx, 0x16
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x1008e9f3
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jle 0x1008ea27
add ecx, 0x16
xor edi, edi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], di
test eax, eax
jg 0x1008ea15
mov edi, dword [esp + 0x70]
cmp word [edx + 6], 0x42
jle 0x1008ea37
mov eax, 0x42
mov word [edx + 6], ax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
mov ecx, eax
push 0xffffffffffffffff
call fcn.1006b580
add esp, 4
mov ecx, 1
test eax, eax
mov eax, 0
cmove eax, ecx
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x78], ecx
mov edx, dword [ecx + 0x74]
mov dword [esp + 0x3c], edx
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea eax, [edx - 1]
test edx, eax
jne 0x1008ea9e
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x78]
mov ecx, dword [ecx]
push 0
push eax
call fcn.10033d80
mov ecx, dword [esp + 0x80]
add esp, 8
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x1008eaac
mov dword [eax + edx*4], 0xffffffff
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x48]
not edx
mov dword [esp + 0x108], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x110], eax
mov eax, dword [esi + 0x4c]
inc eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x10c], 0
movlpd qword [esp + 0x114], xmm0
movlpd qword [esp + 0x11c], xmm0
mov dword [esp + 0x104], esi
mov dword [esp + 0xbc], eax
test ecx, ecx
je 0x1008eb1b
mov eax, dword [ecx]
mov dword [esp + 0xb8], eax
jmp 0x1008eb26
xor ecx, ecx
mov word [edx + 6], cx
jmp 0x1008ea3b
mov dword [esp + 0xb8], 0
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xc4], ecx
lea ecx, [esp + 0x104]
call fcn.1006ba00
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x104]
call fcn.1006ba00
mov eax, dword [esp + 0x50]
test eax, eax
je 0x1008eba9
lea ecx, [esp + 0x104]
mov dword [esp + 0x124], 0
xorps xmm0, xmm0
mov dword [esp + 0x13c], ecx
mov edx, eax
movlpd qword [esp + 0x130], xmm0
lea ecx, [esp + 0x124]
mov dword [esp + 0x138], 0
mov dword [esp + 0x128], 0x1006b6e0
mov dword [esp + 0x12c], method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52
call fcn.100637a0
cmp dword [esp + 0xd8], 0
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xd0], ecx
jle 0x1008ec29
mov ax, word [esp + 0x120]
xor edi, edi
xor esi, esi
nop dword [eax]
or ax, 8
lea ecx, [esp + 0x104]
mov word [esp + 0x120], ax
mov eax, dword [esp + 0xd4]
mov edx, dword [eax + edi]
mov edx, dword [edx + 0x14]
call fcn.1006ba00
mov ax, word [esp + 0x120]
lea edi, [edi + 0x10]
mov ecx, 0xfff7
inc esi
and ax, cx
mov word [esp + 0x120], ax
cmp esi, dword [esp + 0xd8]
jl 0x1008ebd0
mov ecx, dword [esp + 0xcc]
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x45], 0
jne 0x100903ed
mov edx, dword [esp + 0x48]
test edx, edx
je 0x1008fd96
mov eax, dword [esi + 0x48]
push ecx
mov dword [esp + 0xb4], eax
mov ecx, esi
inc eax
push 0
mov dword [esi + 0x48], eax
call fcn.100880e0
mov ecx, dword [esp + 0xb8]
add esp, 8
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x18]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x78], ecx
cmp dword [eax + 0x58], esi
mov esi, dword [esp + 0x10]
jg 0x1008ecae
push 0
push edx
push ecx
mov edx, 0x3a
mov ecx, edi
call fcn.10051a30
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x1008eced
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x78]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x10]
mov word [eax + ecx*4], 0x3a
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]
push 0xfffffffffffffffa
push dword [esp + 0x6c]
mov edx, eax
mov ecx, edi
call fcn.10052770
mov eax, dword [esi + 0x4c]
add esp, 8
inc eax
mov dword [esp + 0x90], eax
inc eax
mov dword [esp + 0x58], eax
inc eax
mov dword [esi + 0x4c], eax
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x78], ecx
mov edx, dword [ecx + 0x74]
mov dword [esp + 0x88], edx
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea eax, [edx - 1]
test edx, eax
jne 0x1008ed59
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x78]
mov ecx, dword [ecx]
push 0
push eax
call fcn.10033d80
mov ecx, dword [esp + 0x80]
add esp, 8
mov edx, dword [esp + 0x88]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x1008ed67
mov dword [eax + edx*4], 0xffffffff
inc dword [esi + 0x4c]
not edx
mov ecx, dword [edi + 0x18]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x40], eax
mov edx, dword [ecx + 0x74]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x84], edx
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea eax, [edx - 1]
test edx, eax
jne 0x1008edc0
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x78]
mov ecx, dword [ecx]
push 0
push eax
call fcn.10033d80
mov ecx, dword [esp + 0x80]
add esp, 8
mov edx, dword [esp + 0x84]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x1008edce
mov dword [eax + edx*4], 0xffffffff
mov eax, dword [esi + 0x4c]
not edx
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x48]
lea ecx, [eax + 1]
mov dword [esp + 0x8c], ecx
mov ecx, dword [edx]
add ecx, eax
mov dword [esi + 0x4c], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x94], eax
mov eax, dword [edx]
add eax, ecx
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008ee24
push 0
push dword [esp + 0x5c]
mov edx, 0x16
mov ecx, edi
push 0
call fcn.10051a30
add esp, 0xc
jmp 0x1008ee5b
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x16
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 + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008ee82
push 0
push dword [esp + 0x94]
mov edx, 0x16
mov ecx, edi
push 0
call fcn.10051a30
add esp, 0xc
jmp 0x1008eebc
mov edx, dword [esp + 0x90]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x16
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 + 0x48]
mov edx, dword [esp + 0x8c]
mov ecx, dword [edi + 0x20]
dec edx
mov eax, dword [eax]
add edx, eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1008eef2
push edx
push dword [esp + 0x90]
mov edx, 0x19
mov ecx, edi
push 0
call fcn.10051a30
add esp, 0xc
jmp 0x1008ef2c
mov esi, dword [esp + 0x8c]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x10]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008ef55
push 0
push dword [esp + 0x88]
mov edx, 0xe
mov ecx, edi
push dword [esp + 0x48]
call fcn.10051a30
add esp, 0xc
jmp 0x1008ef8f
mov edx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x84]
mov word [eax + ecx*4], 0xe
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
cmp dword [esp + 0x14], 0
mov ecx, 0x900
mov edx, dword [esp + 0x38]
mov eax, 0x100
cmovne eax, ecx
mov ecx, esi
push 0
movzx eax, ax
push eax
push 0
push dword [esp + 0x54]
push dword [esp + 0x84]
call fcn.1009f7f0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x74], edx
test edx, edx
je 0x1008e298
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
movsx eax, byte [edx + 0x26]
mov dword [esp + 0x80], ecx
cmp eax, ecx
jne 0x1008eff0
xor ecx, ecx
mov dword [esp + 0x60], ecx
jmp 0x1008f445
cmp byte [esp + 0x1f], 0
je 0x1008f006
mov eax, dword [esp + 0x44]
test byte [eax + 8], 1
mov eax, str.DISTINCT
je 0x1008f00b
mov eax, str.GROUP_BY
cmp byte [esi + 0x1c5], 2
jne 0x1008f05c
mov esi, dword [esi + 8]
push eax
mov eax, dword [esp + 0x14]
push str.USE_TEMP_B_TREE_FOR__s
push dword [eax]
call fcn.10035920
add esp, 0xc
mov edx, 0xa1
mov ecx, esi
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x18]
push 0
push 0
push dword [eax + 0x1d4]
call fcn.10051e60
mov eax, dword [esp + 0x5c]
add esp, 0x14
mov esi, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x80], ecx
cmp dword [esp + 0xcc], 0
mov edx, ecx
mov dword [esp + 0x60], 1
mov dword [esp + 0x20], ecx
jle 0x1008f0bf
mov edi, dword [esp + 0xc8]
mov esi, dword [esp + 0xcc]
add edi, 0xc
mov ecx, dword [edi]
lea edi, [edi + 0x18]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x5c], ecx
cmp ecx, edx
cmovl eax, dword [esp + 0x20]
cmp ecx, edx
mov dword [esp + 0x20], eax
lea eax, [edx + 1]
cmovl eax, edx
mov edx, eax
sub esi, 1
jne 0x1008f085
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], edx
jmp 0x1008f0c3
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x40]
mov dword [esp + 0x4c], eax
cmp edx, ecx
jg 0x1008f0dd
add eax, edx
sub ecx, edx
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], ecx
jmp 0x1008f0ec
mov eax, dword [esi + 0x4c]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x4c], ecx
mov dword [esi + 0x4c], eax
mov ecx, esi
call fcn.10069520
mov edx, dword [esp + 0x48]
push 0
push 0
push dword [esp + 0x54]
call fcn.1006aa10
mov ecx, dword [esp + 0xd8]
add esp, 0xc
mov dword [esp + 0x78], 0
test ecx, ecx
jle 0x1008f1fb
mov edi, dword [esp + 0x4c]
add edi, dword [esp + 0x80]
xor edx, edx
mov dword [esp + 0x5c], edx
nop
mov eax, dword [esp + 0xc8]
mov esi, dword [esp + 0x80]
cmp dword [eax + edx + 0xc], esi
mov esi, dword [esp + 0x10]
jl 0x1008f1df
push 0
push edi
push dword [eax + edx + 4]
mov ecx, esi
push dword [eax + edx + 8]
mov edx, dword [eax + edx]
call fcn.100693d0
add esp, 0x10
mov dword [esp + 0x54], eax
cmp eax, edi
je 0x1008f1cc
mov ecx, dword [esi + 8]
mov dword [esp + 0x6c], ecx
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x20]
cmp dword [eax + 0x58], edx
jg 0x1008f195
mov edx, dword [esp + 0x54]
push 0
push edi
push edx
mov edx, 0x1f
call fcn.10051a30
add esp, 0xc
jmp 0x1008f1cc
lea eax, [edx + 1]
mov dword [ecx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x54]
mov eax, dword [eax + 4]
mov word [eax + ecx*4], 0x1f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
inc dword [esp + 0x80]
inc edi
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x78]
add edx, 0x18
inc eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x78], eax
cmp eax, ecx
jl 0x1008f130
mov edi, dword [esp + 0x70]
mov al, byte [esi + 0x13]
test al, al
jne 0x1008f20a
inc dword [esi + 0x4c]
mov edx, dword [esi + 0x4c]
jmp 0x1008f216
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov edx, dword [esi + eax*4 + 0x1c]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x54], edx
cmp dword [eax + 0x58], ecx
jg 0x1008f243
push edx
push dword [esp + 0x24]
mov edx, 0x31
mov ecx, edi
push dword [esp + 0x54]
call fcn.10051a30
mov edx, dword [esp + 0x60]
add esp, 0xc
jmp 0x1008f27a
mov esi, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x10]
mov word [eax + ecx*4], 0x31
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 + 0xb0]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1008f2ac
push 0
push edx
push dword [esp + 0x64]
mov edx, 0x6d
mov ecx, edi
call fcn.10051a30
mov edx, dword [esp + 0x60]
add esp, 0xc
jmp 0x1008f2e3
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov edi, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x70]
mov word [eax + ecx*4], 0x6d
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
test edx, edx
je 0x1008f317
mov al, byte [esi + 0x13]
mov byte [esp + 0x1f], al
cmp al, 8
jae 0x1008f317
xor ecx, ecx
lea eax, [esi + 0x7c]
cmp dword [eax + 0xc], edx
je 0x1008f313
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1008f2f7
movzx eax, byte [esp + 0x1f]
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
jmp 0x1008f317
mov byte [eax + 6], 1
push dword [esp + 0x20]
mov edx, dword [esp + 0x50]
mov ecx, esi
call fcn.10069210
mov eax, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esi + 0x3c]
jle 0x1008f33c
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x40], eax
mov ecx, dword [esp + 0x74]
call fcn.100a0400
mov edx, dword [esi + 0x48]
mov dword [esp + 0x54], edx
mov dword [esp + 0xb4], edx
lea eax, [edx + 1]
mov dword [esi + 0x48], eax
mov al, byte [esi + 0x13]
test al, al
jne 0x1008f368
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
jmp 0x1008f374
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1008f39d
push dword [esp + 0x20]
mov ecx, edi
push dword [esp + 0x50]
push edx
mov edx, 0x3c
call fcn.10051a30
add esp, 0xc
jmp 0x1008f3d0
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x3c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov edx, dword [esp + 0xb0]
cmp dword [eax + 0x58], ecx
jg 0x1008f3fa
push 0
push dword [esp + 0x40]
mov ecx, edi
push edx
mov edx, 0x6a
call fcn.10051a30
add esp, 0xc
jmp 0x1008f42d
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x6a
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 + 0xad], 1
call fcn.10069520
mov edx, dword [esp + 0x74]
mov ecx, 1
cmp dword [esp + 0x14], 0
je 0x1008f4a2
mov eax, dword [esp + 0x18]
test byte [eax + 0x40], 4
jne 0x1008f4a2
test ecx, ecx
jne 0x1008f45f
cmp byte [edx + 0x27], cl
je 0x1008f4a2
mov ecx, dword [edi]
mov dword [esp + 0xe0], 0
cmp byte [ecx + 0x45], 0
jne 0x1008f4a2
mov eax, dword [esp + 0xf4]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.10052480
mov word [esi], 0xa0
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x10]
mov eax, dword [edi + 0x20]
mov ecx, esi
mov dword [esp + 0x5c], eax
call fcn.10069520
cmp dword [esp + 0x60], 0
je 0x1008f516
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov edx, dword [esp + 0xb0]
cmp dword [eax + 0x58], ecx
jg 0x1008f4e3
push dword [esp + 0x54]
mov ecx, edi
push dword [esp + 0x50]
push edx
mov edx, 0x64
call fcn.10051a30
add esp, 0xc
jmp 0x1008f516
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x64
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]
xor ecx, ecx
mov dword [esp + 0x80], ecx
mov edx, dword [eax]
test edx, edx
jle 0x1008f5ee
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x94]
add eax, ecx
cmp dword [esp + 0x60], 0
mov dword [esp + 0x14], eax
je 0x1008f5ab
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x20]
cmp dword [eax + 0x58], edx
jg 0x1008f56f
mov edx, dword [esp + 0x14]
push edx
push ecx
push dword [esp + 0x5c]
mov edx, 0x2f
mov ecx, edi
call fcn.10051a30
add esp, 0xc
jmp 0x1008f5cc
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x80]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov word [eax + ecx*4], 0x2f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1008f5cc
push eax
mov eax, dword [esp + 0x4c]
mov ecx, esi
mov byte [esp + 0xb0], 1
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x50]
mov edx, dword [edx + eax]
call fcn.1006a9b0
add esp, 4
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x80]
add dword [esp + 0x4c], 0x18
inc ecx
mov dword [esp + 0x80], ecx
mov edx, dword [eax]
cmp ecx, edx
jl 0x1008f531
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x1008f5fa
inc dword [ecx]
mov edx, dword [eax]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x6c], ecx
cmp dword [eax + 0x58], ecx
jg 0x1008f629
push edx
push dword [esp + 0x98]
mov edx, 0x2a
mov ecx, edi
push dword [esp + 0x94]
call fcn.10051a30
add esp, 0xc
jmp 0x1008f66a
mov esi, dword [esp + 0x8c]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x94]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x10]
mov word [eax + ecx*4], 0x2a
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 + 0x6c]
push 0xfffffffffffffffa
push dword [esp + 0x6c]
mov edx, eax
mov ecx, edi
call fcn.10052770
mov ecx, dword [edi + 0x20]
add esp, 8
mov eax, dword [edi + 0x18]
mov dword [esp + 0x14], ecx
lea edx, [ecx + 1]
cmp dword [eax + 0x58], ecx
jg 0x1008f6a3
push edx
push 0
push edx
mov edx, 0x2b
mov ecx, edi
call fcn.10051a30
add esp, 0xc
jmp 0x1008f6cf
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x20], edx
mov word [eax + ecx*4], 0x2b
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], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 8]
mov dword [esp + 0x6c], ecx
mov eax, dword [eax]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0x18]
cmp dword [eax + 0x58], edx
jg 0x1008f70d
mov edx, dword [esp + 0x68]
push edx
push dword [esp + 0x90]
mov edx, 0x1d
push dword [esp + 0x9c]
call fcn.10051a30
add esp, 0xc
jmp 0x1008f74e
lea eax, [edx + 1]
mov dword [ecx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x94]
mov eax, dword [eax + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x1d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x68]
mov edx, dword [esp + 0x98]
mov ecx, esi
call fcn.10069210
mov eax, dword [edi + 0x18]
add esp, 4
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008f78e
mov eax, dword [esp + 0x58]
mov edx, 0xe
push 0
push dword [esp + 0x8c]
inc eax
mov ecx, edi
push eax
call fcn.10051a30
add esp, 0xc
jmp 0x1008f7cd
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x20], eax
inc edx
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x88]
mov word [eax + ecx*4], 0xe
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 + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008f7f3
push 0
push dword [esp + 0x40]
mov edx, 0x8a
mov ecx, edi
push dword [esp + 0x60]
call fcn.10051a30
add esp, 0xc
jmp 0x1008f82a
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x8a
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 + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008f853
push 0
push dword [esp + 0x88]
mov edx, 0xe
mov ecx, edi
push dword [esp + 0x48]
call fcn.10051a30
add esp, 0xc
jmp 0x1008f88d
mov edx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x84]
mov word [eax + ecx*4], 0xe
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 + 0x18]
mov ecx, dword [edi + 0x20]
dec ecx
mov dword [eax + 0x60], ecx
mov eax, dword [edi]
mov edx, dword [edi + 0x20]
cmp byte [eax + 0x45], 0
je 0x1008f8a9
mov eax, 0x100fe494
jmp 0x1008f8be
mov ecx, dword [esp + 0x14]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, esi
lea edx, [esp + 0xac]
call fcn.1008dd60
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008f8f6
push 0
push dword [esp + 0x94]
mov edx, 0x16
mov ecx, edi
push 1
call fcn.10051a30
add esp, 0xc
jmp 0x1008f930
mov edx, dword [esp + 0x90]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x16
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
cmp dword [esp + 0x60], 0
je 0x1008f999
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov edx, dword [esp + 0xb0]
cmp dword [eax + 0x58], ecx
jg 0x1008f964
push 0
push dword [esp + 0x60]
mov ecx, edi
push edx
mov edx, 3
call fcn.10051a30
add esp, 0xc
jmp 0x1008f9d7
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 3
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 0x1008f9d7
mov ecx, dword [esp + 0x74]
call fcn.100a0400
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
jne 0x1008f9d7
mov eax, dword [esp + 0x34]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.10052480
mov word [esi], 0xa0
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x10]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008fa02
mov eax, dword [esp + 0x58]
mov edx, 0xe
push 0
push dword [esp + 0x8c]
inc eax
mov ecx, edi
push eax
call fcn.10051a30
add esp, 0xc
jmp 0x1008fa41
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x20], eax
inc edx
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x88]
mov word [eax + ecx*4], 0xe
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 + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008fa65
push 0
push dword [esp + 0x40]
mov edx, 0xd
mov ecx, edi
push 0
call fcn.10051a30
add esp, 0xc
jmp 0x1008fa9c
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xd
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 + 0x18]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x14], ecx
cmp dword [eax + 0x58], ecx
jg 0x1008fac8
push 0
push dword [esp + 0x5c]
mov edx, 0x16
mov ecx, edi
push 1
call fcn.10051a30
mov edx, dword [esp + 0x64]
add esp, 0xc
jmp 0x1008faff
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x16
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 + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008fb23
push 0
lea eax, [edx + 1]
mov ecx, edi
push 0
push eax
mov edx, 0xf
call fcn.10051a30
add esp, 0xc
jmp 0x1008fb5f
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x20], eax
inc edx
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xf
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 edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x1008fb7e
mov eax, dword [esp + 0x88]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x6c], ecx
lea edx, [ecx + 2]
cmp dword [eax + 0x58], ecx
jg 0x1008fbb2
push 0
push edx
push dword [esp + 0x98]
mov edx, 0x8a
mov ecx, edi
call fcn.10051a30
add esp, 0xc
jmp 0x1008fbec
mov esi, dword [esp + 0x90]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x10]
mov word [eax + ecx*4], 0x8a
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 + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008fc12
mov eax, dword [esp + 0x58]
mov edx, 0xf
push 0
inc eax
mov ecx, edi
push 0
push eax
call fcn.10051a30
add esp, 0xc
jmp 0x1008fc4e
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x20], eax
inc edx
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xf
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 + 0xac]
mov ecx, esi
call fcn.1008dc80
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x50]
inc esi
mov ecx, dword [esp + 0x10]
push 0x10
push esi
call fcn.1006b0c0
push dword [esp + 0x1c]
lea eax, [esp + 0xa4]
push esi
push dword [ebp + 8]
mov esi, dword [esp + 0x24]
mov ecx, esi
push eax
lea eax, [esp + 0xf8]
push eax
mov eax, dword [esp + 0x60]
mov edx, eax
push 0xffffffffffffffff
push dword [eax]
call fcn.10087400
mov eax, dword [edi + 0x18]
add esp, 0x24
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008fcc7
mov eax, dword [esp + 0x58]
mov edx, 0xf
push 0
inc eax
mov ecx, edi
push 0
push eax
call fcn.10051a30
add esp, 0xc
jmp 0x1008fcff
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
inc edx
mov word [eax + ecx*4], 0xf
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 edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x1008fd1e
mov eax, dword [esp + 0x84]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
mov ecx, esi
dec eax
mov dword [edx + 0x60], eax
lea edx, [esp + 0xac]
call fcn.1008db90
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1008fd5a
push 0
push 0
push dword [esp + 0x48]
mov edx, 0xf
mov ecx, edi
call fcn.10051a30
add esp, 0xc
jmp 0x100902b9
mov edx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xf
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 0x100902b9
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], 0
cmp dword [ecx + 0x20], 0
jne 0x100900e9
mov eax, dword [ecx]
cmp dword [eax], 1
jne 0x100900e9
mov edx, dword [ecx + 0x1c]
cmp dword [edx], 1
jne 0x100900e9
cmp dword [edx + 0x1c], 0
jne 0x100900e9
mov edx, dword [edx + 0x18]
mov dword [esp + 0x40], edx
test byte [edx + 0x2a], 0x10
jne 0x100900e9
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
cmp byte [eax], 0x99
jne 0x100900e9
cmp dword [esp + 0xd8], 0
je 0x100900e9
mov eax, dword [esp + 0xd4]
mov esi, 0x100
mov eax, dword [eax + 4]
test word [eax + 2], si
mov esi, dword [esp + 0x10]
je 0x100900e9
mov eax, dword [esp + 0x6c]
test byte [eax + 4], 0x10
jne 0x100900e9
cmp dword [edx + 0x40], 0
mov dword [esp + 0x34], 0xfff0bdc0
je 0x1008fe6e
mov eax, dword [esi]
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x6c], eax
cmp dword [eax + 0x14], ecx
jle 0x1008fe6e
mov eax, dword [eax + 0x10]
mov edi, dword [edx + 0x40]
add eax, 0xc
mov esi, dword [esp + 0x6c]
cmp dword [eax], edi
je 0x1008fe62
inc ecx
add eax, 0x10
cmp ecx, dword [esi + 0x14]
jl 0x1008fe55
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov eax, dword [esi + 0x48]
xor ecx, ecx
mov dword [esp + 0x54], eax
inc eax
mov dword [esi + 0x48], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 0x1c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x60], ecx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.10075430
mov eax, dword [esp + 0x40]
mov ecx, esi
mov edx, dword [esp + 0x34]
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.1006f190
mov eax, dword [esp + 0x4c]
add esp, 0xc
test byte [eax + 0x2a], 0x20
je 0x1008fedf
mov ecx, dword [eax + 8]
mov dword [esp + 0x60], ecx
test ecx, ecx
je 0x1008fee1
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x1008fed5
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x1008fec5
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], ecx
jmp 0x1008fee1
xor ecx, ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x1008ff21
mov edi, dword [esp + 0x40]
nop dword [eax]
test byte [eax + 0x38], 4
jne 0x1008ff12
movzx edx, word [eax + 0x30]
cmp dx, word [edi + 0x28]
jge 0x1008ff12
cmp dword [eax + 0x24], 0
jne 0x1008ff12
test ecx, ecx
je 0x1008ff10
cmp dx, word [ecx + 0x30]
jge 0x1008ff12
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x1008fef0
mov edi, dword [esp + 0x70]
mov dword [esp + 0x60], ecx
test ecx, ecx
je 0x1008ff39
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.10075c60
mov dword [esp + 0x5c], eax
push 1
push dword [esp + 0x38]
mov edx, 0x36
mov ecx, edi
push dword [esp + 0x1c]
push dword [esp + 0x60]
call fcn.10051fa0
mov edx, dword [esp + 0x6c]
add esp, 0x10
test edx, edx
je 0x1008ffa2
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
je 0x1008ff76
push edx
mov edx, 0xfffffffa
call fcn.10052480
add esp, 4
jmp 0x1008ffa2
mov eax, dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x1008ff9b
push 0xfffffffffffffffa
push edx
lea edx, [eax - 0x14]
mov ecx, edi
call fcn.100526a0
add esp, 8
jmp 0x1008ffa2
mov dword [eax - 4], edx
mov byte [eax - 0x13], 0xfa
mov eax, dword [esp + 0xd4]
mov ecx, dword [edi + 0x20]
mov edx, dword [eax + 8]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1008ffcf
push 0
push edx
push dword [esp + 0x5c]
mov edx, 0x32
mov ecx, edi
call fcn.10051a30
add esp, 0xc
jmp 0x10090006
mov esi, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x10]
mov word [eax + ecx*4], 0x32
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 + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1009002a
push 0
push 0
push dword [esp + 0x5c]
mov edx, 0x3d
mov ecx, edi
call fcn.10051a30
add esp, 0xc
jmp 0x10090061
mov edx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x3d
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
cmp byte [esi + 0x1c5], 2
jne 0x1009026c
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x10090095
test byte [edx + 0x2a], 0x20
je 0x10090089
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x10090095
mov eax, dword [ecx]
mov dword [esp + 0x14], 1
jmp 0x100900a2
mov dword [esp + 0x14], 0
mov eax, 0x100e86f4
cmp dword [esp + 0x14], 0
mov ecx, 0x100e86f4
push eax
mov eax, str._USING_COVERING_INDEX
cmove eax, ecx
push eax
push dword [edx]
push str.SCAN_TABLE__s_s_s
push dword [esi]
call fcn.10035920
mov ecx, dword [esi + 8]
add esp, 0x14
mov edx, 0xa1
push 0xffffffffffffffff
push eax
push 0
push 0
push dword [esi + 0x1d4]
call fcn.10051e60
add esp, 0x14
jmp 0x1009026c
cmp dword [ecx + 0x28], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x40], 0
jne 0x100901e2
xor eax, eax
mov dword [esp + 0x40], 0
cmp dword [esp + 0xd8], 1
mov dword [esp + 0x34], eax
jne 0x100901a1
mov ecx, dword [esp + 0xd4]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x100901a1
cmp dword [ecx], 1
jne 0x100901a1
mov eax, dword [ecx + 4]
mov eax, dword [eax]
cmp byte [eax], 0x9a
jne 0x1009019f
mov eax, dword [esp + 0xd4]
mov edx, 0x100f1e88
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
call fcn.100367a0
test eax, eax
jne 0x10090173
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], 1
mov dword [esp + 0x34], eax
jmp 0x100901a1
mov ecx, dword [esp + 0xd4]
mov edx, 0x100f1e8c
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
call fcn.100367a0
test eax, eax
jne 0x1009019f
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], 2
mov dword [esp + 0x34], eax
jmp 0x100901a1
xor eax, eax
cmp byte [esp + 0x40], 0
je 0x100901e2
mov ecx, dword [esp + 0x18]
mov edx, eax
push 0
call fcn.10066cb0
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], edx
mov dword [esp + 0x68], edx
cmp byte [eax + 0x45], 0
jne 0x100901e2
mov eax, dword [edx + 4]
cmp byte [esp + 0x40], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov byte [eax], 0x98
lea edx, [esp + 0xac]
mov ecx, esi
call fcn.1008db90
mov eax, dword [esp + 0x40]
mov ecx, esi
mov edx, dword [esp + 0x38]
push 0
movzx eax, al
push eax
push 0
push dword [esp + 0x40]
push dword [esp + 0x84]
call fcn.1009f7f0
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10090231
mov edi, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x68]
call fcn.10067700
jmp 0x1008e29c
lea edx, [esp + 0xac]
mov ecx, esi
call fcn.1008dd60
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x26], 0
jle 0x10090257
mov edx, dword [eax + 0x34]
mov ecx, edi
call fcn.10051c30
mov eax, dword [esp + 0x14]
mov ecx, eax
call fcn.100a0400
lea edx, [esp + 0xac]
mov ecx, esi
call fcn.1008dc80
mov edx, dword [esp + 0x50]
mov ecx, esi
push 0x10
push dword [esp + 0x40]
mov dword [esp + 0xe8], 0
call fcn.1006b0c0
mov eax, dword [esp + 0x44]
mov ecx, esi
push eax
push eax
push dword [ebp + 8]
mov eax, dword [esp + 0x58]
mov edx, eax
push 0
push 0
push 0xffffffffffffffff
push dword [eax]
call fcn.10087400
mov edx, dword [esp + 0x8c]
add esp, 0x24
mov ecx, dword [esp + 0x18]
call fcn.10067700
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x100902d5
mov eax, dword [esp + 0x3c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov eax, dword [esp + 0x64]
cmp al, 3
jne 0x10090328
cmp byte [esi + 0x1c5], 2
jne 0x10090328
mov eax, dword [esp + 0x10]
mov esi, dword [esi + 8]
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push dword [eax]
call fcn.10035920
add esp, 0xc
mov edx, 0xa1
mov ecx, esi
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x18]
push 0
push 0
push dword [eax + 0x1d4]
call fcn.10051e60
add esp, 0x14
cmp dword [esp + 0xe0], 0
mov esi, dword [esp + 0x10]
je 0x100903b2
cmp byte [esi + 0x1c5], 2
jne 0x10090393
cmp dword [esp + 0xe4], 0
mov ecx, str.ORDER_BY
mov esi, dword [esi + 8]
mov eax, str.RIGHT_PART_OF_ORDER_BY
cmovle eax, ecx
push eax
mov eax, dword [esp + 0x14]
push str.USE_TEMP_B_TREE_FOR__s
push dword [eax]
call fcn.10035920
add esp, 0xc
mov edx, 0xa1
mov ecx, esi
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x18]
push 0
push 0
push dword [eax + 0x1d4]
call fcn.10051e60
mov esi, dword [esp + 0x24]
add esp, 0x14
mov eax, dword [esp + 0x7c]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [esp + 0x48]
push dword [eax]
lea eax, [esp + 0xe8]
push eax
call fcn.10088200
add esp, 0xc
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x100903d1
mov eax, dword [esp + 0x100]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
mov edi, dword [esp + 0x18]
dec eax
mov dword [edx + 0x60], eax
xor eax, eax
cmp dword [esi + 0x44], eax
setg al
mov dword [esp + 0x5c], eax
jmp 0x1008e2a1
mov edi, eax
jmp 0x1008e29c
mov edi, eax
mov eax, 1
jmp 0x1008e2a5
mov edi, dword [esp + 0x18]
mov eax, 1
jmp 0x1008e2a5
mov edi, eax
mov eax, 1
jmp 0x1008e2a5
mov edi, dword [esp + 0x18]
mov eax, 1
mov edx, dword [esp + 0x38]
jmp 0x1008e2a5
cmp ecx, dword [edi + 0x120]
jb 0x10090452
cmp ecx, dword [edi + 0x124]
jae 0x10090452
mov eax, dword [edi + 0x11c]
mov dword [ecx], eax
dec dword [edi + 0x108]
mov dword [edi + 0x11c], ecx
jmp 0x1009045b
push ecx
call fcn.10033830
add esp, 4
mov edx, dword [esp + 0xd4]
test edx, edx
je 0x100904b7
cmp dword [edi + 0x1c8], 0
je 0x10090480
mov ecx, edi
call fcn.100338a0
mov eax, dword [esp + 0x5c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, dword [edi + 0x120]
jb 0x100904ae
cmp edx, dword [edi + 0x124]
jae 0x100904ae
mov eax, dword [edi + 0x11c]
mov dword [edx], eax
dec dword [edi + 0x108]
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x11c], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edx
call fcn.10033830
add esp, 4
mov eax, dword [esp + 0x5c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret