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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, 0x10103106
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], edi
call fcn.100d96c4
mov eax, dword [edi + 8]
mov ecx, dword [edi]
mov dword [esp + 0x58], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1009b5f6
cmp dword [edi + 0x74], eax
jne 0x1009b5e7
test byte [ecx + 0x4c], 8
jne 0x1009b5e7
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.1005e350
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x1009d4e7
cmp byte [ecx + 0x51], 0
jne 0x1009d4e7
cmp dword [edi + 0x24], 0
jne 0x1009d4e7
push 0
push 0
push 0
mov edx, 0x15
mov ecx, edi
call fcn.1007dfa0
add esp, 0xc
test eax, eax
jne 0x1009d4e7
push 0x30
push eax
lea eax, [esp + 0xac]
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 8
ja 0x1009b661
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x2c]
call fcn.10074960
and dword [esi + 8], 0xfffffffe
mov dword [esi + 0x30], 0
push 0
mov edx, esi
mov ecx, edi
call fcn.1009aee0
mov eax, dword [esp + 0x30]
add esp, 4
cmp dword [edi + 0x24], 0
jne 0x1009d45e
cmp byte [eax + 0x51], 0
jne 0x1009d45e
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x1009b698
mov edx, esi
mov ecx, edi
call fcn.10096b40
mov edx, esi
mov ecx, edi
call fcn.100afb30
test eax, eax
jne 0x1009d45a
mov eax, dword [esi + 8]
xorps xmm0, xmm0
mov edx, dword [esi + 0x20]
xor ecx, ecx
shr eax, 3
and eax, 1
movaps xmmword [esp + 0xf0], xmm0
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0xf0], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x28], edx
movaps xmmword [esp + 0x100], xmm0
movq qword [esp + 0x110], xmm0
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x1009b825
mov dword [esp + 0x14], 0x2000
cmp ecx, dword [edx]
jge 0x1009b81d
lea eax, [ecx + ecx*8]
test byte [edx + eax*8 + 0x2c], 8
lea eax, [edx + eax*8]
mov edi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov dword [esp + 0x64], edx
je 0x1009b763
mov edx, dword [eax + 0x34]
mov ecx, dword [esi + 0x24]
call fcn.10079520
test eax, eax
je 0x1009b75b
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
test word [eax + 0x4c], cx
jne 0x1009b75b
mov edx, dword [esp + 0x18]
and byte [edx + 0x2c], 0xd7
mov edx, dword [edx + 0x34]
mov ecx, dword [esi + 0x24]
call fcn.10094c10
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x64]
test edx, edx
je 0x1009b809
mov eax, dword [edx]
mov edi, dword [esp + 0x44]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
movsx eax, word [edi + 0x2a]
mov edi, dword [esp + 0x48]
cmp eax, dword [esp + 0x18]
jne 0x1009b858
test byte [edx + 8], 8
jne 0x1009b809
cmp dword [edx + 0x30], 0
je 0x1009b7b1
test ecx, ecx
jne 0x1009b7b1
test dword [esi + 8], 0x40000
je 0x1009b7b1
mov edx, dword [esp + 0x28]
cmp dword [edx], 1
je 0x1009b80d
test byte [edx + 0x74], 0xa
jne 0x1009b80d
push dword [esp + 0x68]
mov edx, esi
push ecx
mov ecx, edi
call fcn.100995b0
add esp, 8
test eax, eax
je 0x1009b7d8
cmp dword [edi + 0x24], 0
jne 0x1009d45a
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x28], edx
cmp byte [eax + 0x51], 0
jne 0x1009d45e
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x24]
cmp byte [eax], 8
jbe 0x1009b80d
mov eax, dword [esi + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0xf0], eax
jmp 0x1009b80d
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x34]
inc ecx
mov dword [esp + 0x24], ecx
test eax, eax
je 0x1009b700
test eax, eax
je 0x1009b8bd
push dword [ebp + 8]
mov edx, esi
mov ecx, edi
call fcn.10097b10
add esp, 4
mov dword [esp + 0x14], eax
cmp dword [esi + 0x38], 0
jne 0x1009d4ec
mov ecx, dword [edi + 0xd4]
test ecx, ecx
jne 0x1009b876
mov dword [edi + 0xd4], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
push dword [ecx]
push eax
push str.expected__d_columns_for__s_but_got__d
push edi
call fcn.100420b0
add esp, 0x14
jmp 0x1009d45a
mov edx, dword [edi + 8]
test ecx, ecx
jns 0x1009b881
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x1009b8a1
mov eax, dword [esp + 0x14]
mov ecx, 0x10101774
mov ecx, dword [ecx + 8]
mov dword [edi + 0xd4], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
mov dword [edi + 0xd4], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx]
cmp eax, 1
jle 0x1009b9a6
mov ecx, dword [esp + 0x2c]
cmp word [ecx + 0x4c], 0
jl 0x1009b9a6
mov dword [esp + 0x8c], edi
nop
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
call fcn.10099b80
cmp dword [esp + 0x90], 0
je 0x1009b992
mov edx, dword [esi + 0x24]
lea eax, [esp + 0x8c]
mov dword [esp + 0xe8], 0
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd8], 0x10099cb0
mov dword [esp + 0xdc], 0x1003e2b0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xec], eax
test edx, edx
je 0x1009b979
lea ecx, [esp + 0xd4]
call fcn.1006fe90
mov edx, dword [esp + 0x98]
test edx, edx
je 0x1009b992
mov ecx, dword [esp + 0x8c]
mov ecx, dword [ecx]
call fcn.1003eb40
cmp dword [esp + 0x94], 0
jne 0x1009b8e0
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
xor ecx, ecx
mov dword [esp + 0x10], ecx
test eax, eax
jle 0x1009bd52
lea eax, [ecx*8 + 1]
add eax, ecx
lea esi, [edx + eax*8]
mov eax, dword [esi + 0x38]
or eax, dword [esi + 0x3c]
jne 0x1009b9e8
push dword [esi + 4]
lea edx, [eax + 0x14]
mov ecx, edi
push 0x100eac98
push dword [esi + 8]
call fcn.1007dfa0
mov edx, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], eax
test eax, eax
je 0x1009bd41
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.10072f70
mov eax, dword [esp + 0x18]
mov ecx, 0x1000
add dword [edi + 0xd0], eax
mov eax, dword [esp + 0x2c]
test word [eax + 0x4c], cx
jne 0x1009ba48
movzx eax, byte [esi + 0x24]
mov ecx, edi
mov edx, dword [esp + 0x20]
shr eax, 5
and eax, 1
push eax
mov eax, dword [esp + 0x44]
push dword [esi + 0x2c]
push dword [eax + 0x24]
call fcn.10099d80
add esp, 0xc
cmp dword [esp + 0x10], 0
mov eax, dword [edi + 0xf0]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 8]
mov dword [edi + 0xf0], eax
jne 0x1009bb2d
mov eax, dword [esp + 0x28]
cmp dword [eax], 1
je 0x1009ba79
test byte [eax + 0x74], 0xa
je 0x1009bb2d
mov eax, dword [esp + 0x1c]
mov edx, 0xd
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x14], eax
lea edi, [eax + 1]
mov eax, dword [ecx + 0x2c]
inc eax
push edi
mov dword [ecx + 0x2c], eax
mov ecx, dword [esp + 0x20]
push 0
push eax
mov dword [esi + 0x1c], eax
call fcn.1005e520
add esp, 0xc
mov dword [esi + 0x18], edi
mov edx, 0xd
lea ecx, [esp + 0x8c]
push dword [esi + 0x1c]
call fcn.100947b0
mov eax, dword [esp + 0x24]
add esp, 4
mov edi, dword [esp + 0x48]
push dword [eax + 0x14]
push str.CO_ROUTINE__u
push 1
push edi
call fcn.1005e8e0
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x9c]
push eax
mov ecx, edi
call fcn.1009b590
mov eax, dword [esp + 0x34]
add esp, 0x14
mov ecx, dword [esi + 0x10]
mov ax, word [eax + 6]
mov word [ecx + 0x2c], ax
mov eax, dword [esp + 0x94]
mov edx, dword [esi + 0x1c]
mov ecx, dword [esp + 0x1c]
or dword [esi + 0x28], 0x10
mov dword [esi + 0x20], eax
call fcn.1005ea30
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
call fcn.1005ee10
jmp 0x1009bcf3
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x18], eax
mov edx, 0x46
mov eax, dword [edi + 0x2c]
inc eax
push eax
mov dword [edi + 0x2c], eax
push 0
mov dword [esi + 0x1c], eax
call fcn.1005e680
mov dword [esp + 0x4c], eax
add esp, 8
inc eax
test byte [esi + 0x28], 8
mov dword [esi + 0x18], eax
jne 0x1009bb71
mov ecx, dword [esp + 0x1c]
mov edx, 0x11
call fcn.1005e5a0
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x28]
add ecx, 8
mov dword [esp + 0x24], ecx
cmp ecx, esi
jae 0x1009bc2d
cmp dword [ecx + 0x14], 0
je 0x1009bc1e
test byte [ecx + 0x28], 0x10
jne 0x1009bc1e
mov eax, dword [ecx + 8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1009bc1e
mov eax, dword [ecx + 0x10]
mov edx, dword [esi + 0x10]
mov eax, dword [eax + 0x48]
cmp eax, dword [edx + 0x48]
jne 0x1009bc1e
mov edx, dword [esi + 8]
test edx, edx
je 0x1009bc1e
mov ecx, dword [esp + 0x14]
call fcn.10042210
mov ecx, dword [esp + 0x24]
test eax, eax
jne 0x1009bc1e
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x14], edx
cmp dword [eax + 0x48], 0
jne 0x1009bbe4
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x14]
cmp eax, dword [edx + 0x14]
jne 0x1009bc1e
push 0xffffffffffffffff
push dword [edx + 0x24]
mov edx, dword [esi + 0x14]
xor ecx, ecx
mov edx, dword [edx + 0x24]
call fcn.10078da0
add esp, 8
test eax, eax
jne 0x1009bc1a
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, dword [esi + 0x14]
push 0xffffffffffffffff
push dword [eax + 0x2c]
mov edx, dword [edx + 0x2c]
call fcn.10078da0
add esp, 8
test eax, eax
je 0x1009bc65
mov ecx, dword [esp + 0x24]
add ecx, 0x48
mov dword [esp + 0x24], ecx
cmp ecx, esi
jb 0x1009bb84
xor eax, eax
mov dword [esp + 0x24], eax
test eax, eax
je 0x1009bc6b
push dword [eax + 0x2c]
mov ecx, dword [esp + 0x20]
mov edx, 0x6f
push dword [esi + 0x2c]
call fcn.1005e680
mov eax, dword [esp + 0x2c]
add esp, 8
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0x14]
movzx eax, word [eax + 6]
mov word [ecx + 6], ax
mov ecx, eax
jmp 0x1009bcb4
mov eax, dword [esp + 0x24]
jmp 0x1009bc33
push dword [esi + 0x2c]
mov edx, 0xc
lea ecx, [esp + 0x90]
call fcn.100947b0
mov eax, dword [esp + 0x24]
add esp, 4
push dword [eax + 0x14]
push str.MATERIALIZE__u
push 1
push edi
call fcn.1005e8e0
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x9c]
push eax
mov ecx, edi
call fcn.1009b590
mov eax, dword [esp + 0x34]
add esp, 0x14
movzx ecx, word [eax + 6]
mov eax, dword [esi + 0x10]
mov word [eax + 0x2c], cx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1009bcce
mov ecx, dword [esp + 0x1c]
mov edx, eax
call fcn.1005ee10
push dword [esi + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, 0x42
call fcn.1005e610
mov edx, dword [esp + 0x48]
add esp, 4
mov ecx, dword [esp + 0x1c]
push eax
call fcn.1005ed60
add esp, 4
mov eax, dword [esp + 0x2c]
mov byte [edi + 0x13], 0
mov dword [edi + 0x1c], 0
cmp byte [eax + 0x51], 0
jne 0x1009d45e
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.10072f70
mov eax, dword [esp + 0x18]
sub dword [edi + 0xd0], eax
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov dword [edi + 0xf0], eax
jmp 0x1009bd45
mov esi, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [edx]
jl 0x1009b9b4
mov eax, dword [esi + 0x24]
mov ecx, dword [esi]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x64], eax
mov al, byte [esi + 8]
and al, 1
mov dword [esp + 0x6c], ecx
mov byte [esp + 0x53], al
mov byte [esp + 0x8c], al
mov eax, dword [esi + 8]
and al, 9
cmp al, 1
jne 0x1009bdbc
mov edx, ecx
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
call fcn.10079120
add esp, 4
test eax, eax
jne 0x1009bdb8
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x2c]
and dword [esi + 8], 0xfffffffe
push eax
call fcn.10073d70
mov ecx, eax
add esp, 4
mov dword [esp + 0x20], ecx
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x1009be14
push dword [ecx]
mov edx, esi
mov ecx, edi
push 0
call fcn.10096220
mov edx, dword [edi + 0x28]
mov ecx, eax
push 0xfffffffffffffff7
push ecx
push 0
lea eax, [edx + 1]
mov dword [esp + 0x10c], edx
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esi]
mov esi, dword [esp + 0x30]
inc ecx
mov eax, dword [eax]
add eax, ecx
mov ecx, esi
push eax
push edx
mov edx, 0x71
call fcn.1005e830
add esp, 0x1c
mov dword [esp + 0x104], eax
jmp 0x1009be23
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x104], 0xffffffff
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0xc
jne 0x1009be45
mov eax, dword [esp + 0x6c]
mov edx, 0x71
push 0
push dword [eax]
push dword [ecx + 4]
mov ecx, esi
call fcn.1005e520
add esp, 0xc
mov eax, dword [esp + 0x40]
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x12c], ecx
test dword [eax + 8], 0x4000
jne 0x1009be68
mov edx, 0x140
mov word [eax + 6], dx
push ecx
mov edx, eax
mov ecx, edi
call fcn.10097400
mov edx, dword [esp + 0x44]
add esp, 4
cmp dword [edx + 0xc], 0
jne 0x1009bea4
mov eax, dword [esp + 0x104]
test eax, eax
js 0x1009bea4
push 0x72
mov edx, eax
mov ecx, esi
call fcn.1005ed20
mov edx, dword [esp + 0x44]
add esp, 4
or byte [esp + 0x110], 1
test byte [edx + 8], 1
je 0x1009bf04
mov esi, dword [edi + 0x28]
push 0xfffffffffffffff7
push ecx
push 0
lea eax, [esi + 1]
mov dword [esp + 0x9c], esi
mov dword [edi + 0x28], eax
mov ecx, edi
mov edx, dword [edx]
push 0
call fcn.10096220
add esp, 0xc
mov edx, 0x71
push eax
push 0
push 0
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.1005e830
add esp, 0x14
mov dword [esp + 0x94], eax
mov edx, 8
mov ecx, esi
call fcn.1005ede0
mov edx, dword [esp + 0x40]
mov eax, 3
jmp 0x1009bf06
xor al, al
cmp dword [esp + 0x68], 0
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x8d], al
mov dword [esp + 0x78], eax
jne 0x1009c142
test ecx, ecx
jne 0x1009c142
cmp byte [esp + 0x53], cl
mov eax, 0x100
mov dword [esp + 0x14], 0x4000
cmovne ecx, eax
mov ax, word [edx + 8]
and ax, word [esp + 0x14]
or cx, ax
movzx eax, cx
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x44]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1009bf67
mov edx, eax
mov ecx, edi
call fcn.100b03f0
mov edx, dword [esp + 0x40]
movsx eax, word [edx + 6]
mov ecx, edi
push eax
push dword [esp + 0x18]
push dword [edx]
mov edx, dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [esp + 0x64]
call fcn.100ad570
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x1009d45a
mov edx, dword [esp + 0x40]
movzx eax, word [ecx + 0x48]
cmp ax, word [edx + 6]
jge 0x1009bfa8
mov word [edx + 6], ax
cmp byte [esp + 0x53], 0
je 0x1009bfd8
mov eax, dword [esp + 0x78]
mov cl, byte [ecx + 0x33]
movzx eax, al
test cl, cl
mov dword [esp + 0x78], eax
movzx eax, cl
mov ecx, dword [esp + 0x78]
cmovne ecx, eax
mov dword [esp + 0x78], ecx
mov byte [esp + 0x8d], cl
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x30], 0
je 0x1009c02a
cmp byte [ecx + 0x34], 0
movsx eax, byte [ecx + 0x2f]
mov dword [esp + 0xf4], eax
jne 0x1009bff5
mov eax, dword [ecx + 0x20]
jmp 0x1009c005
movzx eax, byte [ecx + 0x2e]
lea eax, [eax + eax*4]
add eax, eax
mov eax, dword [ecx + eax*8 + 0x2b0]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0xf4]
cmp eax, dword [ecx]
mov eax, 0
cmove ecx, eax
mov dword [esp + 0xf0], ecx
jmp 0x1009c02e
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x104]
test eax, eax
js 0x1009c04a
test ecx, ecx
jne 0x1009c04a
mov edx, eax
mov ecx, esi
call fcn.1005f050
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x18], 0
je 0x1009c10b
mov eax, dword [edi + 0x38]
inc dword [edi + 0x2c]
mov ecx, dword [esp + 0x48]
lea esi, [eax - 1]
sub eax, 2
mov dword [esp + 0x14], eax
dec eax
mov dword [edi + 0x38], eax
mov edi, dword [edi + 0x2c]
push esi
push edi
push dword [esp + 0x18]
mov dword [esp + 0x24], eax
call fcn.100b2190
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, 0xb
push dword [esp + 0x18]
push 0
call fcn.1005e680
mov ecx, dword [esp + 0x24]
mov edx, esi
call fcn.1005eaf0
push dword [esp + 0x20]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x98]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
push esi
push dword [ebp + 8]
mov dword [esp + 0x120], 0
push eax
lea eax, [esp + 0x108]
push eax
push 0xffffffffffffffff
call fcn.100955c0
mov ecx, dword [esp + 0x3c]
mov edx, esi
call fcn.1005eaf0
mov ecx, dword [esp + 0x3c]
mov edx, 0x42
push edi
call fcn.1005e610
add esp, 0x24
lea edx, [esi - 1]
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.1005eaf0
mov edi, dword [esp + 0x48]
jmp 0x1009d3a3
mov eax, dword [esp + 0x10]
mov ecx, edi
push dword [eax + 0x24]
push dword [eax + 0x20]
lea eax, [esp + 0x94]
push dword [ebp + 8]
push eax
lea eax, [esp + 0x100]
push eax
push 0xffffffffffffffff
call fcn.100955c0
mov ecx, dword [esp + 0x28]
add esp, 0x18
call fcn.100ae1d0
jmp 0x1009d3a3
mov dword [esp + 0x4c], 0
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x1009c1a6
mov eax, dword [edx]
mov eax, dword [eax]
test eax, eax
jle 0x1009c179
mov ecx, dword [edx]
add ecx, 0x1a
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x1009c163
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
test eax, eax
jle 0x1009c198
add ecx, 0x1a
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x1009c182
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp word [edx + 6], 0x42
jle 0x1009c1ac
mov eax, 0x42
jmp 0x1009c1a8
xor eax, eax
mov word [edx + 6], ax
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
call fcn.10079120
add esp, 4
mov dword [esp + 0x14c], 0
test eax, eax
mov dword [esp + 0x130], edi
mov ecx, 1
mov eax, 0
cmove eax, ecx
mov dword [esp + 0x18], ecx
dec dword [edi + 0x38]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x70], eax
lea eax, [esp + 0xa4]
mov dword [esp + 0x138], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x134], ecx
inc eax
mov ecx, dword [esp + 0x20]
movlpd qword [esp + 0x13c], xmm0
movlpd qword [esp + 0x144], xmm0
mov dword [esp + 0xb4], eax
test ecx, ecx
je 0x1009c239
mov eax, dword [ecx]
mov dword [esp + 0xb0], eax
jmp 0x1009c244
mov dword [esp + 0xb0], 0
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xbc], ecx
lea ecx, [esp + 0x130]
call fcn.10079940
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x130]
call fcn.10079940
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1009c325
cmp dword [esp + 0x20], 0
je 0x1009c2d2
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movlpd qword [esp + 0xdc], xmm0
movlpd qword [esp + 0xe4], xmm0
mov dword [esp + 0xd4], edi
mov edx, dword [eax + 0x2c]
mov dword [esp + 0xd8], 0x1009b4b0
mov dword [esp + 0xec], eax
test edx, edx
je 0x1009c2c7
lea ecx, [esp + 0xd4]
call fcn.1006fe90
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x130]
mov dword [esp + 0xd8], 0x10079660
mov dword [esp + 0xec], ecx
mov edx, eax
lea ecx, [esp + 0xd4]
mov dword [esp + 0xdc], 0x10079900
mov dword [esp + 0xe0], 0x10079920
mov dword [esp + 0xe4], 0
mov dword [esp + 0xd4], 0
call fcn.1006fe90
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x28], 0
jne 0x1009c40e
cmp dword [eax + 0x2c], 0
jne 0x1009c40e
cmp ecx, 1
jne 0x1009c40e
mov eax, dword [esp + 0xcc]
mov edx, dword [eax]
mov eax, dword [edx + 0x14]
mov dword [esp + 0x68], eax
test eax, eax
je 0x1009c403
cmp dword [eax], ecx
jne 0x1009c403
mov eax, dword [edx + 8]
mov edx, 0x100f44b8
mov ecx, eax
mov dword [esp + 0x44], eax
call fcn.10042210
test eax, eax
jne 0x1009c3a0
mov byte [esp + 0x5f], al
mov dword [esp + 0x44], 1
jmp 0x1009c3bf
mov ecx, dword [esp + 0x44]
mov edx, 0x100f44bc
call fcn.10042210
test eax, eax
jne 0x1009c3fc
mov byte [esp + 0x5f], 1
mov dword [esp + 0x44], 2
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
push 0
call fcn.10073d70
mov ecx, eax
add esp, 4
mov dword [esp + 0x88], ecx
test ecx, ecx
je 0x1009c3e5
mov al, byte [esp + 0x5f]
mov byte [ecx + 0x10], al
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xd0]
movzx eax, ax
movzx eax, ax
mov dword [esp + 0x44], eax
jmp 0x1009c416
mov ecx, dword [esp + 0xd0]
xor eax, eax
movzx eax, ax
mov dword [esp + 0x44], eax
jmp 0x1009c416
mov dword [esp + 0x44], 0
test ecx, ecx
jle 0x1009c470
mov eax, dword [esp + 0x148]
xor esi, esi
xor edi, edi
or eax, 8
lea ecx, [esp + 0x130]
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0xcc]
mov edx, dword [esi + eax]
mov edx, dword [edx + 0x14]
call fcn.10079940
mov eax, dword [esp + 0x148]
lea esi, [esi + 0x10]
mov ecx, dword [esp + 0xd0]
and eax, 0xfffffff7
inc edi
mov dword [esp + 0x148], eax
cmp edi, ecx
jl 0x1009c425
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x51], 0
jne 0x1009d446
mov edx, dword [esp + 0x20]
test edx, edx
je 0x1009cf3c
mov eax, dword [edi + 0x28]
mov ecx, edi
push dword [esp + 0xc4]
mov dword [esp + 0xac], eax
inc eax
push 0
mov dword [edi + 0x28], eax
call fcn.10096220
push 0
push dword [esp + 0xbc]
mov edx, 0x72
mov dword [esp + 0x94], eax
push dword [esp + 0xb8]
mov ecx, esi
call fcn.1005e520
add esp, 0x14
mov dword [esp + 0x80], eax
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff7
push dword [esp + 0x88]
call fcn.1005f170
mov eax, dword [edi + 0x2c]
mov edx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x68], eax
inc eax
mov dword [esp + 0x38], eax
push 0
push dword [esp + 0x3c]
lea ecx, [eax + 2]
mov eax, dword [edi + 0x38]
dec eax
mov dword [edi + 0x2c], ecx
mov dword [esp + 0x54], eax
dec eax
mov dword [edi + 0x38], eax
mov dword [esp + 0x34], ecx
add ecx, dword [edx]
mov dword [esp + 0x28], eax
mov dword [edi + 0x2c], ecx
push 0
lea eax, [ecx + 1]
mov dword [esp + 0x90], eax
mov eax, dword [edx]
mov edx, 0x46
add eax, ecx
mov ecx, esi
mov dword [edi + 0x2c], eax
call fcn.1005e520
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov edx, dword [esp + 0x24]
add edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009c575
mov eax, dword [esp + 0x24]
mov ecx, esi
push edx
inc eax
mov edx, 0x49
push eax
push 0
call fcn.1005e4e0
add esp, 0xc
jmp 0x1009c5ad
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
inc edi
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x48]
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
push 0
push dword [esp + 0x1c]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x2c]
call fcn.1005e520
mov edx, dword [esp + 0x34]
add esp, 0xc
cmp dword [esp + 0x14], 0
mov ecx, 0x240
mov eax, 0x40
cmovne eax, ecx
mov ecx, edi
push 0
movzx eax, ax
push eax
push 0
push dword [esp + 0x2c]
push dword [esp + 0x64]
call fcn.100ad570
mov edx, eax
add esp, 0x14
mov dword [esp + 0x68], edx
test edx, edx
je 0x1009d442
mov ecx, dword [esp + 0x20]
movsx eax, byte [edx + 0x2f]
cmp eax, dword [ecx]
jne 0x1009c61b
xor eax, eax
mov dword [esp + 0x54], eax
jmp 0x1009c925
cmp byte [esp + 0x53], 0
je 0x1009c631
mov eax, dword [esp + 0x40]
test byte [eax + 8], 1
mov eax, str.DISTINCT
je 0x1009c636
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push edi
call fcn.1005e8e0
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x54], 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x10], eax
test eax, eax
jle 0x1009c6a8
mov edi, dword [esp + 0xc0]
mov esi, edx
add edi, 0xc
nop
cmp dword [edi], esi
lea eax, [edx + 1]
lea edi, [edi + 0x18]
cmovl eax, edx
mov edx, eax
lea eax, [esi + 1]
cmovl eax, esi
sub dword [esp + 0x10], 1
mov esi, eax
jne 0x1009c680
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x58], edx
cmp edx, 1
jne 0x1009c6d5
mov al, byte [edi + 0x13]
test al, al
jne 0x1009c6c0
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x28], eax
jmp 0x1009c700
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x94]
mov dword [esp + 0x28], eax
jmp 0x1009c700
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x28], ecx
cmp edx, dword [edi + 0x1c]
jg 0x1009c6f1
lea eax, [ecx + edx]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x1c]
sub eax, edx
mov dword [edi + 0x1c], eax
jmp 0x1009c700
mov eax, dword [edi + 0x2c]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x28], ecx
mov dword [edi + 0x2c], eax
mov edx, dword [esp + 0x20]
mov ecx, edi
push 0
push 0
push dword [esp + 0x30]
call fcn.10078240
add esp, 0xc
mov dword [esp + 0x10], 0
cmp dword [esp + 0xc4], 0
jle 0x1009c77b
mov edi, dword [esp + 0x74]
xor ecx, ecx
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0xc0]
add edx, ecx
cmp dword [edx + 0xc], edi
jl 0x1009c75e
mov eax, dword [esp + 0x28]
mov ecx, esi
add eax, edi
push eax
push dword [edx + 8]
push dword [edx + 4]
mov edx, dword [edx]
call fcn.10076df0
mov ecx, dword [esp + 0x58]
add esp, 0xc
inc edi
mov eax, dword [esp + 0x10]
add ecx, 0x18
inc eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0xc4]
jl 0x1009c732
mov edi, dword [esp + 0x48]
mov al, byte [edi + 0x13]
test al, al
jne 0x1009c78a
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x1009c799
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x94]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x70], ecx
jg 0x1009c7c4
mov edx, dword [esp + 0x58]
mov ecx, esi
push eax
push edx
push dword [esp + 0x30]
mov edx, 0x5c
call fcn.1005e4e0
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x1009c7f7
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0
push edx
push dword [esp + 0xb0]
mov edx, 0x83
mov ecx, esi
call fcn.1005e520
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test ecx, ecx
je 0x1009c82c
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x1009c82c
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x58]
cmp eax, 1
jne 0x1009c853
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1009c862
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x1009c862
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
jmp 0x1009c862
cmp eax, dword [edi + 0x1c]
jle 0x1009c862
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x68]
call fcn.100ae1d0
mov edx, dword [edi + 0x28]
mov dword [esp + 0x4c], edx
mov dword [esp + 0xac], edx
lea eax, [edx + 1]
mov dword [edi + 0x28], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x1009c88e
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x1009c89d
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x94]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x70], ecx
jg 0x1009c8c4
mov edx, dword [esp + 0x58]
mov ecx, esi
push edx
push eax
push dword [esp + 0x54]
mov edx, 0x74
call fcn.1005e4e0
add esp, 0xc
jmp 0x1009c8f7
mov edi, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x70]
mov ecx, esi
push 0
push edx
push dword [esp + 0xb0]
mov edx, 0x22
call fcn.1005e520
mov edx, dword [esp + 0x74]
add esp, 0xc
mov byte [esp + 0xa5], 1
mov eax, 1
cmp dword [esp + 0x14], 0
je 0x1009c982
mov ecx, dword [esp + 0x2c]
test byte [ecx + 0x4c], 4
jne 0x1009c982
test eax, eax
jne 0x1009c93f
cmp byte [edx + 0x30], al
je 0x1009c982
mov ecx, dword [esi]
mov dword [esp + 0xf0], 0
cmp byte [ecx + 0x51], 0
jne 0x1009c982
mov eax, dword [esp + 0x104]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.1005eee0
mov word [esi], 0xaa
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x54], 0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x14], ecx
je 0x1009c9e9
mov edx, dword [esp + 0xa8]
cmp dword [esi + 0x70], ecx
jg 0x1009c9b6
push dword [esp + 0x4c]
mov ecx, esi
push dword [esp + 0x14]
push edx
mov edx, 0x7e
call fcn.1005e4e0
add esp, 0xc
jmp 0x1009c9e9
mov edi, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x10], eax
mov ecx, dword [edx]
test ecx, ecx
jle 0x1009caa0
lea ecx, [edx + 4]
mov dword [esp + 0x58], ecx
jmp 0x1009ca0a
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x7c]
add edx, eax
cmp dword [esp + 0x54], 0
mov dword [esp + 0x74], edx
je 0x1009ca6f
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009ca3a
push edx
push eax
push dword [esp + 0x54]
mov edx, 0x5a
mov ecx, esi
call fcn.1005e4e0
add esp, 0xc
jmp 0x1009ca84
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x74]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1009ca84
mov byte [esp + 0xa4], 1
push edx
mov edx, dword [ecx]
mov ecx, edi
call fcn.10078160
add esp, 4
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
add dword [esp + 0x58], 0x18
inc eax
mov dword [esp + 0x10], eax
mov ecx, dword [edx]
cmp eax, ecx
jl 0x1009ca06
mov eax, dword [esp + 0x84]
test eax, eax
je 0x1009caaf
inc dword [eax]
mov ecx, dword [edx]
mov eax, dword [esp + 0x24]
mov edx, 0x57
push ecx
push dword [esp + 0x80]
inc eax
mov ecx, esi
push eax
call fcn.1005e520
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff7
push dword [esp + 0x88]
call fcn.1005f170
mov eax, dword [esi + 0x6c]
add esp, 8
mov dword [esp + 0x74], eax
lea edx, [eax + 1]
cmp dword [esi + 0x70], eax
jg 0x1009cb05
push edx
push 0
push edx
mov edx, 0x10
mov ecx, esi
call fcn.1005e4e0
add esp, 0xc
jmp 0x1009cb31
mov edi, dword [esp + 0x48]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [esi + 0x6c], edx
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 eax, dword [esp + 0x20]
mov edx, 0x4d
mov ecx, dword [edi + 8]
push dword [eax]
mov eax, dword [esp + 0x28]
inc eax
push eax
push dword [esp + 0x84]
call fcn.1005e520
mov eax, dword [esp + 0x3c]
add esp, 0xc
inc eax
mov edx, 0xc
mov ecx, esi
push 0
push dword [esp + 0x48]
push eax
call fcn.1005e520
add esp, 0xc
mov edx, 0x2f
mov ecx, esi
push 0
push dword [esp + 0x74]
push dword [esp + 0x38]
call fcn.1005e520
add esp, 0xc
mov edx, 0xc
mov ecx, esi
push 0
push dword [esp + 0x1c]
push dword [esp + 0x2c]
call fcn.1005e520
mov eax, dword [esi]
add esp, 0xc
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1009cbb3
mov eax, 0x10101774
jmp 0x1009cbc8
mov ecx, dword [esp + 0x74]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, edi
mov edx, dword [esp + 0x60]
lea eax, [esp + 0xa4]
push eax
call fcn.1009b100
add esp, 4
mov edx, 0x46
mov ecx, esi
push 0
push dword [esp + 0x64]
push 1
call fcn.1005e520
add esp, 0xc
cmp dword [esp + 0x54], 0
je 0x1009cc1d
push 0
push dword [esp + 0x18]
mov edx, 3
mov ecx, esi
push dword [esp + 0xb0]
call fcn.1005e520
add esp, 0xc
jmp 0x1009cc5e
mov ecx, dword [esp + 0x68]
call fcn.100ae1d0
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
jne 0x1009cc5e
mov eax, dword [esp + 0x80]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.1005eee0
mov word [esi], 0xaa
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov edx, 0xc
push 0
push dword [esp + 0x48]
inc eax
mov ecx, esi
push eax
call fcn.1005e520
mov ecx, dword [esi + 0x6c]
add esp, 0xc
cmp dword [esi + 0x70], ecx
jg 0x1009cc9a
push 0
push dword [esp + 0x74]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.1005e4e0
add esp, 0xc
jmp 0x1009cccd
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
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 eax, dword [esi + 0x6c]
mov edx, 0x46
push 0
push dword [esp + 0x34]
mov ecx, esi
mov dword [esp + 0x7c], eax
push 1
call fcn.1005e520
mov ecx, dword [esi + 0x6c]
add esp, 0xc
cmp dword [esi + 0x70], ecx
jg 0x1009cd0e
mov eax, dword [esp + 0x30]
mov edx, 0x42
push 0
inc eax
mov ecx, esi
push 0
push eax
call fcn.1005e4e0
add esp, 0xc
jmp 0x1009cd46
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x48]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
inc edx
mov eax, dword [esi + 0x68]
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 [esi + 0xc]
mov edx, dword [esp + 0x44]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009cd64
push edx
mov edx, esi
call fcn.1005ea70
add esp, 4
jmp 0x1009cd6d
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 0x6c]
mov edx, 0x2f
mov dword [esp + 0x80], eax
mov ecx, esi
push 0
add eax, 2
push eax
push dword [esp + 0x68]
call fcn.1005e520
mov ecx, dword [esi + 0x6c]
add esp, 0xc
cmp dword [esi + 0x70], ecx
jg 0x1009cdb3
mov eax, dword [esp + 0x30]
mov edx, 0x42
push 0
inc eax
mov ecx, esi
push 0
push eax
call fcn.1005e4e0
add esp, 0xc
jmp 0x1009cde7
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
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
lea edx, [esp + 0xa4]
mov ecx, edi
call fcn.1009b080
mov esi, dword [esp + 0x80]
push 0x10
inc esi
push esi
push dword [esp + 0x6c]
push edi
call fcn.10078950
push dword [esp + 0x84]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0xa0]
push esi
push dword [ebp + 8]
mov ecx, edi
push eax
lea eax, [esp + 0x110]
push eax
push 0xffffffffffffffff
call fcn.100955c0
mov esi, dword [esp + 0x44]
add esp, 0x28
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009ce5c
mov eax, dword [esp + 0x30]
mov edx, 0x42
push 0
inc eax
mov ecx, esi
push 0
push eax
call fcn.1005e4e0
add esp, 0xc
jmp 0x1009ce94
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x48]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
inc edx
mov eax, dword [esi + 0x68]
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 [esi + 0xc]
mov edx, dword [esp + 0x18]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009ceb2
push edx
mov edx, esi
call fcn.1005ea70
add esp, 4
jmp 0x1009cebb
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
lea edx, [esp + 0xa4]
mov ecx, edi
call fcn.1009afb0
push 0
push dword [esp + 0x64]
mov edx, 0x46
mov ecx, esi
push 0
call fcn.1005e520
mov ecx, dword [esi + 0x6c]
add esp, 0xc
cmp dword [esi + 0x70], ecx
jg 0x1009cf04
push 0
push 0
push dword [esp + 0x2c]
mov edx, 0x42
mov ecx, esi
call fcn.1005e4e0
add esp, 0xc
jmp 0x1009d37c
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
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
jmp 0x1009d37c
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x24], 0
jne 0x1009d24d
mov edx, dword [eax]
mov dword [esp + 0x14], edx
cmp dword [edx], 1
jne 0x1009d24d
mov edx, dword [eax + 0x20]
cmp dword [edx], 1
jne 0x1009d24d
cmp dword [edx + 0x1c], 0
jne 0x1009d24d
mov edx, dword [edx + 0x18]
mov dword [esp + 0x10], edx
cmp dword [edx + 0x38], 0
jne 0x1009d24d
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
cmp byte [eax], 0xa3
jne 0x1009d24d
test ecx, ecx
je 0x1009d24d
mov eax, dword [esp + 0xcc]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x1009d24d
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x1c]
test byte [eax + 4], 2
jne 0x1009d24d
mov ecx, dword [edx + 0x48]
mov edx, 0xfff0bdc0
mov dword [esp + 0x60], edx
test ecx, ecx
je 0x1009cff2
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x60], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x1009cff2
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x1009cfe6
mov dword [esp + 0x60], edx
mov eax, dword [edi + 0x28]
xor ecx, ecx
mov dword [esp + 0x54], eax
inc eax
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov ecx, edi
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x74]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x80], ecx
mov eax, dword [ecx + 0x54]
mov ecx, edx
shl dword [esp + 0x18], cl
test dword [esp + 0x18], eax
jne 0x1009d04f
mov ecx, dword [esp + 0x80]
bts eax, edx
mov dword [ecx + 0x54], eax
cmp edx, 1
jne 0x1009d04f
call fcn.10083e90
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
mov ecx, edi
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.1007e060
mov edx, dword [esp + 0x1c]
add esp, 0xc
test byte [edx + 0x24], 0x20
je 0x1009d096
mov ecx, dword [edx + 8]
mov dword [esp + 0x4c], ecx
test ecx, ecx
je 0x1009d098
nop dword [eax]
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x1009d090
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x1009d080
mov dword [esp + 0x4c], ecx
jmp 0x1009d098
xor ecx, ecx
mov eax, dword [edx + 8]
test eax, eax
je 0x1009d0d1
nop
test byte [eax + 0x38], 4
jne 0x1009d0c2
movzx esi, word [eax + 0x30]
cmp si, word [edx + 0x2e]
jge 0x1009d0c2
cmp dword [eax + 0x24], 0
jne 0x1009d0c2
test ecx, ecx
je 0x1009d0c0
cmp si, word [ecx + 0x30]
jge 0x1009d0c2
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x1009d0a0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
test ecx, ecx
je 0x1009d0e9
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0x14], eax
call fcn.10084630
mov dword [esp + 0x44], eax
push dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov ecx, esi
push dword [esp + 0x18]
push edx
mov edx, 0x6c
call fcn.1005e520
mov ecx, eax
add esp, 0xc
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x1009d122
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
mov edx, dword [esp + 0x44]
test edx, edx
je 0x1009d16e
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x1009d142
push edx
mov edx, 0xfffffff7
call fcn.1005eee0
add esp, 4
jmp 0x1009d16e
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x1009d167
push 0xfffffffffffffff7
push edx
lea edx, [eax - 0x14]
mov ecx, esi
call fcn.1005f0a0
add esp, 8
jmp 0x1009d16e
mov dword [eax - 4], edx
mov byte [eax - 0x13], 0xf7
mov eax, dword [esp + 0xcc]
mov edx, 0x5d
push 0
mov ecx, esi
push dword [eax + 8]
push dword [esp + 0x5c]
call fcn.1005e520
mov ecx, dword [esi + 0x6c]
add esp, 0xc
cmp dword [esi + 0x70], ecx
jg 0x1009d1ae
push 0
push 0
push dword [esp + 0x5c]
mov edx, 0x75
mov ecx, esi
call fcn.1005e4e0
add esp, 0xc
jmp 0x1009d1e1
mov edx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x75
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 [edi + 0xc7], 2
jne 0x1009d341
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x10]
test ecx, ecx
je 0x1009d215
test byte [edx + 0x24], 0x20
je 0x1009d209
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x1009d215
mov eax, dword [ecx]
mov dword [esp + 0x14], 1
jmp 0x1009d222
mov dword [esp + 0x14], 0
mov eax, 0x100eac98
cmp dword [esp + 0x14], 0
mov ecx, 0x100eac98
push eax
mov eax, str._USING_COVERING_INDEX
cmove eax, ecx
push eax
push dword [edx]
push str.SCAN_TABLE__s_s_s
push 0
push edi
call fcn.1005e8e0
add esp, 0x18
jmp 0x1009d341
cmp dword [esp + 0xc8], 0
mov dword [esp + 0x18], 0
je 0x1009d2a7
xor edx, edx
test ecx, ecx
jle 0x1009d284
mov esi, dword [esp + 0xcc]
add esi, 4
nop
mov eax, dword [esi]
test byte [eax + 4], 0x20
jne 0x1009d280
inc edx
add esi, 0x10
cmp edx, ecx
jl 0x1009d270
mov esi, dword [esp + 0x1c]
cmp edx, ecx
jne 0x1009d2a7
mov eax, dword [edi + 0x2c]
mov edx, 0x46
inc eax
mov ecx, esi
push 0
push eax
push 0
mov dword [esp + 0x24], eax
mov dword [edi + 0x2c], eax
call fcn.1005e520
add esp, 0xc
lea edx, [esp + 0xa4]
mov ecx, edi
call fcn.1009afb0
mov edx, dword [esp + 0x28]
mov ecx, edi
push 0
push dword [esp + 0x48]
push 0
push dword [esp + 0x94]
push dword [esp + 0x64]
call fcn.100ad570
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x1009d442
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xa4]
push eax
mov ecx, edi
call fcn.1009b100
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x1009d314
push 0
push eax
push 1
mov edx, 0x46
mov ecx, esi
call fcn.1005e520
add esp, 0xc
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x2f], 0
jle 0x1009d32c
mov edx, dword [eax + 0x24]
mov ecx, esi
call fcn.1005e6b0
mov eax, dword [esp + 0x14]
mov ecx, eax
call fcn.100ae1d0
lea edx, [esp + 0xa4]
mov ecx, edi
call fcn.1009b080
push 0x10
push dword [esp + 0x74]
mov dword [esp + 0xf8], 0
push dword [esp + 0x6c]
push edi
call fcn.10078950
mov eax, dword [esp + 0x80]
mov ecx, edi
mov edx, dword [esp + 0x50]
push eax
push eax
push dword [ebp + 8]
push 0
push 0
push 0xffffffffffffffff
call fcn.100955c0
add esp, 0x28
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x70]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009d39a
push edx
mov edx, esi
call fcn.1005ea70
add esp, 4
jmp 0x1009d3a3
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x78]
cmp al, 3
jne 0x1009d3c0
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push 0
push edi
call fcn.1005e8e0
add esp, 0x10
cmp dword [esp + 0xf0], 0
je 0x1009d40c
cmp dword [esp + 0xf4], 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 edi
call fcn.1005e8e0
mov eax, dword [esp + 0x7c]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [esp + 0x54]
push dword [eax]
lea eax, [esp + 0x108]
push eax
call fcn.100962f0
add esp, 0x1c
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x12c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009d42d
push edx
mov edx, esi
call fcn.1005ea70
add esp, 4
jmp 0x1009d436
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
xor eax, eax
cmp dword [edi + 0x24], eax
setg al
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x1009d45e
mov edx, ecx
mov ecx, eax
call fcn.10074900
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xc0]
test edx, edx
je 0x1009d470
mov ecx, eax
call fcn.1003eb40
mov edx, dword [esp + 0xcc]
test edx, edx
je 0x1009d484
mov ecx, dword [esp + 0x2c]
call fcn.1003eb40
mov ecx, dword [edi + 0xd4]
test ecx, ecx
jne 0x1009d4a0
xor eax, eax
mov dword [edi + 0xd4], eax
mov eax, dword [esp + 0x58]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 8]
test ecx, ecx
jns 0x1009d4ab
mov ecx, dword [esi + 0x6c]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x1009d4cb
mov eax, 0x10101774
mov eax, dword [eax + 8]
mov dword [edi + 0xd4], eax
mov eax, dword [esp + 0x58]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x68]
lea eax, [ecx + edx*4]
mov eax, dword [eax + 8]
mov dword [edi + 0xd4], eax
mov eax, dword [esp + 0x58]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret