Function at 0x1008a4d0
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 dword [esp + 0x14], 1
mov eax, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xa0], 0
mov esi, dword [edi + 8]
mov ecx, dword [edi]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x1008a532
cmp dword [edi + 0x74], esi
jne 0x1008a51d
test byte [ecx + 0x4c], 8
jne 0x1008a51d
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.10049530
mov ecx, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
test eax, eax
je 0x1008cb3b
cmp byte [ecx + 0x51], 0
jne 0x1008cb3b
cmp dword [edi + 0x24], 0
jne 0x1008cb3b
push 0
push 0
push 0
mov edx, 0x15
mov ecx, edi
call fcn.1006a1a0
add esp, 0xc
test eax, eax
jne 0x1008cb3b
push 0x30
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.101d2900
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 8
mov eax, dword [esp + 0x10]
ja 0x1008a5a9
mov edx, dword [eax + 0x30]
test edx, edx
je 0x1008a59e
mov ecx, dword [esp + 0x3c]
call fcn.1005fb80
mov eax, dword [esp + 0x10]
and dword [eax + 4], 0xfffffffe
mov dword [eax + 0x30], 0
push 0
mov edx, eax
mov ecx, edi
call fcn.10089cb0
mov eax, dword [esp + 0x40]
add esp, 4
cmp dword [edi + 0x24], 0
jne 0x1008cab2
cmp byte [eax + 0x51], 0
jne 0x1008cab2
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x1008a5e2
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.10085160
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.100a1010
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1008caae
mov edx, dword [esp + 0x10]
xorps xmm0, xmm0
movaps xmmword [esp + 0xf0], xmm0
xor ecx, ecx
movaps xmmword [esp + 0x100], xmm0
movq qword [esp + 0x110], xmm0
mov eax, dword [edx + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 4]
shr eax, 3
and eax, 1
mov dword [esp + 0x54], ecx
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x30]
mov dword [esp + 0x20], eax
mov dword [esp + 0xf0], eax
mov eax, dword [edx + 0x34]
test eax, eax
jne 0x1008a791
nop dword [eax]
mov esi, dword [esp + 0x34]
cmp ecx, dword [esi]
mov esi, dword [esp + 0x1c]
jge 0x1008a789
mov esi, dword [esp + 0x34]
lea eax, [ecx + ecx*8]
test byte [esi + eax*8 + 0x2c], 8
lea eax, [esi + eax*8]
mov esi, dword [eax + 0x1c]
mov dword [esp + 0xc], esi
mov esi, dword [eax + 0x18]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
je 0x1008a6c8
mov edx, dword [eax + 0x34]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
call fcn.100652a0
test eax, eax
je 0x1008a6c0
mov eax, dword [esp + 0x3c]
mov ecx, 0x2000
test word [eax + 0x4c], cx
jne 0x1008a6c0
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
and byte [edx + 0x2c], 0xd7
mov edx, dword [edx + 0x34]
mov ecx, dword [eax + 0x24]
call fcn.100830c0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1008a779
mov eax, dword [eax + 0x1c]
mov esi, dword [esp + 0x38]
mov edi, dword [eax]
movsx eax, word [esi + 0x2a]
mov esi, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x18]
jne 0x1008a7c2
mov eax, dword [esp + 0xc]
test byte [eax + 4], 8
jne 0x1008a779
cmp dword [eax + 0x30], 0
je 0x1008a721
test ecx, ecx
jne 0x1008a721
test dword [edx + 4], 0x40000
je 0x1008a721
mov eax, dword [esp + 0x34]
cmp dword [eax], 1
je 0x1008a779
test byte [eax + 0x74], 0xa
jne 0x1008a779
push dword [esp + 0x78]
push ecx
mov ecx, edi
call fcn.10088300
add esp, 8
test eax, eax
je 0x1008a746
cmp dword [edi + 0x24], 0
jne 0x1008caae
mov dword [esp + 0x54], 0xffffffff
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x51], 0
jne 0x1008cab2
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x54]
cmp byte [eax], 8
jbe 0x1008a779
mov eax, dword [edx + 0x30]
mov dword [esp + 0x20], eax
mov dword [esp + 0xf0], eax
mov eax, dword [edx + 0x34]
inc ecx
mov dword [esp + 0x54], ecx
test eax, eax
je 0x1008a650
test eax, eax
je 0x1008a823
push dword [ebp + 8]
mov ecx, edi
call fcn.10086200
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x38], 0
jne 0x1008a81b
mov ecx, dword [edi + 0xd4]
test ecx, ecx
jne 0x1008a7e0
mov dword [edi + 0xd4], ecx
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
push dword [ecx]
push eax
push str.expected__d_columns_for__s_but_got__d
push edi
call fcn.1002d6b0
add esp, 0x14
jmp 0x1008caae
mov edx, dword [edi + 8]
test ecx, ecx
jns 0x1008a7eb
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x1008a809
mov ecx, 0x1041cd0c
mov eax, esi
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 ecx, dword [ecx + 8]
mov dword [edi + 0xd4], ecx
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
cmp eax, 1
jle 0x1008a922
mov esi, dword [esp + 0x3c]
cmp word [esi + 0x4c], 0
mov esi, dword [esp + 0x1c]
jl 0x1008a922
mov dword [esp + 0x88], edi
jmp 0x1008a854
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x24]
lea ecx, [esp + 0x88]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call fcn.10088930
cmp dword [esp + 0x8c], 0
je 0x1008a90e
lea eax, [esp + 0x88]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], 0x10088a20
mov dword [esp + 0xac], fcn.10006310
mov edx, dword [eax + 0x24]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
test edx, edx
je 0x1008a8f5
lea ecx, [esp + 0xa4]
call fcn.1005b0c0
mov edx, dword [esp + 0x94]
test edx, edx
je 0x1008a90e
mov ecx, dword [esp + 0x88]
mov ecx, dword [ecx]
call fcn.1002a220
cmp dword [esp + 0x90], 0
jne 0x1008a850
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
xor edx, edx
mov dword [esp + 0x48], edx
test eax, eax
jle 0x1008ad18
lea eax, [edx*8 + 1]
add eax, edx
lea edi, [ecx + eax*8]
mov eax, dword [edi + 0x38]
or eax, dword [edi + 0x3c]
mov dword [esp + 0x70], edi
jne 0x1008a971
mov eax, dword [edi + 8]
test eax, eax
je 0x1008a971
push dword [edi + 4]
mov ecx, dword [esp + 0x1c]
mov edx, 0x14
push 0x103d28b0
push eax
call fcn.1006a1a0
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x48]
mov eax, dword [edi + 0x14]
mov dword [esp + 0x44], eax
test eax, eax
je 0x1008ad07
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.1005e210
mov ecx, dword [esp + 0x18]
mov edx, 0x1000
mov eax, dword [esp + 0xc]
add dword [ecx + 0xd0], eax
mov eax, dword [esp + 0x3c]
test word [eax + 0x4c], dx
jne 0x1008a9d7
movzx eax, byte [edi + 0x24]
mov edx, dword [esp + 0x44]
shr eax, 5
and eax, 1
push eax
mov eax, dword [esp + 0x14]
push dword [edi + 0x2c]
push dword [eax + 0x24]
call fcn.10088ae0
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0x48], 0
mov eax, dword [ecx + 0xf0]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 8]
mov dword [ecx + 0xf0], eax
jne 0x1008aad5
mov eax, dword [esp + 0x34]
cmp dword [eax], 1
je 0x1008aa08
test byte [eax + 0x74], 0xa
je 0x1008aad5
mov eax, dword [ecx + 0x2c]
mov edx, 0xd
mov edi, dword [esi + 0x6c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, dword [esp + 0x70]
lea esi, [edi + 1]
push esi
mov dword [ecx + 0x1c], eax
mov ecx, dword [esp + 0x20]
push 0
push eax
call fcn.10049790
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov byte [esp + 0x88], 0xd
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], 0
mov dword [eax + 0x18], esi
mov esi, eax
mov dword [esp + 0x94], 0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x44]
push dword [eax + 0x10]
push str.CO_ROUTINE__u
push 1
push dword [esp + 0x24]
call fcn.10049c80
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x28]
push eax
call fcn.1008a4d0
mov ecx, dword [esi + 0x10]
add esp, 0x14
mov eax, dword [esp + 0x44]
mov ax, word [eax + 2]
mov word [ecx + 0x2e], ax
mov eax, dword [esp + 0x90]
or dword [esi + 0x28], 0x10
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.10049de0
mov edx, edi
mov ecx, esi
call fcn.1004a1c0
jmp 0x1008acb7
xor eax, eax
mov edx, 0x45
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, esi
push eax
push 0
mov dword [edi + 0x1c], eax
call fcn.100498c0
add esp, 8
mov dword [esp + 0x5c], eax
test byte [edi + 0x28], 8
lea ecx, [eax + 1]
mov dword [edi + 0x18], ecx
jne 0x1008ab17
mov edx, 0x11
mov ecx, esi
call fcn.10049800
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x34]
add ecx, 8
mov dword [esp + 0x4c], ecx
cmp ecx, edi
jae 0x1008abd8
nop word [eax + eax]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x70], eax
test eax, eax
je 0x1008abc9
test byte [ecx + 0x28], 0x10
jne 0x1008abc9
mov eax, dword [ecx + 8]
mov dword [esp + 0x38], eax
test eax, eax
je 0x1008abc9
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 0x48]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x68], edx
cmp edx, dword [eax + 0x48]
jne 0x1008abc9
mov edx, dword [edi + 8]
test edx, edx
je 0x1008abc9
mov ecx, dword [esp + 0x38]
call fcn.1002d7e0
test eax, eax
jne 0x1008abc5
mov ecx, dword [esp + 0x70]
cmp dword [esp + 0x68], eax
jne 0x1008ab8f
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x10]
cmp eax, dword [ecx + 0x10]
jne 0x1008abc5
mov edx, dword [edi + 0x14]
push 0xffffffffffffffff
push dword [ecx + 0x24]
xor ecx, ecx
mov edx, dword [edx + 0x24]
call fcn.10064a60
add esp, 8
test eax, eax
jne 0x1008abc5
mov eax, dword [esp + 0x70]
xor ecx, ecx
mov edx, dword [edi + 0x14]
push 0xffffffffffffffff
push dword [eax + 0x2c]
mov edx, dword [edx + 0x2c]
call fcn.10064a60
add esp, 8
test eax, eax
je 0x1008ac0e
mov ecx, dword [esp + 0x4c]
add ecx, 0x48
mov dword [esp + 0x4c], ecx
cmp ecx, edi
jb 0x1008ab30
xor eax, eax
mov dword [esp + 0x4c], eax
test eax, eax
je 0x1008ac14
push dword [eax + 0x2c]
mov edx, 0x62
mov ecx, esi
push dword [edi + 0x2c]
call fcn.100498c0
mov eax, dword [esp + 0x54]
add esp, 8
mov ecx, dword [esp + 0x44]
mov eax, dword [eax + 0x14]
movzx eax, word [eax + 2]
mov word [ecx + 2], ax
mov ecx, eax
jmp 0x1008ac7e
mov eax, dword [esp + 0x4c]
jmp 0x1008abde
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x44]
mov byte [esp + 0x88], 0xc
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
push dword [eax + 0x10]
push str.MATERIALIZE__u
push 1
push dword [esp + 0x24]
call fcn.10049c80
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x28]
push eax
call fcn.1008a4d0
mov eax, dword [esp + 0x58]
add esp, 0x14
movzx ecx, word [eax + 2]
mov eax, dword [edi + 0x10]
mov word [eax + 0x2e], cx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1008ac96
mov edx, eax
mov ecx, esi
call fcn.1004a1c0
push dword [edi + 0x1c]
mov edx, 0x41
mov ecx, esi
call fcn.10049860
mov edx, dword [esp + 0x60]
add esp, 4
mov ecx, esi
push eax
call fcn.1004a120
add esp, 4
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
mov byte [edi + 0x13], 0
mov dword [edi + 0x1c], 0
cmp byte [eax + 0x51], 0
jne 0x1008cab2
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.1005e210
mov eax, dword [esp + 0xc]
sub dword [edi + 0xd0], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
mov dword [edi + 0xf0], eax
jmp 0x1008ad0b
mov edi, dword [esp + 0x18]
inc edx
mov dword [esp + 0x48], edx
cmp edx, dword [ecx]
jl 0x1008a930
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x70], eax
mov al, byte [ecx + 4]
and al, 1
mov dword [esp + 0x54], edx
mov byte [esp + 0x63], al
mov byte [esp + 0x88], al
mov eax, dword [ecx + 4]
and al, 9
cmp al, 1
jne 0x1008ad96
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.10064df0
add esp, 4
test eax, eax
jne 0x1008ad92
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
cmp dword [ecx + 0x44], eax
jne 0x1008ad96
and dword [ecx + 4], 0xfffffffe
mov ecx, dword [esp + 0x3c]
push eax
call fcn.1005ef70
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], edx
or dword [eax + 4], 8
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1008ade9
push dword [edx]
mov edx, eax
mov ecx, edi
push 0
call fcn.100847a0
mov edx, dword [edi + 0x28]
push 0xfffffffffffffff7
push eax
mov eax, dword [esp + 0x64]
lea ecx, [edx + 1]
mov dword [esp + 0x108], edx
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [eax]
push 0
mov ecx, dword [ecx]
inc ecx
add eax, ecx
mov ecx, esi
push eax
push edx
mov edx, 0x64
call fcn.10049b50
add esp, 0x1c
mov dword [esp + 0x104], eax
jmp 0x1008adf4
mov dword [esp + 0x104], 0xffffffff
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0xc
jne 0x1008ae14
mov eax, dword [esp + 0x54]
mov edx, 0x64
push dword [eax]
push dword [ecx + 4]
mov ecx, esi
call fcn.100498c0
add esp, 8
mov eax, dword [esp + 0x10]
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x12c], ecx
test dword [eax + 4], 0x4000
jne 0x1008ae37
mov edx, 0x140
mov word [eax + 2], dx
push ecx
mov edx, eax
mov ecx, edi
call fcn.100859a0
mov edx, dword [esp + 0x14]
add esp, 4
cmp dword [edx + 8], 0
jne 0x1008ae73
mov eax, dword [esp + 0x104]
test eax, eax
js 0x1008ae73
push 0x6f
mov edx, eax
mov ecx, esi
call fcn.1004a0e0
mov edx, dword [esp + 0x14]
add esp, 4
or byte [esp + 0x110], 1
test byte [edx + 4], 1
je 0x1008aedc
mov esi, dword [edi + 0x28]
push 0xfffffffffffffff7
push ecx
push 0
lea eax, [esi + 1]
mov dword [esp + 0x98], esi
mov dword [edi + 0x28], eax
mov ecx, edi
mov edx, dword [edx + 0x1c]
push 0
call fcn.100847a0
add esp, 0xc
mov edx, 0x64
push eax
push 0
push 0
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.10049b50
mov dword [esp + 0xa4], eax
add esp, 0x14
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1008aed4
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x10]
mov al, 3
jmp 0x1008aede
xor al, al
cmp dword [esp + 0x78], 0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x89], al
mov dword [esp + 0x80], eax
jne 0x1008b126
test ecx, ecx
jne 0x1008b126
cmp byte [esp + 0x63], cl
mov eax, 0x100
mov dword [esp + 0xc], 0x4000
cmovne ecx, eax
mov ax, word [edx + 4]
and ax, word [esp + 0xc]
or cx, ax
movzx eax, cx
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x44]
mov dword [esp + 0x38], eax
test eax, eax
je 0x1008af40
mov ecx, edi
call fcn.100a1a80
mov edx, dword [esp + 0x10]
movsx eax, word [edx + 2]
mov ecx, edi
push eax
push dword [esp + 0x10]
push dword [edx + 0x1c]
mov edx, dword [esp + 0x40]
push dword [esp + 0x2c]
push dword [esp + 0x6c]
call fcn.1009e7f0
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x1008caae
mov edx, dword [esp + 0x10]
movzx eax, word [ecx + 0x34]
cmp ax, word [edx + 2]
jge 0x1008af82
mov word [edx + 2], ax
cmp byte [esp + 0x63], 0
je 0x1008afbe
mov eax, dword [esp + 0x80]
mov cl, byte [ecx + 0x2f]
movzx eax, al
test cl, cl
mov dword [esp + 0x80], eax
movzx eax, cl
mov ecx, dword [esp + 0x80]
cmovne ecx, eax
mov dword [esp + 0x80], ecx
mov byte [esp + 0x89], cl
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x20], 0
je 0x1008b00e
test byte [ecx + 0x30], 4
movsx eax, byte [ecx + 0x2d]
mov dword [esp + 0xf4], eax
jne 0x1008afdb
mov eax, dword [ecx + 0x1c]
jmp 0x1008afe9
movzx eax, byte [ecx + 0x2c]
imul eax, eax, 0x58
mov eax, dword [eax + ecx + 0x2a8]
mov ecx, dword [esp + 0x20]
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 0x1008b012
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x104]
test eax, eax
js 0x1008b02e
test ecx, ecx
jne 0x1008b02e
mov edx, eax
mov ecx, esi
call fcn.1004a460
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x38], 0
je 0x1008b0ef
mov eax, dword [edi + 0x38]
inc dword [edi + 0x2c]
mov ecx, dword [esp + 0x18]
lea esi, [eax - 1]
sub eax, 2
mov dword [esp + 0xc], eax
dec eax
mov dword [edi + 0x38], eax
mov edi, dword [edi + 0x2c]
push esi
push edi
push dword [esp + 0x50]
mov dword [esp + 0x20], eax
call fcn.100a4970
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, 0xb
push dword [esp + 0x14]
push 0
call fcn.100498c0
mov ecx, dword [esp + 0x24]
mov edx, esi
call fcn.10049ec0
push dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x94]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push esi
push dword [ebp + 8]
mov dword [esp + 0x120], 0
push eax
lea eax, [esp + 0x108]
push eax
push 0xffffffffffffffff
call fcn.10083aa0
mov ecx, dword [esp + 0x3c]
mov edx, esi
call fcn.10049ec0
mov ecx, dword [esp + 0x3c]
mov edx, 0x41
push edi
call fcn.10049860
add esp, 0x24
lea edx, [esi - 1]
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.10049ec0
mov edi, dword [esp + 0x18]
jmp 0x1008c9f4
mov eax, dword [esp + 0x48]
mov ecx, edi
push dword [eax + 0x20]
push dword [eax + 0x1c]
lea eax, [esp + 0x90]
push dword [ebp + 8]
push eax
lea eax, [esp + 0x100]
push eax
push 0xffffffffffffffff
call fcn.10083aa0
mov ecx, dword [esp + 0x60]
add esp, 0x18
call fcn.1009f340
jmp 0x1008c9f4
mov dword [esp + 0x7c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x68], 0
test ecx, ecx
je 0x1008b1f4
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx]
test eax, eax
jle 0x1008b164
add ecx, 0x16
xor esi, esi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], si
test eax, eax
jg 0x1008b152
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
test eax, eax
jle 0x1008b187
add ecx, 0x16
xor edi, edi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], di
test eax, eax
jg 0x1008b171
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
cmp word [edx + 2], 0x42
jle 0x1008b197
mov eax, 0x42
mov word [edx + 2], ax
mov edx, dword [esp + 0x20]
test edx, edx
je 0x1008b1fa
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1008b1fa
xor edx, edx
test eax, eax
jle 0x1008b1d4
mov esi, dword [esp + 0x20]
add ecx, 0xc
mov edi, dword [esp + 0x40]
sub esi, edi
mov al, byte [esi + ecx]
lea ecx, [ecx + 0x14]
and al, 1
inc edx
mov byte [ecx - 0x14], al
cmp edx, dword [edi]
jl 0x1008b1b8
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.10064df0
mov ecx, dword [esp + 0x44]
add esp, 4
test eax, eax
jne 0x1008b1fa
mov dword [esp + 0x68], 1
jmp 0x1008b1fa
xor eax, eax
mov word [edx + 2], ax
dec dword [edi + 0x38]
xorps xmm0, xmm0
mov eax, dword [edi + 0x38]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x134], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x138], eax
mov eax, dword [edi + 0x2c]
inc eax
movlpd qword [esp + 0x13c], xmm0
movlpd qword [esp + 0x144], xmm0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x130], edi
mov dword [esp + 0xd0], eax
test ecx, ecx
je 0x1008b25e
mov eax, dword [ecx]
mov dword [esp + 0xcc], eax
jmp 0x1008b269
mov dword [esp + 0xcc], 0
mov edx, dword [esp + 0x54]
mov dword [esp + 0xd8], ecx
lea ecx, [esp + 0x130]
call fcn.100656e0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x130]
call fcn.100656e0
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x1008b34a
cmp dword [esp + 0x40], 0
je 0x1008b2f7
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
mov dword [esp + 0xa4], edi
mov edx, dword [eax + 0x2c]
mov dword [esp + 0xa8], 0x1008a3c0
mov dword [esp + 0xbc], eax
test edx, edx
je 0x1008b2f0
lea ecx, [esp + 0xa4]
call fcn.1005b0c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x130]
mov dword [esp + 0xa8], 0x10065440
mov edx, ecx
mov dword [esp + 0xac], 0x100656c0
lea ecx, [esp + 0xa4]
mov dword [esp + 0xb0], 0x100656d0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xa4], 0
call fcn.1005b0c0
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x28], 0
jne 0x1008b441
cmp dword [eax + 0x2c], 0
jne 0x1008b441
cmp ecx, 1
jne 0x1008b441
mov eax, dword [esp + 0xe8]
mov eax, dword [eax]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x38], edx
test edx, edx
je 0x1008b436
cmp dword [edx], ecx
jne 0x1008b436
test dword [eax + 4], 0x1000000
jne 0x1008b436
mov eax, dword [eax + 8]
mov edx, 0x103dd4e0
mov ecx, eax
mov dword [esp + 0xc], eax
call fcn.1002d7e0
test eax, eax
jne 0x1008b3d3
mov byte [esp + 0x77], 2
mov dword [esp + 0xc], 1
jmp 0x1008b3f2
mov ecx, dword [esp + 0xc]
mov edx, 0x103dd4e4
call fcn.1002d7e0
test eax, eax
jne 0x1008b42f
mov byte [esp + 0x77], 1
mov dword [esp + 0xc], 2
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push 0
call fcn.1005ef70
mov ecx, eax
add esp, 4
mov dword [esp + 0xa0], ecx
test ecx, ecx
je 0x1008b418
mov al, byte [esp + 0x77]
mov byte [ecx + 0xc], al
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xec]
movzx eax, ax
movzx eax, ax
mov dword [esp + 0x38], eax
jmp 0x1008b449
mov ecx, dword [esp + 0xec]
xor eax, eax
movzx eax, ax
mov dword [esp + 0x38], eax
jmp 0x1008b449
mov dword [esp + 0x38], 0
test ecx, ecx
jle 0x1008b526
mov ecx, dword [esp + 0x148]
xor esi, esi
xor edi, edi
nop dword [eax]
mov eax, dword [esp + 0xe8]
or ecx, 0x20000
mov eax, dword [eax + esi]
mov dword [esp + 0x148], ecx
lea ecx, [esp + 0x130]
mov dword [esp + 0xc], eax
mov edx, dword [eax + 0x14]
call fcn.100656e0
mov eax, dword [esp + 0xc]
test dword [eax + 4], 0x1000000
je 0x1008b4f2
mov eax, dword [eax + 0x2c]
mov dword [esp + 0xa8], 0x10065440
mov dword [esp + 0xac], 0x100656c0
mov dword [esp + 0xb0], 0x100656d0
mov edx, dword [eax + 0x28]
lea eax, [esp + 0x130]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xa4], 0
test edx, edx
je 0x1008b4f2
lea ecx, [esp + 0xa4]
call fcn.1005b0c0
mov ecx, dword [esp + 0x148]
inc edi
and ecx, 0xfffdffff
add esi, 0x10
mov dword [esp + 0x148], ecx
cmp edi, dword [esp + 0xec]
jl 0x1008b460
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0xec]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x51], 0
jne 0x1008ca9a
mov edx, dword [esp + 0x40]
test edx, edx
je 0x1008c40c
mov eax, dword [edi + 0x28]
mov ecx, edi
push dword [esp + 0xe0]
mov dword [esp + 0xc8], eax
inc eax
push 0
mov dword [edi + 0x28], eax
call fcn.100847a0
mov ecx, dword [esi + 0x6c]
add esp, 8
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], ecx
cmp dword [esi + 0x70], ecx
jg 0x1008b5a6
push 0
push edx
push eax
mov edx, 0x6f
mov ecx, esi
call fcn.10049750
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x1008b5dd
mov edi, dword [esp + 0x38]
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], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x6f
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 + 0xc]
push 0xfffffffffffffff7
push dword [esp + 0x7c]
mov edx, eax
mov ecx, esi
call fcn.1004a580
mov eax, dword [edi + 0x2c]
add esp, 8
mov edx, dword [esp + 0x40]
inc eax
mov dword [esp + 0x64], eax
inc eax
mov dword [esp + 0x50], eax
lea ecx, [eax + 2]
mov eax, dword [edi + 0x38]
dec eax
mov dword [edi + 0x2c], ecx
mov dword [esp + 0x6c], eax
dec eax
mov dword [edi + 0x38], eax
mov dword [esp + 0x20], ecx
add ecx, dword [edx]
mov dword [esp + 0x48], eax
mov dword [edi + 0x2c], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x84], eax
mov eax, dword [edx]
add eax, ecx
mov dword [edi + 0x2c], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008b655
push 0
push dword [esp + 0x54]
mov edx, 0x45
mov ecx, esi
push 0
call fcn.10049750
mov edx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x1008b68c
mov edi, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x45
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 [esi + 0x6c]
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x1008b6b6
mov eax, dword [esp + 0x20]
mov ecx, esi
push edx
inc eax
mov edx, 0x48
push eax
push 0
call fcn.10049750
add esp, 0xc
jmp 0x1008b6ee
mov edi, dword [esp + 0x20]
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 + 0x18]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008b711
push 0
push dword [esp + 0x4c]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x28]
call fcn.10049750
add esp, 0xc
jmp 0x1008b744
mov edx, dword [esp + 0x20]
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 + 0x48]
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 + 0x68], 0
mov ecx, 0x240
mov edx, dword [esp + 0x34]
mov eax, 0x40
cmovne eax, ecx
mov ecx, edi
push 0
movzx eax, ax
push eax
push 0
push dword [esp + 0x4c]
push dword [esp + 0x6c]
call fcn.1009e7f0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x38], edx
test edx, edx
je 0x1008ca96
mov eax, dword [esp + 0x40]
movsx ecx, byte [edx + 0x2d]
cmp ecx, dword [eax]
jne 0x1008b799
xor eax, eax
mov dword [esp + 0x5c], eax
jmp 0x1008bb27
cmp byte [esp + 0x63], 0
je 0x1008b7af
mov eax, dword [esp + 0x10]
test byte [eax + 4], 1
mov eax, str.DISTINCT
je 0x1008b7b4
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push edi
call fcn.10049c80
mov eax, dword [esp + 0x50]
add esp, 0x10
mov dword [esp + 0x5c], 1
mov edx, dword [eax]
mov ecx, edx
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x58], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], eax
test eax, eax
jle 0x1008b826
mov edi, dword [esp + 0xdc]
mov esi, edx
add edi, 0xc
cmp dword [edi], edx
lea eax, [esi + 1]
lea edi, [edi + 0x18]
cmovl eax, esi
mov esi, eax
lea eax, [edx + 1]
cmovl eax, edx
sub dword [esp + 0x14], 1
mov edx, eax
jne 0x1008b7f8
mov edi, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
cmp ecx, 1
jne 0x1008b853
mov al, byte [edi + 0x13]
test al, al
jne 0x1008b83e
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x34], eax
jmp 0x1008b87e
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x94]
mov dword [esp + 0x34], eax
jmp 0x1008b87e
mov edx, dword [edi + 0x20]
mov dword [esp + 0x34], edx
cmp ecx, dword [edi + 0x1c]
jg 0x1008b86f
lea eax, [ecx + edx]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x1c]
sub eax, ecx
mov dword [edi + 0x1c], eax
jmp 0x1008b87e
mov eax, dword [edi + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x34], edx
mov dword [edi + 0x2c], eax
mov edx, dword [esp + 0x40]
mov ecx, edi
push 0
push 0
push dword [esp + 0x3c]
call fcn.10063f10
add esp, 0xc
cmp dword [esp + 0xe0], 0
jle 0x1008b8fb
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x14], ecx
nop word [eax + eax]
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0x58]
add edx, ecx
cmp dword [edx + 0xc], eax
jl 0x1008b8e6
add eax, dword [esp + 0x34]
mov ecx, esi
push eax
push dword [edx + 8]
push dword [edx + 4]
mov edx, dword [edx]
call fcn.10062800
mov eax, dword [esp + 0x64]
add esp, 0xc
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x58], eax
inc edi
add ecx, 0x18
mov dword [esp + 0x14], ecx
cmp edi, dword [esp + 0xe0]
jl 0x1008b8b0
mov edi, dword [esp + 0x18]
mov al, byte [edi + 0x13]
test al, al
jne 0x1008b90a
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x1008b919
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 + 0x58], eax
cmp dword [esi + 0x70], ecx
jg 0x1008b944
mov edx, dword [esp + 0x44]
mov ecx, esi
push eax
push edx
push dword [esp + 0x3c]
mov edx, 0x5b
call fcn.10049750
mov edx, dword [esp + 0x64]
add esp, 0xc
jmp 0x1008b977
mov edx, dword [esp + 0x34]
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 + 0x44]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x70], ecx
jg 0x1008b9a3
push 0
push edx
push eax
mov edx, 0x82
mov ecx, esi
call fcn.10049750
mov edx, dword [esp + 0x64]
add esp, 0xc
jmp 0x1008b9d6
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x82
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 0x1008b9ee
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x1008b9ee
movzx eax, al
mov dword [edi + eax*4 + 0x94], edx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x44]
cmp eax, 1
jne 0x1008ba15
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1008ba24
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x1008ba24
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
jmp 0x1008ba24
cmp eax, dword [edi + 0x1c]
jle 0x1008ba24
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x38]
call fcn.1009f340
mov edx, dword [edi + 0x28]
mov dword [esp + 0x7c], edx
mov dword [esp + 0xc8], edx
lea eax, [edx + 1]
mov dword [edi + 0x28], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x1008ba50
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x1008ba5f
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 + 0x58], eax
cmp dword [esi + 0x70], ecx
jg 0x1008ba89
mov edx, dword [esp + 0x44]
mov ecx, esi
push edx
push eax
push dword [esp + 0x84]
mov edx, 0x72
call fcn.10049750
add esp, 0xc
jmp 0x1008babc
mov edi, dword [esp + 0x18]
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 + 0x44]
mov dword [eax + ecx*4], 0x72
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0xc4]
cmp dword [esi + 0x70], ecx
jg 0x1008bae3
push 0
push dword [esp + 0x50]
mov ecx, esi
push edx
mov edx, 0x23
call fcn.10049750
add esp, 0xc
jmp 0x1008bb16
mov edi, dword [esp + 0x18]
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 + 0x4c]
mov dword [eax + ecx*4], 0x23
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x38]
mov eax, 1
mov byte [esp + 0xc1], 1
cmp dword [esp + 0x68], 0
je 0x1008bb85
mov ecx, dword [esp + 0x3c]
test byte [ecx + 0x4c], 4
jne 0x1008bb85
test eax, eax
jne 0x1008bb42
test byte [edx + 0x30], 8
je 0x1008bb85
mov ecx, dword [esi]
mov dword [esp + 0xf0], 0
cmp byte [ecx + 0x51], 0
jne 0x1008bb85
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.1004a2f0
mov word [esi], 0xad
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x5c], 0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x44], ecx
je 0x1008bbec
mov edx, dword [esp + 0xc4]
cmp dword [esi + 0x70], ecx
jg 0x1008bbb9
push dword [esp + 0x7c]
mov ecx, esi
push dword [esp + 0x5c]
push edx
mov edx, 0x7d
call fcn.10049750
add esp, 0xc
jmp 0x1008bbec
mov edi, dword [esp + 0x18]
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 + 0x7c]
mov dword [eax + ecx*4], 0x7d
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x68], eax
mov edx, dword [ecx]
test edx, edx
jle 0x1008bcb6
add ecx, 4
mov dword [esp + 0x14], ecx
nop word [eax + eax]
mov edx, dword [esp + 0x84]
add edx, eax
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x58], edx
je 0x1008bc7b
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008bc46
push edx
push eax
push dword [esp + 0x84]
mov edx, 0x59
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1008bc90
mov edx, dword [esp + 0x7c]
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 + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1008bc90
mov byte [esp + 0xc0], 1
push edx
mov edx, dword [ecx]
mov ecx, edi
call fcn.10063ec0
add esp, 4
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
inc eax
add ecx, 0x14
mov dword [esp + 0x68], eax
mov edx, dword [edx]
mov dword [esp + 0x14], ecx
cmp eax, edx
jl 0x1008bc10
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x1008bcc2
inc dword [eax]
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x70], ecx
jg 0x1008bced
mov eax, dword [esp + 0x20]
mov ecx, esi
push edx
push dword [esp + 0x88]
inc eax
mov edx, 0x56
push eax
call fcn.10049750
add esp, 0xc
jmp 0x1008bd2c
mov edi, dword [esp + 0x20]
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 + 4], edi
mov edi, dword [esp + 0x84]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
push 0xfffffffffffffff7
push dword [esp + 0x7c]
mov edx, eax
mov ecx, esi
call fcn.1004a580
mov eax, dword [esi + 0x6c]
add esp, 8
mov dword [esp + 0x68], eax
lea edx, [eax + 1]
cmp dword [esi + 0x70], eax
jg 0x1008bd62
push edx
push 0
push edx
mov edx, 0x10
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1008bd8e
mov edi, dword [esp + 0x18]
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 ecx, dword [edi + 8]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
mov edx, dword [ecx + 0x6c]
mov eax, dword [eax]
mov dword [esp + 0x78], eax
cmp dword [ecx + 0x70], edx
jg 0x1008bdc4
push eax
mov eax, dword [esp + 0x24]
mov edx, 0x4c
inc eax
push eax
push dword [esp + 0x8c]
call fcn.10049750
add esp, 0xc
jmp 0x1008be03
mov esi, dword [esp + 0x1c]
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x84]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
inc edx
mov dword [eax + ecx*4], 0x4c
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008be28
mov eax, dword [esp + 0x50]
mov edx, 0xc
push 0
push dword [esp + 0x70]
inc eax
mov ecx, esi
push eax
call fcn.10049750
add esp, 0xc
jmp 0x1008be60
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
inc edx
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
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 [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008be83
push 0
push dword [esp + 0x50]
mov edx, 0x30
mov ecx, esi
push dword [esp + 0x58]
call fcn.10049750
add esp, 0xc
jmp 0x1008beb6
mov edx, dword [esp + 0x50]
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 + 0x4c]
mov dword [eax + ecx*4], 0x30
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008bed9
push 0
push dword [esp + 0x4c]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x28]
call fcn.10049750
add esp, 0xc
jmp 0x1008bf0c
mov edx, dword [esp + 0x20]
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 + 0x48]
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 eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1008bf1e
mov eax, 0x1041cd0c
jmp 0x1008bf33
mov ecx, dword [esp + 0x68]
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 + 0x64]
lea eax, [esp + 0xc0]
push eax
call fcn.10089f40
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x1008bf6d
push 0
push dword [esp + 0x68]
mov edx, 0x45
mov ecx, esi
push 1
call fcn.10049750
add esp, 0xc
jmp 0x1008bfa0
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x45
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 + 0x5c], 0
je 0x1008c003
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0xc4]
cmp dword [esi + 0x70], ecx
jg 0x1008bfce
push 0
push dword [esp + 0x48]
mov ecx, esi
push edx
mov edx, 3
call fcn.10049750
add esp, 0xc
jmp 0x1008c041
mov edi, dword [esp + 0x18]
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 + 0x44]
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 0x1008c041
mov ecx, dword [esp + 0x38]
call fcn.1009f340
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
jne 0x1008c041
mov eax, dword [esp + 0xc]
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.1004a2f0
mov word [esi], 0xad
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008c066
mov eax, dword [esp + 0x50]
mov edx, 0xc
push 0
push dword [esp + 0x70]
inc eax
mov ecx, esi
push eax
call fcn.10049750
add esp, 0xc
jmp 0x1008c09e
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
inc edx
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
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 [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008c0bf
push 0
push dword [esp + 0x50]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.10049750
add esp, 0xc
jmp 0x1008c0f2
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], 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 [esi + 0x6c]
mov dword [esp + 0xc], ecx
cmp dword [esi + 0x70], ecx
jg 0x1008c11b
push 0
push dword [esp + 0x54]
mov edx, 0x45
mov ecx, esi
push 1
call fcn.10049750
mov edx, dword [esp + 0x5c]
add esp, 0xc
jmp 0x1008c14e
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x45
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 [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008c16f
push 0
lea eax, [edx + 1]
mov ecx, esi
push 0
push eax
mov edx, 0x41
call fcn.10049750
add esp, 0xc
jmp 0x1008c1a7
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
inc edx
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x41
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 + 0x6c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1008c1c5
push edx
mov edx, esi
call fcn.10049e50
add esp, 4
jmp 0x1008c1ce
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 0x6c]
lea ecx, [eax + 1]
lea edx, [eax + 2]
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x70], eax
jg 0x1008c1f8
push 0
push edx
push dword [esp + 0x6c]
mov edx, 0x30
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1008c228
mov edi, dword [esp + 0x64]
mov dword [esi + 0x6c], ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x30
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008c24b
mov eax, dword [esp + 0x50]
mov edx, 0x41
push 0
inc eax
mov ecx, esi
push 0
push eax
call fcn.10049750
add esp, 0xc
jmp 0x1008c283
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
inc edx
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x41
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 + 0xc0]
mov ecx, edi
call fcn.10089e60
push 0x10
push dword [esp + 0x18]
push dword [esp + 0x78]
push edi
call fcn.10064620
push dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x9c]
push dword [esp + 0x28]
mov ecx, edi
push dword [ebp + 8]
push eax
lea eax, [esp + 0x110]
push eax
push 0xffffffffffffffff
call fcn.10083aa0
mov ecx, dword [esi + 0x6c]
add esp, 0x28
cmp dword [esi + 0x70], ecx
jg 0x1008c2ef
mov eax, dword [esp + 0x50]
mov edx, 0x41
push 0
inc eax
mov ecx, esi
push 0
push eax
call fcn.10049750
add esp, 0xc
jmp 0x1008c327
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
inc edx
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x41
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 + 0x48]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1008c345
push edx
mov edx, esi
call fcn.10049e50
add esp, 4
jmp 0x1008c34e
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
lea edx, [esp + 0xc0]
mov ecx, edi
call fcn.10089d70
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008c37d
push 0
push dword [esp + 0x68]
mov edx, 0x45
mov ecx, esi
push 0
call fcn.10049750
add esp, 0xc
jmp 0x1008c3b0
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x45
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 [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008c3d4
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x41
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1008c9cd
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x41
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 0x1008c9cd
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x24], 0
jne 0x1008c7bb
mov edx, dword [eax + 0x1c]
mov dword [esp + 0xc], edx
cmp dword [edx], 1
jne 0x1008c7bb
mov edx, dword [eax + 0x20]
cmp dword [edx], 1
jne 0x1008c7bb
cmp dword [edx + 0x1c], 0
jne 0x1008c7bb
mov edx, dword [edx + 0x18]
mov dword [esp + 0x64], edx
cmp dword [edx + 0x38], 0
jne 0x1008c7bb
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax], 0xa5
jne 0x1008c7bb
test ecx, ecx
je 0x1008c7bb
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x1008c7bb
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x1c]
test dword [eax + 4], 0x1000002
jne 0x1008c7bb
mov ecx, dword [edx + 0x48]
mov edx, 0xfff0bdc0
mov dword [esp + 0x48], edx
test ecx, ecx
je 0x1008c4cc
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x48], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x1008c4cc
nop word [eax + eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x1008c4c0
mov dword [esp + 0x48], edx
mov eax, dword [edi + 0x28]
xor ecx, ecx
mov dword [esp + 0x6c], eax
inc eax
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], ecx
mov ecx, edi
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x74]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x78], ecx
mov eax, dword [ecx + 0x54]
mov ecx, edx
mov dword [esp + 0x14], eax
mov eax, 1
shl eax, cl
test dword [esp + 0x14], eax
jne 0x1008c52e
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
bts eax, edx
mov dword [ecx + 0x54], eax
cmp edx, 1
jne 0x1008c52e
call fcn.100706d0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x64]
mov ecx, edi
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.1006a240
mov eax, dword [esp + 0x70]
add esp, 0xc
test byte [eax + 0x24], 0x80
je 0x1008c572
mov ecx, dword [eax + 8]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x1008c574
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x1008c568
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x1008c558
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], ecx
jmp 0x1008c574
xor ecx, ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x1008c5b1
mov esi, dword [esp + 0x64]
nop
test byte [eax + 0x38], 4
jne 0x1008c5a2
movzx edx, word [eax + 0x30]
cmp dx, word [esi + 0x30]
jge 0x1008c5a2
cmp dword [eax + 0x24], 0
jne 0x1008c5a2
test ecx, ecx
je 0x1008c5a0
cmp dx, word [ecx + 0x30]
jge 0x1008c5a2
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x1008c580
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x1008c5c9
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0xc], eax
call fcn.10070e80
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x70], ecx
jg 0x1008c5f7
mov edx, dword [esp + 0x48]
mov ecx, esi
push edx
mov edx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x74]
push edx
mov edx, 0x60
call fcn.10049750
add esp, 0xc
mov ecx, eax
jmp 0x1008c62e
mov edx, dword [esp + 0x6c]
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 + 0xc]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x1008c649
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 + 0x38]
test edx, edx
je 0x1008c695
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x1008c669
push edx
mov edx, 0xfffffff7
call fcn.1004a2f0
add esp, 4
jmp 0x1008c695
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 0x1008c68e
push 0xfffffffffffffff7
push edx
lea edx, [eax - 0x14]
mov ecx, esi
call fcn.1004a4b0
add esp, 8
jmp 0x1008c695
mov dword [eax - 4], edx
mov byte [eax - 0x13], 0xf7
mov eax, dword [esp + 0xe8]
mov ecx, dword [esi + 0x6c]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x70], ecx
jg 0x1008c6c7
push 0
push eax
push dword [esp + 0x74]
mov edx, 0x5c
mov ecx, esi
call fcn.10049750
mov edx, dword [esp + 0x78]
add esp, 0xc
jmp 0x1008c6fe
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x6c]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008c71c
push 0
push 0
push edx
mov edx, 0x74
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1008c74f
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x74
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 0x1008c995
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
test ecx, ecx
je 0x1008c783
test byte [edx + 0x24], 0x80
je 0x1008c777
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x1008c783
mov eax, dword [ecx]
mov dword [esp + 0x14], 1
jmp 0x1008c790
mov dword [esp + 0x14], 0
mov eax, 0x103d28b0
cmp dword [esp + 0x14], 0
mov ecx, 0x103d28b0
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.10049c80
add esp, 0x18
jmp 0x1008c995
cmp dword [esp + 0xe4], 0
mov dword [esp + 0xc], 0
je 0x1008c86c
xor edx, edx
test ecx, ecx
jle 0x1008c80c
mov ecx, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
mov eax, dword [ecx]
test dword [eax + 4], 0x1000000
jne 0x1008c7f9
mov eax, dword [ecx + 4]
test byte [eax + 4], 0x20
jne 0x1008c801
inc edx
add ecx, 0x10
cmp edx, esi
jl 0x1008c7e5
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xec]
cmp edx, ecx
jne 0x1008c86c
mov edx, dword [edi + 0x2c]
inc edx
mov dword [edi + 0x2c], edx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0xc], edx
cmp dword [esi + 0x70], ecx
jg 0x1008c839
push 0
push edx
push 0
mov edx, 0x45
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1008c86c
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x45
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
lea edx, [esp + 0xc0]
mov ecx, edi
call fcn.10089d70
mov edx, dword [esp + 0x34]
mov ecx, edi
push 0
push dword [esp + 0x3c]
push 0
push dword [esp + 0xac]
push dword [esp + 0x6c]
call fcn.1009e7f0
add esp, 0x14
mov dword [esp + 0x38], eax
test eax, eax
je 0x1008ca96
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xc0]
push eax
mov ecx, edi
call fcn.10089f40
mov edx, dword [esp + 0x10]
add esp, 4
test edx, edx
je 0x1008c916
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008c8e3
push 0
push edx
push 1
mov edx, 0x45
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1008c916
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x45
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 edx, dword [esp + 0x38]
cmp byte [edx + 0x2d], 0
jle 0x1008c980
mov ecx, dword [esi + 0x6c]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x70], ecx
jg 0x1008c949
push 0
push eax
push 0
mov edx, 0xb
mov ecx, esi
call fcn.10049750
mov edx, dword [esp + 0x44]
add esp, 0xc
jmp 0x1008c980
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, edx
call fcn.1009f340
lea edx, [esp + 0xc0]
mov ecx, edi
call fcn.10089e60
push 0x10
push dword [esp + 0x50]
mov dword [esp + 0xf8], 0
push dword [esp + 0x78]
push edi
call fcn.10064620
mov eax, dword [esp + 0x5c]
mov ecx, edi
mov edx, dword [esp + 0x20]
push eax
push eax
push dword [ebp + 8]
push 0
push 0
push 0xffffffffffffffff
call fcn.10083aa0
add esp, 0x28
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x4c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1008c9eb
push edx
mov edx, esi
call fcn.10049e50
add esp, 4
jmp 0x1008c9f4
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x80]
cmp al, 3
jne 0x1008ca14
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push 0
push edi
call fcn.10049c80
add esp, 0x10
cmp dword [esp + 0xf0], 0
je 0x1008ca60
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.10049c80
mov eax, dword [esp + 0x64]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [esp + 0x24]
push dword [eax]
lea eax, [esp + 0x108]
push eax
call fcn.10084850
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 0x1008ca81
push edx
mov edx, esi
call fcn.10049e50
add esp, 4
jmp 0x1008ca8a
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 + 0x14], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x1008cab2
mov edx, ecx
mov ecx, eax
call fcn.1005fb80
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0xdc]
test edx, edx
je 0x1008cac4
mov ecx, eax
call fcn.1002a220
mov edx, dword [esp + 0xe8]
test edx, edx
je 0x1008cad8
mov ecx, dword [esp + 0x3c]
call fcn.1002a220
mov ecx, dword [edi + 0xd4]
test ecx, ecx
jne 0x1008caf4
xor eax, eax
mov dword [edi + 0xd4], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 8]
test ecx, ecx
jns 0x1008caff
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x1008cb1f
mov eax, 0x1041cd0c
mov eax, dword [eax + 8]
mov dword [edi + 0xd4], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [edi + 0xd4], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret