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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
push esi
mov esi, ecx
mov dword [esp + 0x40], 1
push edi
mov eax, edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov edi, dword [esi + 8]
mov ecx, dword [esi]
mov dword [esp + 0xc0], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], edi
test edi, edi
jne 0x1009beb2
cmp dword [esi + 0x74], edi
jne 0x1009be9d
test byte [ecx + 0x4c], 8
jne 0x1009be9d
mov byte [esi + 0x17], 1
mov ecx, esi
call fcn.100ec3b0
mov ecx, dword [esp + 0x4c]
mov edi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x38], edi
test eax, eax
je 0x1009e5c9
cmp byte [ecx + 0x53], 0
jne 0x1009e5c9
cmp dword [esi + 0x24], 0
jne 0x1009e5c9
push 0
push 0
push 0
mov edx, 0x15
mov ecx, esi
call fcn.100c4370
add esp, 0xc
test eax, eax
jne 0x1009e5c9
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 8]
cmp byte [eax], 6
ja 0x1009bf27
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x1009bf19
push eax
mov edx, 0x100d2ed0
mov ecx, esi
call fcn.100a7f30
mov ecx, dword [esp + 0xc]
add esp, 4
mov dword [ecx + 0x30], 0
mov eax, dword [ecx + 4]
and eax, 0xfffffffe
or eax, 0x400000
mov dword [ecx + 4], eax
mov edx, ecx
mov ecx, esi
push 0
call fcn.1009ef00
add esp, 4
cmp dword [esi + 0x24], 0
jne 0x1009e547
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0x53], 0
jne 0x1009e547
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], ecx
test ecx, 0x800000
je 0x1009c023
mov edx, dword [eax + 0x20]
mov ecx, 1
mov dword [esp + 0x74], edx
mov dword [esp + 0x14], ecx
mov edi, dword [edx]
cmp edi, ecx
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x38]
jle 0x1009c016
lea eax, [edx + 0x14]
mov dword [esp + 0x78], eax
mov eax, 0x48
mov dword [esp + 0x60], eax
nop word [eax + eax]
mov esi, dword [esp + 0x74]
mov edi, dword [esi + 0x18]
cmp edi, dword [edx + eax + 0x18]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0xc]
jne 0x1009bfd3
push dword [edx + eax + 0x14]
mov eax, dword [esp + 0x7c]
push dword [eax]
call fcn.1010de60
add esp, 8
test eax, eax
je 0x1009bfeb
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x14]
inc ecx
add eax, 0x48
mov dword [esp + 0x14], ecx
mov dword [esp + 0x60], eax
cmp ecx, dword [esp + 0x10]
jge 0x1009c012
mov edx, dword [esp + 0x74]
jmp 0x1009bfa0
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
cmp dword [edx], 0
mov eax, dword [ecx + 0x18]
cmovne eax, edx
mov eax, dword [eax]
push eax
push str.target_object_alias_may_not_appear_in_FROM_clause:__s
push esi
call fcn.1010dfc0
add esp, 0xc
jmp 0x1009e547
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x58]
and ecx, 0xff7fffff
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
cmp byte [ecx], 9
jne 0x1009c038
mov edx, eax
mov ecx, esi
call fcn.100a4920
mov eax, dword [esp + 8]
mov edx, eax
mov ecx, esi
call fcn.10082930
test eax, eax
jne 0x1009e547
mov ecx, dword [esp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movq qword [esp + 0xf0], xmm0
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x20]
shr eax, 3
and eax, 1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x20], eax
mov dword [esp + 0xd0], eax
xor eax, eax
mov dword [esp + 0x48], eax
cmp dword [ecx + 0x34], eax
jne 0x1009c233
nop word [eax + eax]
cmp eax, dword [edx]
jge 0x1009c233
lea eax, [eax + eax*8]
lea eax, [eax + 1]
test byte [edx + eax*8 + 0x24], 8
lea eax, [edx + eax*8]
mov edi, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], edx
je 0x1009c109
mov edx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0x24]
call fcn.100cce80
test eax, eax
je 0x1009c101
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 8]
test dword [eax + 0x4c], 0x2000
jne 0x1009c105
mov edx, dword [esp + 0x10]
and byte [edx + 0x24], 0xd7
mov edx, dword [edx + 0x2c]
mov ecx, dword [ecx + 0x24]
call fcn.100a6f20
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x64]
test edx, edx
je 0x1009c21c
mov eax, dword [esp + 0x14]
movsx ecx, word [eax + 0x22]
mov eax, dword [edx + 0x1c]
cmp ecx, dword [eax]
jne 0x1009c263
mov eax, dword [edx + 4]
test al, 8
jne 0x1009c218
mov ecx, dword [edx + 0x30]
test ecx, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 8]
je 0x1009c18d
cmp dword [ecx + 0x30], 0
jne 0x1009c150
mov eax, dword [esp + 0x3c]
cmp dword [eax], 1
jle 0x1009c18d
mov eax, dword [edx + 4]
cmp dword [edx + 0x3c], 0
jne 0x1009c18d
test eax, 0x8000000
jne 0x1009c18d
test dword [ecx + 4], 0x8000000
jne 0x1009c18d
mov eax, dword [esp + 0x4c]
test dword [eax + 0x4c], 0x40000
jne 0x1009c18d
mov edx, dword [esp + 0x10]
mov ecx, eax
call fcn.100d2ef0
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 8]
mov dword [edx + 0x30], 0
cmp dword [edx + 0x30], 0
mov eax, dword [esp + 0x48]
je 0x1009c1b3
test eax, eax
jne 0x1009c1b3
test dword [ecx + 4], 0x40000
je 0x1009c1b3
mov edx, dword [esp + 0x3c]
cmp dword [edx], 1
je 0x1009c224
test byte [edx + 0x74], 0xa
jne 0x1009c224
push dword [esp + 0x60]
mov edx, ecx
mov ecx, esi
push eax
call fcn.100a0c90
add esp, 8
test eax, eax
je 0x1009c1d7
cmp dword [esi + 0x24], 0
jne 0x1009e547
or eax, 0xffffffff
jmp 0x1009c1db
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 8]
cmp byte [edi + 0x53], 0
mov edx, dword [ecx + 0x20]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x3c], edx
jne 0x1009e547
mov esi, dword [ebp + 8]
cmp byte [esi], 8
mov esi, dword [esp + 0xc]
jbe 0x1009c224
mov edi, dword [ecx + 0x30]
mov dword [esp + 0x20], edi
mov dword [esp + 0xd0], edi
mov edi, dword [esp + 0x38]
jmp 0x1009c224
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
inc eax
cmp dword [ecx + 0x34], 0
mov dword [esp + 0x48], eax
je 0x1009c0a0
cmp dword [ecx + 0x34], 0
je 0x1009c283
push dword [ebp + 8]
mov edx, ecx
mov ecx, esi
call fcn.100a2ec0
mov ecx, dword [esp + 0xc]
add esp, 4
mov edi, eax
cmp dword [ecx + 0x38], 0
jne 0x1009c25b
mov ecx, esi
call fcn.100eb9e0
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [eax]
mov eax, dword [esp + 0x18]
push dword [eax]
movsx eax, word [eax + 0x22]
push eax
push str.expected__d_columns_for__s_but_got__d
push esi
call fcn.1010dfc0
add esp, 0x14
jmp 0x1009e547
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x1009c2a5
cmp byte [eax], 0x2c
jne 0x1009c2a5
mov eax, dword [esp + 0x4c]
test dword [eax + 0x4c], 0x8000
jne 0x1009c2a5
mov edx, ecx
mov ecx, esi
call fcn.100a0860
mov ecx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x74], eax
cmp dword [ecx], eax
jle 0x1009c6a3
lea eax, [eax + eax*8]
lea ecx, [ecx + eax*8]
mov eax, dword [ecx + 0x40]
add ecx, 8
mov dword [esp + 0x18], ecx
or eax, dword [ecx + 0x3c]
jne 0x1009c2ef
mov eax, dword [ecx + 8]
test eax, eax
je 0x1009c2ef
push dword [ecx + 4]
mov edx, 0x14
mov ecx, esi
push 0x10127dbc
push eax
call fcn.100c4370
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x54], eax
test eax, eax
je 0x1009c68e
mov ecx, dword [esp + 8]
call fcn.100d4be0
add dword [esi + 0xd0], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
test dword [eax + 0x4c], 0x1000
jne 0x1009c359
test byte [edx + 0x28], 0x80
je 0x1009c332
mov eax, dword [edx + 0x44]
cmp byte [eax + 0x12], 0
je 0x1009c359
cmp dword [eax], 2
jge 0x1009c359
movzx eax, byte [edx + 0x24]
mov ecx, esi
shr eax, 5
and eax, 1
push eax
mov eax, dword [esp + 0xc]
push dword [edx + 0x2c]
mov edx, dword [esp + 0x5c]
push dword [eax + 0x24]
call fcn.100a0630
mov edx, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0x74], 0
mov eax, dword [esi + 0xf0]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 8]
mov dword [esi + 0xf0], eax
jne 0x1009c479
cmp dword [ecx], 1
je 0x1009c38a
test byte [ecx + 0x74], 0xa
je 0x1009c479
test byte [edx + 0x28], 0x80
je 0x1009c39d
mov eax, dword [edx + 0x44]
cmp byte [eax + 0x12], 0
je 0x1009c479
mov ecx, dword [esp + 0xc]
mov esi, dword [edi + 0x74]
inc esi
push esi
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, edi
mov dword [edx + 0x1c], eax
mov edx, 0xd
push 0
push eax
call fcn.100ec050
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov byte [esp + 0x90], 0xd
mov dword [esp + 0x98], 0
mov dword [esp + 0xa4], 0
mov eax, dword [ecx + 0x1c]
push ecx
push str.CO_ROUTINE___S
push 1
push dword [esp + 0x18]
mov dword [ecx + 0x18], esi
mov dword [esp + 0xa4], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
call fcn.100eba30
mov edx, dword [esp + 0x64]
lea eax, [esp + 0xa0]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.1009be50
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov eax, dword [esp + 0x54]
mov ecx, dword [edx + 0x10]
mov ax, word [eax + 2]
mov word [ecx + 0x26], ax
mov ecx, edi
mov eax, dword [esp + 0x9c]
or dword [edx + 0x28], 0x10
mov dword [edx + 0x20], eax
mov edx, dword [edx + 0x1c]
call fcn.100eb7c0
lea edx, [esi - 1]
mov ecx, edi
call fcn.100eb370
mov esi, dword [esp + 0xc]
mov byte [esi + 0x13], 0
mov dword [esi + 0x1c], 0
jmp 0x1009c667
test byte [edx + 0x28], 0x80
je 0x1009c4d9
mov eax, dword [edx + 0x44]
mov dword [esp + 0x14], eax
cmp dword [eax + 4], 0
jle 0x1009c4d9
push dword [eax + 4]
mov edx, 0xc
mov ecx, edi
push dword [eax + 8]
call fcn.100ebf20
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x2c]
cmp ecx, edx
je 0x1009c4c8
push edx
push ecx
mov edx, 0x70
mov ecx, edi
call fcn.100ebf20
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x54]
mov ax, word [eax + 0x10]
mov word [ecx + 2], ax
jmp 0x1009c667
call fcn.1009e670
mov dword [esp + 0x14], eax
test eax, eax
je 0x1009c535
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x1009c504
push ecx
push dword [eax + 0x1c]
mov edx, 0xc
mov ecx, edi
call fcn.100ebf20
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x18]
mov edx, 0x70
push dword [eax + 0x2c]
push dword [ecx + 0x2c]
mov ecx, edi
call fcn.100ebf20
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x54]
mov eax, dword [eax + 0x14]
mov ax, word [eax + 2]
mov word [ecx + 2], ax
jmp 0x1009c667
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x14], eax
mov edx, 0x46
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esi + 0x2c], eax
push eax
mov dword [ecx + 0x1c], eax
mov ecx, edi
push 0
call fcn.100ebf20
mov ecx, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x10], eax
inc eax
test byte [ecx + 0x28], 8
mov dword [ecx + 0x18], eax
jne 0x1009c581
mov edx, 0x11
mov ecx, edi
call fcn.100ebff0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x2c]
push ecx
push str.MATERIALIZE___S
push 1
push esi
mov byte [esp + 0xa0], 0xc
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
call fcn.100eba30
mov edx, dword [esp + 0x64]
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
call fcn.1009be50
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov eax, dword [esp + 0x54]
mov ecx, dword [ecx + 0x10]
mov ax, word [eax + 2]
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1009c607
mov edx, eax
mov ecx, edi
call fcn.100eb370
mov eax, dword [esp + 0x18]
mov edx, 0x42
mov ecx, edi
push dword [eax + 0x1c]
call fcn.100ebf90
mov edx, dword [esp + 0x14]
add esp, 4
mov ecx, edi
push eax
call fcn.100eb440
mov edx, dword [esp + 0x1c]
add esp, 4
mov byte [esi + 0x13], 0
mov dword [esi + 0x1c], 0
mov eax, dword [edx + 0x28]
test al, al
jns 0x1009c667
test al, 8
jne 0x1009c667
mov ecx, dword [edx + 0x44]
mov eax, dword [edx + 0x18]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x1c]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0x2c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x54]
mov ax, word [eax + 2]
mov word [ecx + 0x10], ax
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0x53], 0
jne 0x1009e547
mov ecx, dword [esp + 8]
call fcn.100d4be0
sub dword [esi + 0xd0], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0xf0], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x74], eax
cmp eax, dword [ecx]
jl 0x1009c2b7
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0xbc], eax
mov al, byte [ecx + 4]
and al, 1
mov dword [esp + 0x80], edx
mov byte [esp + 0x5e], al
mov byte [esp + 0xc4], al
mov eax, dword [ecx + 4]
and al, 9
cmp al, 1
jne 0x1009c72d
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.100cd370
add esp, 4
test eax, eax
jne 0x1009c726
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x80]
cmp dword [ecx + 0x44], eax
jne 0x1009c72d
and dword [ecx + 4], 0xfffffffe
mov ecx, dword [esp + 0x4c]
push eax
call fcn.100d39e0
mov edx, eax
add esp, 4
mov eax, dword [esp + 8]
mov dword [esp + 0x40], edx
or dword [eax + 4], 8
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1009c785
push dword [edx]
mov edx, eax
mov ecx, esi
push 0
call fcn.100a57c0
mov edx, dword [esi + 0x28]
mov ecx, eax
push 0xfffffffffffffff7
push ecx
mov ecx, dword [esp + 0x90]
lea eax, [edx + 1]
mov dword [esp + 0xe8], edx
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [ecx]
inc ecx
push 0
mov eax, dword [eax]
add eax, ecx
mov ecx, edi
push eax
push edx
mov edx, 0x73
call fcn.100ebbd0
add esp, 0x1c
mov dword [esp + 0xe4], eax
jmp 0x1009c790
mov dword [esp + 0xe4], 0xffffffff
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0xc
jne 0x1009c7b3
mov eax, dword [esp + 0x80]
mov edx, 0x73
push dword [eax]
push dword [ecx + 4]
mov ecx, edi
call fcn.100ebf20
add esp, 8
mov eax, dword [esp + 8]
dec dword [esi + 0x38]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x10c], ecx
test dword [eax + 4], 0x4000
jne 0x1009c7d6
mov edx, 0x140
mov word [eax + 2], dx
push ecx
mov edx, eax
mov ecx, esi
call fcn.100a40c0
mov edx, dword [esp + 0xc]
add esp, 4
cmp dword [edx + 8], 0
jne 0x1009c81b
mov ecx, dword [esp + 0xe4]
test ecx, ecx
js 0x1009c81b
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
je 0x1009c807
mov eax, 0x101442cc
jmp 0x1009c810
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
or byte [esp + 0xf0], 1
mov byte [eax], 0x75
test byte [edx + 4], 1
je 0x1009c886
mov esi, dword [esi + 0x28]
mov ecx, dword [esp + 0xc]
push 0xfffffffffffffff7
push ecx
lea eax, [esi + 1]
mov dword [esp + 0xd0], esi
mov dword [ecx + 0x28], eax
mov edx, dword [edx + 0x1c]
push 0
push 0
call fcn.100a57c0
add esp, 0xc
mov edx, 0x73
mov ecx, edi
push eax
push 0
push 0
push esi
call fcn.100ebbd0
mov dword [esp + 0xe0], eax
add esp, 0x14
mov eax, dword [edi + 0x74]
test eax, eax
jle 0x1009c87a
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [edi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov esi, dword [esp + 0xc]
mov al, 3
mov edx, dword [esp + 8]
jmp 0x1009c888
xor al, al
cmp dword [esp + 0x60], 0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0xc5], al
mov dword [esp + 0x74], eax
jne 0x1009ca91
test ecx, ecx
jne 0x1009ca91
cmp byte [esp + 0x5e], cl
mov eax, 0x100
mov dword [esp + 0x10], 0x4000
cmovne ecx, eax
mov ax, word [edx + 4]
and ax, word [esp + 0x10]
or cx, ax
movzx eax, cx
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x44]
mov dword [esp + 0x58], eax
test eax, eax
je 0x1009c8e7
mov ecx, esi
call fcn.10081be0
mov edx, dword [esp + 8]
movsx eax, word [edx + 2]
mov ecx, esi
push eax
push dword [esp + 0x14]
push dword [edx + 0x1c]
mov edx, dword [esp + 0x48]
push dword [esp + 0x2c]
push dword [esp + 0x80]
call fcn.10084c50
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x64], ecx
test ecx, ecx
je 0x1009e547
mov eax, dword [esp + 8]
movzx edx, word [ecx + 0x34]
cmp dx, word [eax + 2]
jge 0x1009c92c
mov word [eax + 2], dx
cmp byte [esp + 0x5e], 0
je 0x1009c954
mov cl, byte [ecx + 0x2f]
mov edx, dword [esp + 0x74]
test cl, cl
movzx eax, cl
mov ecx, dword [esp + 0x64]
movzx edx, dl
cmovne edx, eax
mov dword [esp + 0x74], edx
mov byte [esp + 0xc5], dl
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1009c985
movsx edx, byte [ecx + 0x2d]
mov dword [esp + 0xd4], edx
call fcn.1008c020
mov dword [esp + 0xec], eax
xor ecx, ecx
mov eax, dword [esp + 0x20]
cmp edx, dword [eax]
cmove eax, ecx
mov dword [esp + 0xd0], eax
mov edx, dword [esp + 0xe4]
test edx, edx
js 0x1009c99b
test eax, eax
jne 0x1009c99b
mov ecx, edi
call fcn.100eb040
cmp dword [esp + 0x58], 0
mov edx, dword [esp + 8]
je 0x1009ca5a
mov eax, dword [esi + 0x38]
mov ecx, dword [esp + 0xc]
lea esi, [eax - 1]
sub eax, 2
inc dword [ecx + 0x2c]
mov edi, dword [ecx + 0x2c]
push esi
mov dword [esp + 0x48], eax
dec eax
push edi
push dword [esp + 0x6c]
mov dword [esp + 0x20], eax
mov dword [ecx + 0x38], eax
call fcn.1007d730
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov edx, 0xb
push dword [esp + 0x14]
push 0
call fcn.100ebf20
mov ecx, dword [esp + 0x40]
mov edx, esi
call fcn.100eb710
push dword [esp + 0x1c]
mov esi, dword [esp + 0x50]
lea eax, [esp + 0xd0]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push esi
push dword [ebp + 8]
mov dword [esp + 0x100], 0
push eax
lea eax, [esp + 0xe8]
push eax
push 0xffffffffffffffff
call fcn.100a5930
mov ecx, dword [esp + 0x58]
mov edx, esi
call fcn.100eb710
push edi
mov edi, dword [esp + 0x5c]
mov edx, 0x42
mov ecx, edi
call fcn.100ebf90
add esp, 0x24
lea edx, [esi - 1]
mov ecx, edi
call fcn.100eb710
jmp 0x1009e4a2
mov eax, dword [esp + 0x64]
mov ecx, esi
push dword [eax + 0x20]
push dword [eax + 0x1c]
lea eax, [esp + 0xcc]
push dword [ebp + 8]
push eax
lea eax, [esp + 0xe0]
push eax
push 0xffffffffffffffff
call fcn.100a5930
mov ecx, dword [esp + 0x7c]
add esp, 0x18
call fcn.10084140
jmp 0x1009e4a2
mov dword [esp + 0x6c], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x78], 0
test ecx, ecx
je 0x1009cb6a
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx]
test eax, eax
jle 0x1009cad2
add ecx, 0x1a
xor edi, edi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], di
test eax, eax
jg 0x1009cac0
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
test eax, eax
jle 0x1009caf2
add ecx, 0x1a
nop
xor esi, esi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], si
test eax, eax
jg 0x1009cae0
mov esi, dword [esp + 0xc]
cmp word [edx + 2], 0x42
jle 0x1009cb02
mov eax, 0x42
mov word [edx + 2], ax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1009cb70
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x1009cb70
xor edx, edx
test eax, eax
jle 0x1009cb4c
mov eax, dword [esp + 0x40]
mov esi, eax
mov edi, dword [esp + 0x20]
sub edi, eax
lea ecx, [eax + 0x10]
nop dword [eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 0x14]
and al, 1
inc edx
mov byte [ecx - 0x14], al
cmp edx, dword [esi]
jl 0x1009cb30
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, ecx
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
call fcn.100cd370
add esp, 4
test eax, eax
jne 0x1009cb70
mov dword [esp + 0x78], 1
jmp 0x1009cb70
xor eax, eax
mov word [edx + 2], ax
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov ecx, dword [esp + 0x4c]
push 0
push 0x34
mov dword [esp + 0x5c], eax
call fcn.10111510
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x1009cbb8
push 0x34
push 0
push ecx
call fcn.10002790
add esp, 0xc
mov edx, 0x1009e5e0
mov ecx, esi
push dword [esp + 0x1c]
call fcn.100a7f30
mov ecx, dword [esp + 0x20]
add esp, 4
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0x53], 0
jne 0x1009e547
mov eax, dword [esp + 8]
xorps xmm0, xmm0
mov edx, dword [esp + 0x40]
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x3c]
movaps xmmword [esp + 0x110], xmm0
mov dword [esp + 0x114], eax
mov eax, dword [esi + 0x2c]
inc eax
movaps xmmword [esp + 0x120], xmm0
mov dword [esp + 0x110], esi
mov dword [esp + 0x118], ecx
mov dword [ecx + 0x10], eax
test edx, edx
je 0x1009cc0f
mov eax, dword [edx]
jmp 0x1009cc11
xor eax, eax
mov dword [ecx + 0x18], edx
mov edx, dword [esp + 0x80]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x110]
call fcn.100cc7e0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x110]
call fcn.100cc7e0
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x1009cd04
cmp dword [esp + 0x40], 0
je 0x1009ccb1
mov eax, dword [esp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0xa8], 0
movq qword [esp + 0xa0], xmm0
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], 0x1009e740
mov dword [esp + 0xa8], eax
test edx, edx
je 0x1009ccaa
lea ecx, [esp + 0x90]
call fcn.100d8830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xbc]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x94], 0x100cc890
mov edx, ecx
mov dword [esp + 0x98], 0x100d85d0
lea ecx, [esp + 0x90]
mov dword [esp + 0x9c], 0x100d85c0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa8], eax
mov dword [esp + 0x90], 0
call fcn.100d8830
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 8]
cmp dword [eax + 0x28], 0
jne 0x1009cd47
cmp dword [eax + 0x2c], 0
jne 0x1009cd47
cmp dword [ecx + 0x2c], 1
jne 0x1009cd47
mov edx, dword [ecx + 0x28]
lea eax, [esp + 0xc0]
mov ecx, dword [esp + 0x4c]
push eax
mov edx, dword [edx]
call fcn.100a0590
mov ecx, dword [esp + 0x20]
add esp, 4
mov byte [esp + 0x5f], al
jmp 0x1009cd4c
mov byte [esp + 0x5f], 0
cmp dword [ecx + 0x2c], 0
mov dword [esp + 0x14], 0
jle 0x1009ce33
mov ecx, dword [esp + 0x128]
xor esi, esi
mov edi, dword [esp + 0x1c]
nop dword [eax + eax]
mov eax, dword [edi + 0x28]
or ecx, 0x20000
mov eax, dword [esi + eax]
mov dword [esp + 0x128], ecx
lea ecx, [esp + 0x110]
mov dword [esp + 0x10], eax
mov edx, dword [eax + 0x14]
call fcn.100cc7e0
mov eax, dword [esp + 0x10]
test dword [eax + 4], 0x1000000
je 0x1009cdfe
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x94], 0x100cc890
mov dword [esp + 0x98], 0x100d85d0
mov dword [esp + 0x9c], 0x100d85c0
mov edx, dword [eax + 0x28]
lea eax, [esp + 0x110]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa8], eax
mov dword [esp + 0x90], 0
test edx, edx
je 0x1009cdfe
lea ecx, [esp + 0x90]
call fcn.100d8830
mov ecx, dword [esp + 0x128]
add esi, 0x14
mov eax, dword [esp + 0x14]
and ecx, 0xfffdffff
inc eax
mov dword [esp + 0x128], ecx
mov dword [esp + 0x14], eax
cmp eax, dword [edi + 0x2c]
jl 0x1009cd70
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x2c]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0x53], 0
jne 0x1009e547
cmp dword [esp + 0x40], 0
je 0x1009de76
cmp dword [ecx + 0x2c], 1
mov dword [esp + 0x7c], 0
mov dword [esp + 0x60], 0
jne 0x1009cee3
mov eax, dword [ecx + 0x28]
cmp dword [eax + 0xc], 0
jl 0x1009cee3
mov eax, dword [eax]
test eax, eax
je 0x1009cee3
test dword [eax + 4], 0x800
jne 0x1009cee3
mov edx, dword [eax + 0x14]
test edx, edx
je 0x1009cee3
mov edx, dword [edx + 8]
test edx, edx
je 0x1009cea4
mov ecx, dword [esp + 0x4c]
push 0
push 0
call fcn.100d3e30
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x1009ceac
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
push 0
call fcn.100d39e0
add esp, 4
mov edx, eax
mov ecx, esi
push dword [esp + 0x14]
call fcn.100d3340
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x7c], eax
neg eax
sbb eax, eax
and eax, 0x500
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x28]
mov edx, dword [esp + 0x40]
mov dword [ecx + 4], eax
inc dword [esi + 0x28]
push dword [ecx + 0x20]
mov ecx, esi
push 0
call fcn.100a57c0
mov ecx, dword [edi + 0x74]
add esp, 8
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x78], ecx
jg 0x1009cf3b
push 0
push edx
push eax
mov edx, 0x75
mov ecx, edi
call fcn.100ec0c0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
jmp 0x1009cf72
mov esi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x75
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
mov eax, edx
cmp byte [ecx + 0x53], 0
je 0x1009cf93
mov edx, dword [esp + 0x88]
push edx
mov edx, 0xfffffff7
call fcn.100eb160
add esp, 4
jmp 0x1009cfce
test edx, edx
jns 0x1009cf9b
mov eax, dword [edi + 0x74]
dec eax
mov edx, dword [esp + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x1009cfc3
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, edi
call fcn.100eaf10
add esp, 8
jmp 0x1009cfce
test edx, edx
je 0x1009cfce
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [esi + 0x2c]
mov edx, dword [esp + 0x40]
inc eax
mov dword [esp + 0x48], eax
inc eax
mov dword [esp + 0x18], eax
lea ecx, [eax + 2]
mov eax, dword [esi + 0x38]
dec eax
mov dword [esi + 0x2c], ecx
mov dword [esp + 0x8c], eax
dec eax
mov dword [esi + 0x38], eax
mov dword [esp + 0x20], ecx
add ecx, dword [edx]
mov dword [esp + 0x64], eax
mov dword [esi + 0x2c], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x68], eax
mov eax, dword [edx]
add eax, ecx
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x1009d034
push 0
push dword [esp + 0x1c]
mov edx, 0x46
mov ecx, edi
push 0
call fcn.100ec0c0
mov edx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x1009d06b
mov esi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edx]
mov edx, dword [esp + 0x20]
mov ecx, dword [edi + 0x74]
add edx, eax
cmp dword [edi + 0x78], ecx
jg 0x1009d095
mov eax, dword [esp + 0x20]
mov ecx, edi
push edx
inc eax
mov edx, 0x49
push eax
push 0
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009d0cd
mov esi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
inc esi
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x1009d0f0
push 0
push dword [esp + 0x68]
mov edx, 0xc
mov ecx, edi
push dword [esp + 0x28]
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009d123
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x78], 0
mov ecx, 0x240
mov edx, dword [esp + 0x3c]
mov eax, 0x40
cmovne eax, ecx
mov ecx, esi
or ax, word [esp + 0x60]
push 0
movzx eax, ax
push eax
push dword [esp + 0x84]
push dword [esp + 0x4c]
push dword [esp + 0x80]
call fcn.10084c50
mov edx, eax
add esp, 0x14
mov dword [esp + 0x60], edx
test edx, edx
jne 0x1009d186
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x1009e547
mov ecx, dword [esp + 0x4c]
mov edx, eax
call fcn.100d2ef0
jmp 0x1009e547
movzx eax, byte [edx + 0x2f]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
movsx eax, byte [edx + 0x2d]
cmp eax, dword [ecx]
jne 0x1009d1a5
xor eax, eax
mov dword [esp + 0x70], eax
jmp 0x1009d520
cmp byte [esp + 0x5e], 0
je 0x1009d1bb
mov eax, dword [esp + 8]
test byte [eax + 4], 1
mov eax, str.DISTINCT
je 0x1009d1c0
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push esi
call fcn.100eba30
mov eax, dword [esp + 0x50]
add esp, 0x10
mov dword [esp + 0x70], 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jle 0x1009d21d
mov ecx, dword [eax + 0x1c]
mov esi, edx
mov edi, dword [eax + 0x20]
add ecx, 0x12
nop
movsx eax, word [ecx]
cmp eax, edx
jl 0x1009d209
inc esi
inc edx
add ecx, 0x14
sub edi, 1
jne 0x1009d200
mov edi, dword [esp + 0x38]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x50]
cmp ecx, 1
jne 0x1009d24e
mov al, byte [esi + 0x13]
test al, al
jne 0x1009d239
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x3c], eax
jmp 0x1009d274
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x94]
mov dword [esp + 0x3c], eax
jmp 0x1009d274
mov edx, dword [esi + 0x20]
mov dword [esp + 0x3c], edx
cmp ecx, dword [esi + 0x1c]
jg 0x1009d265
sub dword [esi + 0x1c], ecx
lea eax, [ecx + edx]
mov dword [esi + 0x20], eax
jmp 0x1009d274
mov eax, dword [esi + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x3c], edx
mov dword [esi + 0x2c], eax
mov edx, dword [esp + 0x40]
mov ecx, esi
push 0
push 0
push dword [esp + 0x44]
call fcn.100ce100
mov eax, dword [esp + 0x28]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x84], ecx
cmp dword [eax + 0x20], ecx
jle 0x1009d2f9
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x58], eax
mov edx, dword [esi + 0x1c]
add edx, eax
movsx eax, word [edx + 0x12]
cmp eax, dword [esp + 0x6c]
jl 0x1009d2dd
mov eax, dword [esp + 0x3c]
mov ecx, edi
add eax, dword [esp + 0x6c]
push eax
movsx eax, word [edx + 0x10]
push eax
push dword [edx + 8]
mov edx, dword [edx]
call fcn.100cfac0
mov ecx, dword [esp + 0x90]
add esp, 0xc
inc dword [esp + 0x6c]
mov eax, dword [esp + 0x58]
inc ecx
add eax, 0x14
mov dword [esp + 0x84], ecx
mov dword [esp + 0x58], eax
cmp ecx, dword [esi + 0x20]
jl 0x1009d2a6
mov esi, dword [esp + 0xc]
mov al, byte [esi + 0x13]
test al, al
jne 0x1009d308
inc dword [esi + 0x2c]
mov edx, dword [esi + 0x2c]
jmp 0x1009d317
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov edx, dword [esi + eax*4 + 0x94]
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x6c], edx
cmp dword [edi + 0x78], ecx
jg 0x1009d341
push edx
push dword [esp + 0x54]
mov edx, 0x5f
mov ecx, edi
push dword [esp + 0x44]
call fcn.100ec0c0
mov edx, dword [esp + 0x78]
add esp, 0xc
jmp 0x1009d374
mov esi, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x5f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x74]
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x78], ecx
jg 0x1009d3a0
push 0
push edx
push eax
mov edx, 0x89
mov ecx, edi
call fcn.100ec0c0
mov edx, dword [esp + 0x78]
add esp, 0xc
jmp 0x1009d3d3
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x89
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 0x1009d3eb
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x1009d3eb
movzx eax, al
mov dword [esi + eax*4 + 0x94], edx
inc byte [esi + 0x13]
mov eax, dword [esp + 0x50]
cmp eax, 1
jne 0x1009d412
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1009d421
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x1009d421
movzx eax, al
mov dword [esi + eax*4 + 0x94], ecx
inc byte [esi + 0x13]
jmp 0x1009d421
cmp eax, dword [esi + 0x1c]
jle 0x1009d421
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x60]
call fcn.10084140
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 0x28]
mov dword [esp + 0x6c], edx
mov dword [eax + 8], edx
mov al, byte [esi + 0x13]
inc dword [esi + 0x28]
test al, al
jne 0x1009d44a
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
jmp 0x1009d459
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x94]
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x84], eax
cmp dword [edi + 0x78], ecx
jg 0x1009d47f
push dword [esp + 0x50]
mov ecx, edi
push eax
push edx
mov edx, 0x77
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009d4b5
mov esi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x84]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x77
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x74]
mov edx, dword [eax + 4]
cmp dword [edi + 0x78], ecx
jg 0x1009d4dc
push 0
push dword [esp + 0x58]
mov ecx, edi
push edx
mov edx, 0x24
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009d50f
mov esi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x24
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 + 0x1c]
mov edx, dword [esp + 0x60]
mov byte [eax + 1], 1
mov eax, 1
cmp dword [esp + 0x78], 0
je 0x1009d57e
mov ecx, dword [esp + 0x4c]
test byte [ecx + 0x4c], 4
jne 0x1009d57e
test eax, eax
jne 0x1009d53b
test byte [edx + 0x30], 8
je 0x1009d57e
mov ecx, dword [edi]
mov dword [esp + 0xd0], 0
cmp byte [ecx + 0x53], 0
jne 0x1009d57e
mov edx, dword [esp + 0xe4]
mov eax, dword [edi + 0x70]
lea edx, [edx + edx*4]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.100eb160
mov word [esi], 0xb3
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0xc]
cmp dword [esp + 0x70], 0
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x50], ecx
je 0x1009d5eb
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
cmp dword [edi + 0x78], ecx
jg 0x1009d5b5
push dword [esp + 0x6c]
mov ecx, edi
push dword [esp + 0x88]
push edx
mov edx, 0x83
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009d5eb
mov esi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x84]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + ecx*4], 0x83
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x40]
xor edx, edx
mov dword [esp + 0x78], edx
cmp dword [eax], edx
jle 0x1009d69e
lea ecx, [eax + 8]
mov dword [esp + 0x58], ecx
cmp dword [esp + 0x70], 0
je 0x1009d664
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x1009d630
mov eax, dword [esp + 0x68]
mov ecx, edi
add eax, edx
push eax
push edx
push dword [esp + 0x74]
mov edx, 0x5c
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009d67e
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x6c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x68]
add eax, edx
mov dword [ecx + 0xc], eax
jmp 0x1009d682
mov eax, dword [esp + 0x1c]
mov byte [eax], 1
mov eax, dword [esp + 0x68]
add eax, edx
mov edx, dword [ecx]
push eax
mov ecx, esi
call fcn.100ce3f0
add esp, 4
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x40]
inc edx
mov ecx, dword [esp + 0x58]
add ecx, 0x14
mov dword [esp + 0x78], edx
mov dword [esp + 0x58], ecx
cmp edx, dword [eax]
jl 0x1009d604
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x1009d6ab
inc dword [ecx]
mov edx, dword [edi + 0x74]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x78], edx
jg 0x1009d6d7
push eax
mov eax, dword [esp + 0x24]
mov edx, 0x58
push dword [esp + 0x6c]
inc eax
mov ecx, edi
push eax
call fcn.100ec0c0
add esp, 0xc
mov edx, eax
jmp 0x1009d713
mov esi, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
inc esi
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x58
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x53], 0
je 0x1009d732
mov edx, dword [esp + 0x88]
push edx
mov edx, 0xfffffff7
call fcn.100eb160
add esp, 4
jmp 0x1009d76d
test edx, edx
jns 0x1009d73a
mov edx, dword [edi + 0x74]
dec edx
mov eax, dword [edi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x88]
je 0x1009d762
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, edi
call fcn.100eaf10
add esp, 8
jmp 0x1009d76d
test edx, edx
je 0x1009d76d
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x78], ecx
lea edx, [ecx + 1]
cmp dword [edi + 0x78], ecx
jg 0x1009d791
push edx
push 0
push edx
mov edx, 0x10
mov ecx, edi
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009d7c0
mov esi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x10
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 ecx, dword [esi + 8]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], ecx
mov edx, dword [ecx + 0x74]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
cmp dword [ecx + 0x78], edx
jg 0x1009d7f3
push eax
mov eax, dword [esp + 0x24]
mov edx, 0x4d
inc eax
push eax
push dword [esp + 0x70]
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009d82f
mov edi, dword [esp + 0x38]
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x68]
mov eax, dword [eax + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
inc edx
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x1009d857
mov eax, dword [esp + 0x18]
mov edx, 0xc
push 0
push dword [esp + 0x90]
inc eax
mov ecx, edi
push eax
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009d892
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov esi, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x74], eax
inc edx
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x1009d8b5
push 0
push dword [esp + 0x58]
mov edx, 0x31
mov ecx, edi
push dword [esp + 0x20]
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009d8e8
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x1009d90b
push 0
push dword [esp + 0x68]
mov edx, 0xc
mov ecx, edi
push dword [esp + 0x28]
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009d93e
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + ecx*4], 0xc
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 + 0x78]
mov edx, dword [edi + 0x74]
test ecx, ecx
jns 0x1009d94c
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
je 0x1009d95b
mov eax, 0x101442cc
jmp 0x1009d964
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
push dword [esp + 0x10]
mov dword [eax + 8], edx
mov ecx, esi
push dword [esp + 0x20]
mov edx, dword [esp + 0x50]
call fcn.1009e8b0
mov ecx, dword [edi + 0x74]
add esp, 8
cmp dword [edi + 0x78], ecx
jg 0x1009d99e
push 0
push dword [esp + 0x4c]
mov edx, 0x46
mov ecx, edi
push 1
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009d9d1
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x46
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 + 0x70], 0
je 0x1009da30
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x74]
mov edx, dword [eax + 4]
cmp dword [edi + 0x78], ecx
jg 0x1009d9ff
push 0
push dword [esp + 0x54]
mov ecx, edi
push edx
mov edx, 3
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009da6e
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 3
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1009da6a
mov ecx, dword [esp + 0x60]
call fcn.10084140
mov ecx, dword [edi]
cmp byte [ecx + 0x53], 0
jne 0x1009da6e
mov eax, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x70]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.100eb160
add esp, 4
mov word [esi], 0xb3
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x1009da81
mov ecx, dword [esp + 0x4c]
mov edx, eax
call fcn.100d2ef0
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x1009daa9
mov eax, dword [esp + 0x18]
mov edx, 0xc
push 0
push dword [esp + 0x90]
inc eax
mov ecx, edi
push eax
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009dae4
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov esi, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x74], eax
inc edx
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x1009db05
push 0
push dword [esp + 0x58]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009db38
mov edx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0xb
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 ecx, dword [edi + 0x74]
mov dword [esp + 0x58], ecx
cmp dword [edi + 0x78], ecx
jg 0x1009db61
push 0
push dword [esp + 0x1c]
mov edx, 0x46
mov ecx, edi
push 1
call fcn.100ec0c0
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x1009db94
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x46
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 [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x1009dbb5
push 0
lea eax, [edx + 1]
mov ecx, edi
push 0
push eax
mov edx, 0x42
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009dbed
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov esi, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x74], eax
inc edx
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x42
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 + 0xc]
mov edx, dword [esp + 0x8c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009dc0e
push edx
mov edx, edi
call fcn.100eb740
add esp, 4
jmp 0x1009dc17
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x44], ecx
lea edx, [ecx + 2]
cmp dword [edi + 0x78], ecx
jg 0x1009dc3e
push 0
push edx
push dword [esp + 0x50]
mov edx, 0x31
mov ecx, edi
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009dc71
mov esi, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x1009dc94
mov eax, dword [esp + 0x18]
mov edx, 0x42
push 0
inc eax
mov ecx, edi
push 0
push eax
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009dccc
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov esi, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x74], eax
inc edx
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x42
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 [esp + 0x1c]
mov ecx, esi
call fcn.1009ed40
mov esi, dword [esp + 0x44]
push 0x10
inc esi
push esi
push dword [esp + 0xc4]
push dword [esp + 0x18]
call fcn.100cd820
push dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0xd8]
push esi
push dword [ebp + 8]
mov esi, dword [esp + 0x28]
mov ecx, esi
push eax
lea eax, [esp + 0xf0]
push eax
push 0xffffffffffffffff
call fcn.100a5930
mov ecx, dword [edi + 0x74]
add esp, 0x28
cmp dword [edi + 0x78], ecx
jg 0x1009dd3e
mov eax, dword [esp + 0x18]
mov edx, 0x42
push 0
inc eax
mov ecx, edi
push 0
push eax
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009dd72
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
inc edx
mov dword [eax + ecx*4], 0x42
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 + 0xc]
mov edx, dword [esp + 0x64]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009dd90
push edx
mov edx, edi
call fcn.100eb740
add esp, 4
jmp 0x1009dd99
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.1009ee20
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x1009ddc5
push 0
push dword [esp + 0x4c]
mov edx, 0x46
mov ecx, edi
push 0
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009ddf8
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x46
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 ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x1009de19
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x42
mov ecx, edi
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009de4c
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x42
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 [esp + 0x10]
test ecx, ecx
je 0x1009e47b
mov eax, dword [esp + 0x1c]
mov edx, ecx
mov ecx, esi
mov eax, dword [eax + 0x28]
push dword [eax + 0x10]
push dword [eax + 0xc]
call fcn.100a6310
add esp, 8
jmp 0x1009e47b
mov edx, dword [esp + 8]
cmp dword [edx + 0x24], 0
jne 0x1009e254
mov eax, dword [edx + 0x1c]
cmp dword [eax], 1
jne 0x1009e254
mov eax, dword [edx + 0x20]
cmp dword [eax], 1
jne 0x1009e254
cmp dword [eax + 0x1c], 0
jne 0x1009e254
mov edx, dword [edx + 0x1c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x50], eax
mov edx, dword [edx + 8]
cmp byte [eax + 0x2b], 1
mov dword [esp + 0x10], edx
mov edx, dword [esp + 8]
je 0x1009e254
mov eax, dword [esp + 0x10]
cmp byte [eax], 0xa7
jne 0x1009e254
cmp dword [ecx + 0x2c], 0
je 0x1009e254
mov eax, dword [ecx + 0x28]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x1009e254
mov eax, dword [esp + 0x10]
test dword [eax + 4], 0x1000002
jne 0x1009e254
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], 0xffff8000
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1009df3c
mov eax, dword [esi]
xor ecx, ecx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], edi
je 0x1009df3c
nop dword [eax]
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edi
jne 0x1009df30
mov dword [esp + 0x48], ecx
mov eax, dword [esi + 0x28]
xor ecx, ecx
mov dword [esp + 0x68], eax
inc eax
mov dword [esi + 0x28], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x70], ecx
mov ecx, esi
mov eax, dword [eax + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x74]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x44], ecx
mov eax, dword [ecx + 0x54]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x7c], eax
mov eax, 1
shl eax, cl
test dword [esp + 0x7c], eax
jne 0x1009dfa8
mov eax, dword [esp + 0x7c]
bts eax, ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x7c]
mov dword [eax + 0x54], edi
cmp ecx, 1
jne 0x1009dfad
mov ecx, eax
call fcn.100bc470
jmp 0x1009dfd7
cmp ecx, 1
je 0x1009dfdb
mov eax, dword [esi]
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x1009dfdb
mov eax, dword [esp + 0x50]
mov ecx, esi
mov edx, dword [esp + 0x48]
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.100c41c0
add esp, 0xc
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x38]
test byte [eax + 0x1c], 0x80
je 0x1009e00a
mov ecx, dword [eax + 8]
mov dword [esp + 0x70], ecx
test ecx, ecx
je 0x1009e00c
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x1009e004
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x1009dff4
mov dword [esp + 0x70], ecx
jmp 0x1009e00c
xor ecx, ecx
mov eax, dword [edx + 0x20]
test byte [eax + 0x30], 1
jne 0x1009e055
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 8]
test eax, eax
je 0x1009e055
mov edi, dword [esp + 0x50]
test byte [eax + 0x38], 4
jne 0x1009e046
movzx edx, word [eax + 0x30]
cmp dx, word [edi + 0x28]
jge 0x1009e046
cmp dword [eax + 0x24], 0
jne 0x1009e046
test ecx, ecx
je 0x1009e044
cmp dx, word [ecx + 0x30]
jge 0x1009e046
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x1009e024
mov edi, dword [esp + 0x38]
mov dword [esp + 0x70], ecx
test ecx, ecx
je 0x1009e06d
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.100bba50
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x44], ecx
cmp dword [edi + 0x78], ecx
jg 0x1009e099
push dword [esp + 0x48]
mov edx, dword [esp + 0x18]
mov ecx, edi
push edx
push dword [esp + 0x70]
mov edx, 0x64
call fcn.100ec0c0
add esp, 0xc
mov ecx, eax
jmp 0x1009e0d0
mov edx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x44]
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
jne 0x1009e0eb
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
mov edx, dword [esp + 0x10]
test edx, edx
je 0x1009e137
mov ecx, dword [edi]
cmp byte [ecx + 0x53], 0
je 0x1009e10b
push edx
mov edx, 0xfffffff7
call fcn.100eb160
add esp, 4
jmp 0x1009e137
mov eax, dword [edi + 0x74]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x1009e130
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, edi
call fcn.100eaf10
add esp, 8
jmp 0x1009e137
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x74]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + 8]
cmp dword [edi + 0x78], ecx
jg 0x1009e161
push 0
push edx
push dword [esp + 0x70]
mov edx, 0x60
mov ecx, edi
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009e194
mov esi, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x1009e1b5
push 0
push 0
push dword [esp + 0x70]
mov edx, 0x78
mov ecx, edi
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009e1e8
mov edx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x78
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 + 0xc7], 2
jne 0x1009e440
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x50]
test ecx, ecx
je 0x1009e21c
test byte [edx + 0x1c], 0x80
je 0x1009e210
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x1009e21c
mov eax, dword [ecx]
mov dword [esp + 0x10], 1
jmp 0x1009e229
mov dword [esp + 0x10], 0
mov eax, 0x10127dbc
cmp dword [esp + 0x10], 0
mov ecx, 0x10127dbc
push eax
mov eax, str._USING_COVERING_INDEX
cmove eax, ecx
push eax
push dword [edx]
push str.SCAN__s_s_s
push 0
push esi
call fcn.100eba30
add esp, 0x18
jmp 0x1009e440
cmp dword [ecx + 0x24], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], 0
je 0x1009e319
mov eax, dword [ecx + 0x2c]
xor edx, edx
mov dword [esp + 0x10], eax
test eax, eax
jle 0x1009e2b4
mov ecx, dword [ecx + 0x28]
mov edi, eax
nop dword [eax + eax]
mov eax, dword [ecx]
test dword [eax + 4], 0x1000000
jne 0x1009e2a4
mov eax, dword [ecx + 4]
test byte [eax + 4], 0x20
jne 0x1009e2ac
inc edx
add ecx, 0x14
cmp edx, edi
jl 0x1009e290
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
cmp edx, eax
jne 0x1009e33e
inc dword [esi + 0x2c]
mov ecx, dword [edi + 0x74]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x14], edx
cmp dword [edi + 0x78], ecx
jg 0x1009e2e4
push 0
push edx
push 0
mov edx, 0x46
mov ecx, edi
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009e33e
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x46
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
jmp 0x1009e33e
cmp dword [ecx + 0x2c], 1
jne 0x1009e33e
mov eax, dword [ecx + 0x28]
cmp dword [eax + 0xc], 0
jl 0x1009e33e
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x60], eax
neg eax
sbb eax, eax
and eax, 0x500
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.1009ee20
mov al, byte [esp + 0x5f]
mov ecx, esi
mov edx, dword [esp + 0x3c]
movzx eax, al
or ax, word [esp + 0x58]
push 0
movzx eax, ax
push eax
push dword [esp + 0x68]
push dword [esp + 0xcc]
push dword [esp + 0x80]
call fcn.10084c50
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
je 0x1009e547
movzx eax, byte [eax + 0x2f]
mov ecx, esi
mov edx, dword [esp + 0x14]
push eax
push dword [esp + 0x20]
mov dword [esp + 0x4c], eax
call fcn.1009e8b0
mov edx, dword [esp + 0x4c]
add esp, 8
test edx, edx
je 0x1009e3c1
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov eax, dword [eax + 0x28]
push dword [eax + 0x10]
push dword [eax + 0xc]
call fcn.100a6310
add esp, 8
mov edx, dword [esp + 0x14]
test edx, edx
je 0x1009e41a
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x1009e3e7
push 0
push edx
push 1
mov edx, 0x46
mov ecx, edi
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009e41a
mov esi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x46
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 byte [esp + 0x5f], 0
je 0x1009e42c
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.1008bf70
mov ecx, dword [esp + 0x10]
call fcn.10084140
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.1009ed40
push 0x10
push dword [esp + 0x58]
mov dword [esp + 0xd8], 0
push dword [esp + 0xc4]
push esi
call fcn.100cd820
mov eax, dword [esp + 0x64]
mov ecx, esi
mov edx, dword [esp + 0x18]
push eax
push eax
push dword [ebp + 8]
push 0
push 0
push 0xffffffffffffffff
call fcn.100a5930
add esp, 0x28
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x54]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009e499
push edx
mov edx, edi
call fcn.100eb740
add esp, 4
jmp 0x1009e4a2
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
cmp byte [esp + 0x74], 3
mov esi, dword [esp + 0xc]
jne 0x1009e4c2
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push 0
push esi
call fcn.100eba30
add esp, 0x10
cmp dword [esp + 0xd0], 0
je 0x1009e511
cmp dword [esp + 0xd4], 0
mov ecx, str.ORDER_BY
mov eax, str.RIGHT_PART_OF_ORDER_BY
cmovle eax, ecx
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push esi
call fcn.100eba30
mov eax, dword [esp + 0x90]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [esp + 0x1c]
push dword [eax]
lea eax, [esp + 0xe8]
push eax
call fcn.100a4db0
add esp, 0x1c
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x10c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009e532
push edx
mov edx, edi
call fcn.100eb740
add esp, 4
jmp 0x1009e53b
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
xor eax, eax
cmp dword [esi + 0x24], eax
setg al
mov dword [esp + 0x44], eax
mov edi, dword [esp + 0x4c]
movzx eax, byte [edi + 0x53]
add dword [esi + 0x24], eax
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x1009e566
mov edx, eax
mov ecx, edi
call fcn.100d2ef0
mov ecx, dword [esi + 0xd4]
test ecx, ecx
jne 0x1009e582
xor eax, eax
mov dword [esi + 0xd4], eax
mov eax, dword [esp + 0x44]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 8]
test ecx, ecx
jns 0x1009e58d
mov ecx, dword [edi + 0x74]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
je 0x1009e5ad
mov eax, 0x101442cc
mov eax, dword [eax + 8]
mov dword [esi + 0xd4], eax
mov eax, dword [esp + 0x44]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 0x70]
lea eax, [ecx + edx*4]
mov eax, dword [eax + 8]
mov dword [esi + 0xd4], eax
mov eax, dword [esp + 0x44]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret