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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
push esi
push edi
mov edi, ecx
mov dword [esp + 0x70], 1
mov eax, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0xb0], 0
mov esi, dword [edi + 8]
mov ecx, dword [edi]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], esi
test esi, esi
jne 0x4eeb8e
cmp dword [edi + 0x74], esi
jne 0x4eeb7d
test byte [ecx + 0x50], 8
jne 0x4eeb7d
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.00497d30
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], esi
test eax, eax
je 0x4f1ee4
cmp dword [edi + 0x24], 0
jne 0x4f1ee4
push 0
push 0
push 0
mov edx, 0x15
mov ecx, edi
call fcn.004c0bc0
add esp, 0xc
test eax, eax
jne 0x4f1ee4
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x20]
cmp byte [eax], 6
ja 0x4eec31
mov eax, dword [ecx + 0x30]
mov dword [esp + 0xc], eax
test eax, eax
je 0x4eec23
mov ecx, dword [edi]
push 0
push 0xc
test ecx, ecx
je 0x4eebe5
call fcn.00473b00
jmp 0x4eebea
call fcn.00473440
mov edx, dword [esp + 0x14]
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4eec11
mov eax, dword [edi + 0x80]
mov dword [ecx], eax
mov dword [edi + 0x80], ecx
mov dword [ecx + 4], edx
mov dword [ecx + 8], fcn.004b16e0
jmp 0x4eec18
mov ecx, dword [edi]
call fcn.004b16a0
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x30], 0
mov eax, dword [ecx + 4]
and eax, 0xfffffffe
or eax, 0x400000
mov dword [ecx + 4], eax
mov edx, ecx
mov ecx, edi
push 0
call fcn.004ee080
add esp, 4
cmp dword [edi + 0x24], 0
jne 0x4eeeac
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], ecx
test ecx, 0x800000
je 0x4eecf7
mov edx, dword [eax + 0x20]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x6c], 1
cmp dword [edx], 1
jle 0x4eecee
mov eax, dword [edx + 0x18]
lea ecx, [edx + 0x5c]
mov dword [esp + 0x10], eax
mov eax, 1
mov dword [esp + 0x60], ecx
nop word [eax + eax]
mov edi, dword [edx + 0x18]
cmp edi, dword [ecx + 4]
mov edi, dword [esp + 0x14]
jne 0x4eecd6
mov edx, dword [edx + 0x14]
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
test edx, edx
jne 0x4eecaf
neg eax
sbb eax, eax
jmp 0x4eecc6
test eax, eax
je 0x4eecce
mov ecx, dword [esp + 0xc]
mov edx, eax
call fcn.00476e90
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x4eee93
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x6c]
inc eax
add ecx, 0x48
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], ecx
cmp eax, dword [edx]
jl 0x4eec90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
and ecx, 0xff7fffff
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x50], eax
cmp byte [ecx], 9
jne 0x4eed10
mov edx, eax
mov ecx, edi
call fcn.004e70d0
mov eax, dword [esp + 0x20]
mov edx, eax
mov ecx, edi
call fcn.0050e9b0
test eax, eax
jne 0x4eeeac
mov eax, dword [esp + 0x50]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x20]
xor edx, edx
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xe0], xmm0
mov eax, dword [eax + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 4]
shr eax, 3
and eax, 1
movq qword [esp + 0xf0], xmm0
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x30]
mov dword [esp + 0xd0], eax
mov dword [esp + 0x34], edx
cmp dword [ecx + 0x34], edx
jne 0x4eef4e
mov eax, dword [esp + 0x24]
cmp edx, dword [eax]
jge 0x4eefa9
mov edi, dword [esp + 0x24]
lea eax, [edx + edx*8]
test byte [edi + eax*8 + 0x2c], 8
lea eax, [edi + eax*8]
mov edi, dword [eax + 0x1c]
mov dword [esp + 0x18], edi
mov edi, dword [eax + 0x18]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
je 0x4eede0
mov edx, dword [eax + 0x34]
mov ecx, dword [ecx + 0x24]
call fcn.004b8b80
test eax, eax
je 0x4eedd8
mov eax, dword [esp + 0x4c]
test dword [eax + 0x50], 0x2000
jne 0x4eedd8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
and byte [edx + 0x2c], 0xd7
mov edx, dword [edx + 0x34]
mov ecx, dword [eax + 0x24]
call fcn.004e4130
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4eef3b
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0xc]
mov edi, dword [eax]
movsx eax, word [ecx + 0x22]
mov ecx, dword [esp + 0x20]
cmp eax, edi
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
jne 0x4eef8b
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
test dl, 8
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
jne 0x4eef3b
mov eax, dword [eax + 0x30]
mov dword [esp + 0x28], eax
test eax, eax
je 0x4eeee4
cmp dword [ecx + 0x30], 0
mov eax, dword [esp + 0x24]
jne 0x4eee47
cmp dword [eax], 1
jle 0x4eeecc
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x3c], 0
mov edi, dword [esp + 0x14]
jne 0x4eeecc
test dword [esp + 0x10], 0x8000000
jne 0x4eeecc
test dword [ecx + 4], 0x8000000
jne 0x4eeecc
mov esi, dword [esp + 0x4c]
test dword [esi + 0x50], 0x40000
mov esi, dword [esp + 0x54]
jne 0x4eeecc
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
call fcn.004b16a0
mov eax, dword [esp + 0x18]
mov dword [eax + 0x30], 0
jmp 0x4eeee4
test edx, edx
jne 0x4eee9d
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push edx
push str.target_object_alias_may_not_appear_in_FROM_clause:__s
push edi
call fcn.00476cf0
add esp, 0xc
mov ecx, dword [edi + 0xdc]
test ecx, ecx
jne 0x4f1e9d
xor eax, eax
mov dword [edi + 0xdc], eax
mov eax, dword [esp + 0x70]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edx, edx
jne 0x4eeee4
test dword [ecx + 4], 0x40000
je 0x4eeee4
cmp dword [eax], 1
je 0x4eef3f
test byte [eax + 0x74], 0xa
jne 0x4eef3f
push dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov ecx, edi
mov edx, dword [esp + 0x24]
push eax
call fcn.004ebc20
add esp, 8
test eax, eax
je 0x4eef0c
cmp dword [edi + 0x24], 0
jne 0x4eeeac
or eax, 0xffffffff
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + 0x20]
cmp byte [ecx + 0x57], 0
mov dword [esp + 0x24], eax
jne 0x4eeeac
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x34]
cmp byte [ecx], 8
mov ecx, dword [esp + 0x20]
jbe 0x4eef3f
mov eax, dword [ecx + 0x30]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x24]
inc edx
cmp dword [ecx + 0x34], 0
mov dword [esp + 0x34], edx
je 0x4eed76
push dword [ebp + 8]
mov edx, ecx
mov ecx, edi
call fcn.004e89e0
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x38], 0
jne 0x4f1e95
mov ecx, dword [edi + 0xdc]
test ecx, ecx
jne 0x4f1e5a
xor eax, eax
mov dword [edi + 0xdc], eax
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
push dword [ecx]
push eax
push str.expected__d_columns_for__s_but_got__d
push edi
call fcn.00476cf0
add esp, 0x14
jmp 0x4eeeac
mov edx, dword [ecx + 0x24]
mov dword [esp + 0x3c], eax
test edx, edx
je 0x4ef0d7
cmp byte [edx], 0x2c
mov dword [esp + 0x3c], eax
jne 0x4ef0d7
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
test dword [eax + 0x50], 0x8000
jne 0x4ef0d7
mov eax, dword [edi]
add eax, 0x57
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
jmp 0x4ef004
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x24]
lea ecx, [esp + 0x84]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
call fcn.004ec580
cmp dword [esp + 0x8c], 0
je 0x4ef0c9
lea eax, [esp + 0x84]
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], 0x4ec740
mov dword [esp + 0xbc], fcn.0042b340
mov edx, dword [eax + 0x24]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
test edx, edx
je 0x4ef0b0
lea ecx, [esp + 0xb4]
call fcn.004aba30
mov edx, dword [esp + 0x98]
test edx, edx
je 0x4ef0c9
mov ecx, dword [esp + 0x84]
mov ecx, dword [ecx]
call fcn.00473710
cmp dword [esp + 0x90], 0
jne 0x4ef000
mov ecx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [ecx], eax
jle 0x4ef8ac
nop dword [eax]
lea eax, [eax + eax*8]
lea edi, [ecx + eax*8]
mov eax, dword [edi + 0x40]
or eax, dword [edi + 0x44]
mov dword [esp + 0x58], edi
jne 0x4ef127
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4ef127
push dword [edi + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, 0x14
push 0x5960c0
push eax
call fcn.004c0bc0
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4ef897
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.004af6d0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xd8]
add eax, dword [esp + 0xc]
mov dword [ecx + 0xd8], eax
mov eax, dword [esp + 0x4c]
test dword [eax + 0x50], 0x1000
jne 0x4ef1a5
test byte [edi + 0x30], 0x80
je 0x4ef180
mov eax, dword [edi + 0x4c]
cmp byte [eax + 0x12], 0
je 0x4ef1a5
cmp dword [eax], 2
jge 0x4ef1a5
movzx eax, byte [edi + 0x2c]
mov edx, dword [esp + 0x24]
shr eax, 5
and eax, 1
push eax
mov eax, dword [esp + 0x24]
push dword [edi + 0x34]
push dword [eax + 0x24]
call fcn.004ec7b0
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp dword [esp + 0x18], 0
mov eax, dword [ecx + 0xf8]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0xf8], eax
jne 0x4ef37b
mov eax, dword [esp + 0x3c]
cmp dword [eax], 1
je 0x4ef1d6
test byte [eax + 0x74], 0xa
je 0x4ef37b
test byte [edi + 0x30], 0x80
je 0x4ef1e9
mov eax, dword [edi + 0x4c]
cmp byte [eax + 0x12], 0
je 0x4ef37b
mov eax, dword [esi + 0x74]
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
mov dword [edi + 0x24], edx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x10], eax
inc eax
mov dword [esp + 0xc], eax
cmp dword [esi + 0x78], ecx
jg 0x4ef21f
push eax
push 0
push edx
mov edx, 0xd
mov ecx, esi
call fcn.00497f80
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4ef252
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x24]
mov dword [esp + 0x88], eax
lea eax, [edi + 8]
push eax
push str.CO_ROUTINE___S
push 1
push dword [esp + 0x20]
mov dword [edi + 0x20], edx
mov byte [esp + 0x94], 0xd
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
call fcn.00498580
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x94]
mov ecx, dword [esp + 0x24]
push eax
call fcn.004eeb30
mov eax, dword [esp + 0x38]
add esp, 0x14
mov ecx, dword [edi + 0x18]
mov ax, word [eax + 2]
mov word [ecx + 0x26], ax
or dword [edi + 0x30], 0x10
mov eax, dword [esp + 0x90]
mov edx, dword [edi + 0x24]
mov dword [edi + 0x28], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ef2fd
push 0
push 0
push edx
mov edx, 0x44
mov ecx, esi
call fcn.00497f80
add esp, 0xc
jmp 0x4ef32c
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x44
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 eax, dword [esi + 0xc]
mov byte [eax + 0x13], 0
mov eax, dword [esi + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4ef34f
mov eax, 0x5d4b70
jmp 0x4ef364
mov ecx, dword [esp + 0x10]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x14]
mov dword [eax + 8], edx
mov byte [edi + 0x13], 0
mov dword [edi + 0x1c], 0
jmp 0x4ef85a
test byte [edi + 0x30], 0x80
je 0x4ef474
mov eax, dword [edi + 0x4c]
mov dword [esp + 0xc], eax
mov edx, dword [eax + 4]
test edx, edx
jle 0x4ef474
mov ecx, dword [esi + 0x74]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x78], ecx
jg 0x4ef3bb
push 0
push edx
push eax
mov edx, 0xc
mov ecx, esi
call fcn.00497f80
add esp, 0xc
jmp 0x4ef3ee
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x58]
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 edx, dword [esp + 0xc]
mov edi, dword [edi + 0x34]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x10], eax
cmp edi, eax
je 0x4ef463
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ef430
push 0
push eax
push edi
mov edx, 0x71
mov ecx, esi
call fcn.00497f80
mov edx, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov ax, word [edx + 0x10]
mov word [ecx + 2], ax
jmp 0x4ef856
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x24]
mov ax, word [edx + 0x10]
mov word [ecx + 2], ax
jmp 0x4ef856
mov eax, dword [edi + 0x1c]
test dword [eax + 4], 0x1000000
jne 0x4ef50e
mov edx, dword [esp + 0x3c]
lea eax, [edi + 8]
add edx, 8
mov dword [esp + 0x34], edx
cmp edx, eax
jae 0x4ef50e
mov eax, dword [edx + 0x14]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4ef4fc
test byte [edx + 0x28], 0x10
jne 0x4ef4fc
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x4ef4fc
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x18]
mov edx, dword [esp + 0xc]
cmp edx, dword [eax + 0x3c]
mov edx, dword [esp + 0x34]
jne 0x4ef4fc
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4ef4fc
mov edx, eax
call fcn.00476e90
test eax, eax
jne 0x4ef4f8
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0xc], eax
jne 0x4ef4ef
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x10]
cmp eax, dword [ecx + 0x10]
jne 0x4ef4f8
test dword [ecx + 4], 0x1000000
je 0x4ef550
mov edx, dword [esp + 0x34]
add edx, 0x48
lea eax, [edi + 8]
mov dword [esp + 0x34], edx
cmp edx, eax
jb 0x4ef496
mov ecx, dword [esp + 0x14]
inc dword [ecx + 0x2c]
xor eax, eax
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x2c]
mov dword [edi + 0x24], eax
mov edx, dword [esi + 0x74]
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x78], edx
jg 0x4ef63e
push 0
push eax
push 0
mov edx, 0x47
mov ecx, esi
call fcn.00497f80
mov edx, eax
add esp, 0xc
mov dword [esp + 0x2c], edx
jmp 0x4ef675
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x18]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4ef5ba
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0xc]
cmp dword [esi + 0x78], ecx
jg 0x4ef587
push 0
push eax
push edx
mov edx, 0xc
mov ecx, esi
call fcn.00497f80
add esp, 0xc
jmp 0x4ef5b6
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
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 edx, dword [esp + 0x34]
mov ecx, dword [esi + 0x74]
mov eax, dword [edx + 0x2c]
mov edi, dword [edi + 0x34]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x78], ecx
jg 0x4ef5f7
push 0
push eax
push edi
mov edx, 0x71
mov ecx, esi
call fcn.00497f80
mov edx, dword [esp + 0x40]
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov eax, dword [edx + 0x14]
mov ax, word [eax + 2]
mov word [ecx + 2], ax
jmp 0x4ef856
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edx + 0x14]
mov ecx, dword [esp + 0x24]
mov ax, word [eax + 2]
mov word [ecx + 2], ax
jmp 0x4ef856
mov edi, dword [esp + 0x10]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x58]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test byte [edi + 0x30], 8
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
jne 0x4ef6db
mov edx, dword [esi + 0x74]
mov dword [esp + 0x6c], edx
cmp dword [esi + 0x78], edx
jg 0x4ef6a8
push 0
push 0
push 0
mov edx, 0x11
mov ecx, esi
call fcn.00497f80
add esp, 0xc
mov dword [esp + 0x6c], eax
jmp 0x4ef6db
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x34]
mov dword [esp + 0x88], eax
lea eax, [edi + 8]
push eax
push str.MATERIALIZE___S
push 1
push dword [esp + 0x20]
mov byte [esp + 0x94], 0xc
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
call fcn.00498580
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x94]
mov ecx, dword [esp + 0x24]
push eax
call fcn.004eeb30
mov edx, dword [esp + 0x38]
add esp, 0x14
mov ecx, dword [edi + 0x18]
mov ax, word [edx + 2]
mov word [ecx + 0x26], ax
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4ef78c
mov eax, dword [esi + 0x74]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4ef772
mov eax, 0x5d4b70
jmp 0x4ef785
mov eax, dword [esp + 0xc]
dec eax
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x74]
mov eax, dword [edi + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
cmp dword [esi + 0x78], ecx
jg 0x4ef7bd
push 0
push 0
push eax
mov edx, 0x43
mov ecx, esi
call fcn.00497f80
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x4ef7f4
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x58]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jns 0x4ef800
mov ecx, dword [esi + 0x74]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4ef80f
mov ecx, 0x5d4b70
jmp 0x4ef818
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x14]
mov byte [eax + 0x13], 0
mov dword [eax + 0x1c], 0
mov eax, dword [edi + 0x30]
test al, al
jns 0x4ef856
test al, 8
jne 0x4ef856
mov ecx, dword [edi + 0x4c]
mov eax, dword [edi + 0x20]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x24]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x34]
mov dword [ecx + 0xc], eax
mov ax, word [edx + 2]
mov word [ecx + 0x10], ax
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0x57], 0
jne 0x4eeeac
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.004af6d0
mov eax, dword [esp + 0xc]
sub dword [edi + 0xd8], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0xf8], eax
jmp 0x4ef89b
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ecx]
jl 0x4ef0f0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x6c], eax
mov al, byte [ecx + 4]
and al, 1
mov byte [esp + 0xa4], al
mov eax, edx
and al, 9
cmp al, 1
jne 0x4ef9cf
mov eax, dword [esp + 0xd0]
test eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
jne 0x4ef907
test eax, eax
jne 0x4ef9d3
jmp 0x4ef9a2
test eax, eax
je 0x4ef9d3
mov eax, dword [esp + 0xd0]
mov esi, dword [esp + 0x5c]
mov eax, dword [eax]
cmp eax, dword [esi]
mov esi, dword [esp + 0x54]
jne 0x4ef9cf
mov dword [esp + 0xc], 0
test eax, eax
jle 0x4ef99e
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x5c]
add ecx, 8
add edx, 8
mov dword [esp + 0x60], ecx
mov dword [esp + 0x2c], edx
nop word [eax + eax]
mov al, byte [ecx + 8]
cmp al, byte [edx + 8]
jne 0x4ef9cf
push 0xffffffffffffffff
push dword [edx]
mov edx, dword [ecx]
xor ecx, ecx
call fcn.004b8350
add esp, 8
test eax, eax
jne 0x4ef9cf
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0x60]
add edx, 0x14
add ecx, 0x14
mov dword [esp + 0xc], eax
cmp eax, dword [edi]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x60], ecx
jl 0x4ef950
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x5c]
cmp dword [ecx + 0x44], 0
jne 0x4ef9cf
and edx, 0xfffffffe
mov dword [ecx + 4], edx
mov edx, eax
mov ecx, dword [esp + 0x4c]
push 0
call fcn.004b0ae0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
or dword [eax + 4], 8
mov dword [eax + 0x28], ecx
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0xd0]
test edx, edx
je 0x4efaf6
push dword [eax]
mov ecx, edi
push 0
call fcn.004e6250
mov dword [esp + 0x48], eax
add esp, 8
mov eax, dword [edi + 0x28]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xc], eax
lea ecx, [eax + 1]
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0xd0]
mov edx, dword [eax]
inc edx
mov eax, dword [ecx]
add eax, edx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
cmp dword [esi + 0x78], edx
jg 0x4efa48
push 0
push eax
push dword [esp + 0x14]
mov edx, 0x74
mov ecx, esi
call fcn.00497f80
mov edx, eax
add esp, 0xc
mov dword [esp + 0x18], edx
jmp 0x4efa7f
mov edi, dword [esp + 0xc]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
mov eax, edx
cmp byte [ecx + 0x57], 0
je 0x4efaaa
mov ecx, dword [esp + 0x40]
mov edx, 0xfffffff7
push ecx
mov ecx, dword [esi]
call fcn.00498a90
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0xe4], edx
jmp 0x4efb01
test edx, edx
jns 0x4efab2
mov eax, dword [esi + 0x74]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x40]
je 0x4efae2
push 0xfffffffffffffff7
push ecx
mov edx, eax
mov ecx, esi
call fcn.00498ce0
mov edx, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0xe4], edx
jmp 0x4efb01
test ecx, ecx
je 0x4efaed
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf7
mov dword [esp + 0xe4], edx
jmp 0x4efb01
mov dword [esp + 0xe4], 0xffffffff
mov ecx, dword [ebp + 8]
lea edx, [edi + 0x28]
mov dword [esp + 0x34], edx
cmp byte [ecx], 0xc
jne 0x4efb88
mov eax, dword [esp + 0x5c]
mov ecx, dword [esi + 0x74]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x78], ecx
jg 0x4efb47
mov ecx, dword [ebp + 8]
mov edx, 0x74
push 0
push eax
mov eax, dword [ecx + 4]
mov ecx, esi
push eax
call fcn.00497f80
lea eax, [edi + 0x28]
add esp, 0xc
mov dword [esp + 0x34], eax
lea edx, [edi + 0x28]
jmp 0x4efb88
mov edi, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [esp + 0x34], edx
mov esi, dword [edi + 4]
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x38]
mov eax, dword [esp + 0x20]
dec ecx
mov dword [edi + 0x38], ecx
mov dword [esp + 0x10c], ecx
test dword [eax + 4], 0x4000
jne 0x4efbb4
mov esi, 0x140
mov dword [esp + 0x34], edx
mov word [eax + 2], si
mov esi, dword [esp + 0x54]
push ecx
mov edx, eax
mov ecx, edi
call fcn.004e7c60
mov edx, dword [esp + 0x24]
add esp, 4
cmp dword [edx + 8], 0
jne 0x4efc1c
mov ecx, dword [esp + 0xe4]
lea eax, [edi + 0x28]
mov dword [esp + 0x34], eax
test ecx, ecx
js 0x4efc20
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4efbfe
mov eax, 0x5d4b70
mov byte [eax], 0x76
lea eax, [edi + 0x28]
or byte [esp + 0xf0], 1
mov dword [esp + 0x34], eax
jmp 0x4efc20
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4], 0x76
or byte [esp + 0xf0], 1
lea eax, [eax + ecx*4]
lea eax, [edi + 0x28]
mov dword [esp + 0x34], eax
jmp 0x4efc20
mov eax, dword [esp + 0x34]
test byte [edx + 4], 1
je 0x4efd3a
mov eax, dword [eax]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xa8], eax
inc eax
push 0
push 0
mov dword [ecx], eax
mov ecx, edi
mov edx, dword [edx + 0x1c]
call fcn.004e6250
mov ecx, dword [esi + 0x74]
add esp, 8
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x78], ecx
jg 0x4efc7c
push 0
push 0
push edx
mov edx, 0x74
mov ecx, esi
call fcn.00497f80
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x4efcb3
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4efccf
mov edx, dword [esp + 0x40]
push edx
mov edx, 0xfffffff7
call fcn.00498a90
add esp, 4
jmp 0x4efd0a
cmp dword [esp + 0x18], 0
jge 0x4efcda
mov eax, dword [esi + 0x74]
dec eax
mov edx, dword [esp + 0x40]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4efcff
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, esi
call fcn.00498ce0
add esp, 8
jmp 0x4efd0a
test edx, edx
je 0x4efd0a
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 0x18]
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4efd2c
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x20]
mov byte [esp + 0xa5], 3
jmp 0x4efd42
mov byte [esp + 0xa5], 0
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x44]
jne 0x4f006f
test eax, eax
jne 0x4f006f
xor ecx, ecx
mov dword [esp + 0x10], 0x4000
cmp byte [esp + 0xa4], cl
mov eax, 0x100
cmovne ecx, eax
mov ax, word [edx + 4]
and ax, word [esp + 0x10]
or cx, ax
movzx eax, cx
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x44]
mov dword [esp + 0x28], eax
test eax, eax
je 0x4efd9b
mov ecx, edi
call fcn.0050f7a0
mov edx, dword [esp + 0x20]
movsx eax, word [edx + 2]
mov ecx, edi
push eax
push dword [esp + 0x14]
push edx
push dword [edx + 0x1c]
mov edx, dword [esp + 0x4c]
push dword [esp + 0xe0]
push dword [esp + 0x6c]
call fcn.0050bc50
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4eeeac
mov eax, dword [esp + 0x20]
movzx edx, word [ecx + 0x38]
cmp dx, word [eax + 2]
jge 0x4efde1
mov word [eax + 2], dx
cmp byte [esp + 0xa4], 0
je 0x4efe09
mov cl, byte [ecx + 0x33]
movzx edx, byte [esp + 0xa5]
test cl, cl
movzx eax, cl
mov ecx, dword [esp + 0x18]
cmovne edx, eax
mov byte [esp + 0xa5], dl
mov edx, dword [esp + 0xd0]
test edx, edx
je 0x4efe54
movsx eax, byte [ecx + 0x31]
mov dword [esp + 0xd4], eax
test byte [ecx + 0x34], 4
jne 0x4efe2a
mov eax, dword [ecx + 0x20]
jmp 0x4efe38
movzx eax, byte [ecx + 0x30]
imul eax, eax, 0x58
mov eax, dword [eax + ecx + 0x2b8]
mov dword [esp + 0xec], eax
xor ecx, ecx
mov eax, dword [esp + 0xd4]
cmp eax, dword [edx]
cmove edx, ecx
mov dword [esp + 0xd0], edx
mov eax, dword [esp + 0xe4]
test eax, eax
js 0x4efe93
test edx, edx
jne 0x4efe93
mov ecx, dword [esi]
cmp byte [ecx + 0x57], dl
jne 0x4efe93
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x70]
push dword [eax + edx*4 + 0x10]
lea edi, [eax + edx*4]
movsx edx, byte [edi + 1]
call fcn.00498a90
mov word [edi], 0xb6
add esp, 4
mov dword [edi + 0x10], 0
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x28], 0
mov edx, dword [esp + 0x20]
je 0x4f0031
mov eax, dword [edi + 0x38]
inc dword [edi + 0x2c]
lea ecx, [eax - 1]
sub eax, 2
mov dword [esp + 0xc], eax
dec eax
push ecx
mov dword [esp + 0x54], eax
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x2c]
push eax
push dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, edi
mov dword [esp + 0x38], eax
call fcn.00513000
mov ecx, dword [esi + 0x74]
add esp, 0xc
mov edx, dword [esp + 0x50]
cmp dword [esi + 0x78], ecx
jg 0x4efef7
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00497f80
add esp, 0xc
jmp 0x4eff26
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x40], eax
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4eff4b
push edx
mov edx, esi
call fcn.004987a0
add esp, 4
jmp 0x4eff54
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
push dword [esp + 0x50]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0xa8]
push dword [esp + 0x10]
mov ecx, edi
mov dword [esp + 0xf4], 0
push dword [ebp + 8]
push eax
lea eax, [esp + 0xe0]
push eax
push 0xffffffffffffffff
call fcn.004e51e0
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4effa8
push edx
mov edx, esi
call fcn.004987a0
add esp, 4
jmp 0x4effb1
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x2c]
cmp dword [esi + 0x78], ecx
jg 0x4effd3
push 0
push 0
push edx
mov edx, 0x43
mov ecx, esi
call fcn.00497f80
add esp, 0xc
jmp 0x4f0002
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x43
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 + 0x50]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f0023
push edx
mov edx, esi
call fcn.004987a0
add esp, 4
jmp 0x4f1d97
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
jmp 0x4f1d97
mov eax, dword [esp + 0x18]
mov ecx, edi
push dword [eax + 0x24]
push dword [eax + 0x20]
lea eax, [esp + 0xac]
push dword [ebp + 8]
push eax
lea eax, [esp + 0xe0]
push eax
push 0xffffffffffffffff
call fcn.004e51e0
mov ecx, dword [esp + 0x30]
add esp, 0x18
call fcn.0050c8a0
lea eax, [esi + 0xc]
mov dword [esp + 0x40], eax
jmp 0x4f1d97
mov dword [esp + 0x48], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x60], 0
test eax, eax
je 0x4f01a8
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx]
test eax, eax
jle 0x4f00b2
add ecx, 0x1a
nop dword [eax + eax]
xor edi, edi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], di
test eax, eax
jg 0x4f00a0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
lea ecx, [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x18], ecx
test eax, eax
jle 0x4f00d8
add ecx, 0x12
xor esi, esi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], si
test eax, eax
jg 0x4f00c6
mov esi, dword [esp + 0x54]
cmp word [edx + 2], 0x42
jle 0x4f00e8
mov eax, 0x42
mov word [edx + 2], ax
mov ecx, dword [esp + 0xd0]
test ecx, ecx
je 0x4f01ae
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4f01ae
test eax, eax
jle 0x4f0134
mov edi, dword [esp + 0x44]
xor edx, edx
xor esi, esi
mov al, byte [edx + ecx + 0x10]
lea edx, [edx + 0x14]
and al, 1
inc esi
mov byte [edi + edx - 4], al
mov eax, dword [edi]
mov ecx, dword [esp + 0xd0]
cmp esi, eax
jl 0x4f0111
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x14]
test ecx, ecx
je 0x4f01ae
cmp eax, dword [ecx]
jne 0x4f01ae
mov dword [esp + 0xc], 0
test eax, eax
jle 0x4f019e
mov eax, dword [esp + 0x18]
add ecx, 8
mov dword [esp + 0x2c], ecx
mov al, byte [eax + 8]
cmp al, byte [ecx + 8]
jne 0x4f01ae
push 0xffffffffffffffff
push dword [ecx]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
xor ecx, ecx
call fcn.004b8350
add esp, 8
test eax, eax
jne 0x4f01ae
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
inc edx
mov eax, dword [esp + 0x18]
add ecx, 0x14
add eax, 0x14
mov dword [esp + 0xc], edx
cmp edx, dword [esi]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], eax
jl 0x4f0153
mov dword [esp + 0x60], 1
jmp 0x4f01ae
xor eax, eax
mov word [edx + 2], ax
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
push 0
push 0x34
test eax, eax
je 0x4f01d3
mov ecx, eax
call fcn.00473b00
mov ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x4f01de
call fcn.00473440
mov ecx, eax
mov dword [esp + 0x24], eax
add esp, 8
test ecx, ecx
je 0x4f0286
push 0x34
push 0
push ecx
call fcn.005518b0
mov ecx, dword [edi]
add esp, 0xc
push 0
push 0xc
test ecx, ecx
je 0x4f0207
call fcn.00473b00
jmp 0x4f020c
call fcn.00473440
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4f023d
mov eax, dword [edi + 0x80]
mov edx, dword [esp + 0x3c]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x80], ecx
mov dword [ecx + 4], eax
mov dword [ecx + 8], 0x4eeaf0
mov ecx, eax
mov dword [esp + 0x3c], edx
jmp 0x4f028a
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
mov dword [esp + 0xc], eax
mov edx, dword [ecx + 0x1c]
test edx, edx
je 0x4f025d
mov ecx, eax
call fcn.00473710
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x4f026b
mov ecx, eax
call fcn.00473710
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
call fcn.00473710
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
jmp 0x4f028a
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0x57], 0
jne 0x4eeeac
mov eax, dword [esp + 0x20]
xorps xmm0, xmm0
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x30], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x88], edx
inc eax
mov edx, dword [esp + 0x44]
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x84], edi
mov dword [esp + 0x8c], ecx
mov dword [ecx + 0x10], eax
test edx, edx
je 0x4f02ea
mov eax, dword [edx]
jmp 0x4f02ec
xor eax, eax
mov dword [ecx + 0x18], edx
mov edx, dword [esp + 0x5c]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x84]
call fcn.004b9250
mov edx, dword [esp + 0xd0]
lea ecx, [esp + 0x84]
call fcn.004b9250
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4f03cf
cmp dword [esp + 0x44], 0
je 0x4f037c
mov eax, dword [esp + 0x20]
xorps xmm0, xmm0
movlpd qword [esp + 0xbc], xmm0
movlpd qword [esp + 0xc4], xmm0
mov dword [esp + 0xb4], edi
mov edx, dword [eax + 0x2c]
mov dword [esp + 0xb8], 0x4ee970
mov dword [esp + 0xcc], eax
test edx, edx
je 0x4f0375
lea ecx, [esp + 0xb4]
call fcn.004aba30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x6c]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x84]
mov dword [esp + 0xb8], 0x4b8fe0
mov edx, ecx
mov dword [esp + 0xbc], 0x4abcf0
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc0], 0x4abd00
mov dword [esp + 0xc4], 0
mov dword [esp + 0xcc], eax
mov dword [esp + 0xb4], 0
call fcn.004aba30
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x28], 0
jne 0x4f0501
cmp dword [eax + 0x2c], 0
jne 0x4f0501
cmp dword [ecx + 0x2c], 1
jne 0x4f0501
mov eax, dword [ecx + 0x28]
mov eax, dword [eax]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x4f0501
cmp dword [ecx], 1
jne 0x4f0501
test dword [eax + 4], 0x1000000
jne 0x4f0501
mov ecx, dword [esp + 0x4c]
test dword [ecx + 0x50], 0x10000
jne 0x4f0501
mov ecx, dword [eax + 8]
mov eax, 0x5aa484
sub eax, ecx
mov dword [esp + 0x18], ecx
mov edx, ecx
mov dword [esp + 0x10], eax
nop word [eax + eax]
movzx ecx, byte [edx]
movzx eax, byte [eax + edx]
cmp ecx, eax
jne 0x4f047f
test ecx, ecx
jne 0x4f0491
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 8]
call fcn.004b1b00
neg eax
mov byte [esp + 0x3b], 1
sbb al, al
and eax, 0xffffff02
mov dword [esp + 0x2c], eax
jmp 0x4f04bc
movzx eax, byte [eax + 0x599b18]
movzx ecx, byte [ecx + 0x599b18]
sub ecx, eax
jne 0x4f0498
mov eax, dword [esp + 0x10]
inc edx
jmp 0x4f0450
mov eax, dword [esp + 0x18]
mov edx, 0x5aa488
sub edx, eax
movzx ecx, byte [eax]
movzx eax, byte [edx + eax]
cmp ecx, eax
jne 0x4f04e4
test ecx, ecx
jne 0x4f04f6
mov byte [esp + 0x2c], 1
mov byte [esp + 0x3b], 2
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
push 0
call fcn.004b0ae0
mov ecx, eax
add esp, 4
mov dword [esp + 0xb0], ecx
test ecx, ecx
je 0x4f0506
mov eax, dword [esp + 0x2c]
mov byte [ecx + 0x10], al
jmp 0x4f0506
movzx eax, byte [eax + 0x599b18]
movzx ecx, byte [ecx + 0x599b18]
sub ecx, eax
jne 0x4f0501
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
jmp 0x4f04a3
mov byte [esp + 0x3b], 0
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x2c], 0
jle 0x4f05db
mov ecx, dword [esp + 0x9c]
xor esi, esi
xor edi, edi
nop
mov eax, dword [eax + 0x28]
or ecx, 0x20000
mov eax, dword [esi + eax]
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x10], eax
mov edx, dword [eax + 0x14]
call fcn.004b9250
mov eax, dword [esp + 0x10]
test dword [eax + 4], 0x1000000
je 0x4f05ae
mov eax, dword [eax + 0x2c]
mov dword [esp + 0xb8], 0x4b8fe0
mov dword [esp + 0xbc], 0x4abcf0
mov dword [esp + 0xc0], 0x4abd00
mov edx, dword [eax + 0x28]
lea eax, [esp + 0x84]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xcc], eax
mov dword [esp + 0xb4], 0
test edx, edx
je 0x4f05ae
lea ecx, [esp + 0xb4]
call fcn.004aba30
mov ecx, dword [esp + 0x9c]
inc edi
mov eax, dword [esp + 0x1c]
and ecx, 0xfffdffff
mov dword [esp + 0x9c], ecx
add esi, 0x14
cmp edi, dword [eax + 0x2c]
jl 0x4f0520
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x2c]
mov dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x4c]
cmp byte [ecx + 0x57], 0
jne 0x4f1e3f
cmp dword [esp + 0x44], 0
je 0x4f16c2
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], 0
mov dword [esp + 0x2c], 0
cmp dword [eax + 0x2c], 1
jne 0x4f06f1
mov eax, dword [eax + 0x28]
cmp dword [eax + 0xc], 0
jl 0x4f06f1
mov eax, dword [eax]
test eax, eax
je 0x4f06f1
test dword [eax + 4], 0x800
jne 0x4f06f1
mov edx, dword [eax + 0x14]
test edx, edx
je 0x4f06f1
mov edx, dword [edx + 8]
test edx, edx
je 0x4f0668
push 0
push 0
call fcn.004b0670
mov ecx, dword [esp + 0x54]
add esp, 8
mov dword [esp + 0x50], eax
jmp 0x4f0670
mov dword [esp + 0x50], 0
mov edx, dword [esp + 0x44]
push 0
call fcn.004b0ae0
mov ecx, eax
add esp, 4
mov dword [esp + 0x78], ecx
test ecx, ecx
jne 0x4f0699
mov edx, dword [esp + 0x50]
mov ecx, dword [edi]
call fcn.004b1250
mov dword [esp + 0x78], eax
jmp 0x4f06e4
mov eax, dword [ecx]
lea edx, [eax + 1]
cmp dword [ecx + 4], edx
jge 0x4f06ba
mov eax, dword [esp + 0x50]
mov edx, ecx
mov ecx, dword [edi]
push eax
call fcn.004b12c0
add esp, 4
mov dword [esp + 0x78], eax
jmp 0x4f06e4
movups xmm0, xmmword [0x598a34]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x78]
mov dword [eax], edx
mov eax, dword [0x598a44]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x78]
neg eax
sbb eax, eax
and eax, 0x500
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx]
mov dword [ecx + 4], eax
inc dword [edx]
push dword [ecx + 0x20]
mov edx, dword [esp + 0x48]
mov ecx, edi
push 0
call fcn.004e6250
mov ecx, dword [esi + 0x74]
add esp, 8
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x78], ecx
jg 0x4f074f
push 0
push edx
push eax
mov edx, 0x76
mov ecx, esi
call fcn.00497f80
mov edx, eax
add esp, 0xc
mov dword [esp + 0xc], edx
jmp 0x4f0786
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
mov eax, edx
cmp byte [ecx + 0x57], 0
je 0x4f07a7
mov edx, dword [esp + 0x80]
push edx
mov edx, 0xfffffff7
call fcn.00498a90
add esp, 4
jmp 0x4f07e2
test edx, edx
jns 0x4f07af
mov eax, dword [esi + 0x74]
dec eax
mov edx, dword [esp + 0x80]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4f07d7
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, esi
call fcn.00498ce0
add esp, 8
jmp 0x4f07e2
test edx, edx
je 0x4f07e2
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [edi + 0x2c]
inc eax
mov dword [esp + 0x7c], eax
lea edx, [eax + 1]
mov eax, dword [edi + 0x38]
dec eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x18], eax
lea ecx, [edx + 2]
dec eax
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x38], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], ecx
add ecx, dword [eax]
mov dword [edi + 0x2c], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
add eax, ecx
mov dword [edi + 0x2c], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f0844
push 0
push edx
push 0
mov edx, 0x47
mov ecx, esi
call fcn.00497f80
add esp, 0xc
jmp 0x4f0877
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x68]
mov ecx, dword [esi + 0x74]
add edx, dword [eax]
cmp dword [esi + 0x78], ecx
jg 0x4f08a3
mov eax, dword [esp + 0x68]
mov ecx, esi
push edx
inc eax
mov edx, 0x4a
push eax
push 0
call fcn.00497f80
add esp, 0xc
jmp 0x4f08db
mov edi, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
inc edi
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x4a
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 + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f08fe
push 0
push dword [esp + 0x54]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x70]
call fcn.00497f80
add esp, 0xc
jmp 0x4f0931
mov edx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
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 + 0x60], 0
mov ecx, 0x240
mov edx, dword [esp + 0x3c]
mov eax, 0x40
cmovne eax, ecx
mov ecx, edi
or ax, word [esp + 0x2c]
push 0
movzx eax, ax
push eax
mov eax, dword [esp + 0x80]
push 0
push eax
push dword [esp + 0x54]
push dword [esp + 0x6c]
call fcn.0050bc50
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x4f0994
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x4c]
test eax, eax
je 0x4f1e3f
mov edx, eax
call fcn.004b16a0
jmp 0x4f1e3b
movzx eax, byte [ecx + 0x33]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], eax
movsx eax, byte [ecx + 0x31]
cmp eax, dword [edx]
jne 0x4f09b3
xor eax, eax
mov dword [esp + 0x58], eax
jmp 0x4f0d72
cmp byte [esp + 0xa4], 0
je 0x4f09cc
mov eax, dword [esp + 0x20]
test byte [eax + 4], 1
mov eax, str.DISTINCT
je 0x4f09d1
mov eax, str.GROUP_BY
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push edi
call fcn.00498580
mov eax, dword [esp + 0x54]
add esp, 0x10
mov dword [esp + 0x58], 1
mov edx, dword [eax]
mov ecx, edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], edx
mov dword [esp + 0x70], ecx
mov eax, dword [eax + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
jle 0x4f0a44
mov eax, dword [esp + 0x1c]
mov edi, edx
mov esi, dword [eax + 0x1c]
add esi, 0x12
movsx ecx, word [esi]
lea eax, [edi + 1]
cmp ecx, edx
lea esi, [esi + 0x14]
cmovl eax, edi
mov edi, eax
lea eax, [edx + 1]
cmovl eax, edx
sub dword [esp + 0x30], 1
mov edx, eax
jne 0x4f0a15
mov esi, dword [esp + 0x54]
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
cmp ecx, 1
jne 0x4f0a77
mov cl, byte [edi + 0x13]
lea eax, [edi + 0x13]
mov dword [esp + 0x30], eax
test cl, cl
jne 0x4f0a63
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x3c], eax
jmp 0x4f0aa4
dec cl
mov byte [eax], cl
movzx eax, cl
mov eax, dword [edi + eax*4 + 0x98]
mov dword [esp + 0x3c], eax
jmp 0x4f0aa4
mov edx, dword [edi + 0x20]
mov dword [esp + 0x3c], edx
cmp ecx, dword [edi + 0x1c]
jg 0x4f0a8e
sub dword [edi + 0x1c], ecx
lea eax, [ecx + edx]
mov dword [edi + 0x20], eax
jmp 0x4f0a9d
mov eax, dword [edi + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x3c], edx
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x13]
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x44]
mov ecx, edi
push 0
push 0
push dword [esp + 0x44]
call fcn.004b75c0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x74], 0
cmp dword [edx + 0x20], 0
jle 0x4f0b47
mov ecx, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x4f0ae4
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0x1c]
add edx, eax
movsx eax, word [edx + 0x12]
cmp eax, ecx
jl 0x4f0b15
mov eax, dword [esp + 0x3c]
add eax, ecx
mov ecx, esi
push eax
movsx eax, word [edx + 0x10]
push eax
push dword [edx + 8]
mov edx, dword [edx]
call fcn.004b4b70
mov ecx, dword [esp + 0x54]
add esp, 0xc
inc ecx
mov dword [esp + 0x48], ecx
mov esi, dword [esp + 0x1c]
lea eax, [edi + 0x13]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x28], eax
inc edx
mov eax, dword [esp + 0x30]
add eax, 0x14
mov dword [esp + 0x74], edx
cmp edx, dword [esi + 0x20]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x30], eax
jl 0x4f0ae0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], eax
jmp 0x4f0b4a
lea eax, [edi + 0x13]
mov cl, byte [eax]
test cl, cl
jne 0x4f0b58
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x4f0b66
dec cl
mov byte [eax], cl
movzx eax, cl
mov eax, dword [edi + eax*4 + 0x98]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x48], eax
cmp dword [esi + 0x78], ecx
jg 0x4f0b91
mov edx, dword [esp + 0x70]
mov ecx, esi
push eax
push edx
push dword [esp + 0x44]
mov edx, 0x60
call fcn.00497f80
mov edx, dword [esp + 0x54]
add esp, 0xc
jmp 0x4f0bc4
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
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 eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x74]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
cmp dword [esi + 0x78], ecx
jg 0x4f0bf0
push 0
push edx
push eax
mov edx, 0x8a
mov ecx, esi
call fcn.00497f80
mov edx, dword [esp + 0x54]
add esp, 0xc
jmp 0x4f0c23
mov edi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x8a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x30]
test edx, edx
je 0x4f0c3d
mov al, byte [ecx]
cmp al, 8
jae 0x4f0c3d
movzx eax, al
mov dword [edi + eax*4 + 0x98], edx
inc byte [ecx]
mov eax, dword [esp + 0x70]
cmp eax, 1
jne 0x4f0c62
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x4f0c71
mov al, byte [ecx]
cmp al, 8
jae 0x4f0c71
movzx eax, al
mov dword [edi + eax*4 + 0x98], edx
inc byte [ecx]
jmp 0x4f0c71
cmp eax, dword [edi + 0x1c]
jle 0x4f0c71
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x2c]
call fcn.0050c8a0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x30]
inc dword [ecx]
mov dword [esp + 0x48], edx
mov cl, byte [eax]
test cl, cl
jne 0x4f0c9f
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x4f0cad
dec cl
mov byte [eax], cl
movzx eax, cl
mov eax, dword [edi + eax*4 + 0x98]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x30], eax
cmp dword [esi + 0x78], ecx
jg 0x4f0cd4
mov edx, dword [esp + 0x70]
mov ecx, esi
push edx
push eax
push dword [esp + 0x50]
mov edx, 0x78
call fcn.00497f80
add esp, 0xc
jmp 0x4f0d07
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x70]
mov dword [eax + ecx*4], 0x78
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + 4]
cmp dword [esi + 0x78], ecx
jg 0x4f0d2e
push 0
push dword [esp + 0x28]
mov ecx, esi
push edx
mov edx, 0x24
call fcn.00497f80
add esp, 0xc
jmp 0x4f0d61
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov byte [eax + 1], 1
mov eax, 1
cmp dword [esp + 0x60], 0
je 0x4f0dd0
mov edx, dword [esp + 0x4c]
test byte [edx + 0x50], 4
jne 0x4f0dd0
test eax, eax
jne 0x4f0d8d
test byte [ecx + 0x34], 8
je 0x4f0dd0
mov dword [esp + 0xd0], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
jne 0x4f0dd0
mov eax, dword [esp + 0xe4]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x70]
push dword [eax + edx*4 + 0x10]
lea edi, [eax + edx*4]
movsx edx, byte [edi + 1]
call fcn.00498a90
mov word [edi], 0xb6
add esp, 4
mov dword [edi + 0x10], 0
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x58], 0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x74], ecx
je 0x4f0e37
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
cmp dword [esi + 0x78], ecx
jg 0x4f0e04
push dword [esp + 0x48]
mov ecx, esi
push dword [esp + 0x34]
push edx
mov edx, 0x84
call fcn.00497f80
add esp, 0xc
jmp 0x4f0e37
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x84
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x60], eax
cmp dword [ecx], eax
jle 0x4f0eeb
add ecx, 8
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x40]
add edx, eax
cmp dword [esp + 0x58], 0
mov dword [esp + 0x30], edx
je 0x4f0eb5
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f0e80
push edx
push eax
push dword [esp + 0x50]
mov edx, 0x5d
mov ecx, esi
call fcn.00497f80
add esp, 0xc
jmp 0x4f0ec9
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4f0ec9
mov eax, dword [esp + 0x1c]
push edx
mov byte [eax], 1
mov edx, dword [ecx]
mov ecx, edi
call fcn.004b7510
add esp, 4
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x44]
inc eax
mov ecx, dword [esp + 0x28]
add ecx, 0x14
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], ecx
cmp eax, dword [edx]
jl 0x4f0e50
mov ecx, edx
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4f0ef8
inc dword [eax]
mov edx, dword [esi + 0x74]
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
cmp dword [esi + 0x78], edx
jg 0x4f0f24
push eax
mov eax, dword [esp + 0x6c]
mov edx, 0x59
push dword [esp + 0x44]
inc eax
mov ecx, esi
push eax
call fcn.00497f80
add esp, 0xc
mov edx, eax
jmp 0x4f0f60
mov edi, dword [esp + 0x68]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
inc edi
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x40]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4f0f7f
mov edx, dword [esp + 0x80]
push edx
mov edx, 0xfffffff7
call fcn.00498a90
add esp, 4
jmp 0x4f0fba
test edx, edx
jns 0x4f0f87
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x80]
je 0x4f0faf
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, esi
call fcn.00498ce0
add esp, 8
jmp 0x4f0fba
test edx, edx
je 0x4f0fba
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [esi + 0x74]
mov dword [esp + 0x30], eax
lea edx, [eax + 1]
cmp dword [esi + 0x78], eax
jg 0x4f0fde
push edx
push 0
push edx
mov edx, 0x10
mov ecx, esi
call fcn.00497f80
add esp, 0xc
jmp 0x4f100a
mov edi, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov dword [esi + 0x74], 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 + 0x44]
mov dword [esp + 0x28], ecx
mov edx, dword [ecx + 0x74]
mov eax, dword [eax]
mov dword [esp + 0x60], eax
cmp dword [ecx + 0x78], edx
jg 0x4f103d
push eax
mov eax, dword [esp + 0x6c]
mov edx, 0x4e
inc eax
push eax
push dword [esp + 0x48]
call fcn.00497f80
add esp, 0xc
jmp 0x4f1079
mov edi, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
mov eax, dword [eax + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
inc edx
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f109e
mov eax, dword [esp + 0x64]
mov edx, 0xc
push 0
push dword [esp + 0x1c]
inc eax
mov ecx, esi
push eax
call fcn.00497f80
add esp, 0xc
jmp 0x4f10d6
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
inc edx
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
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 + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f10f9
push 0
push dword [esp + 0x28]
mov edx, 0x31
mov ecx, esi
push dword [esp + 0x6c]
call fcn.00497f80
add esp, 0xc
jmp 0x4f112c
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f114f
push 0
push dword [esp + 0x54]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x70]
call fcn.00497f80
add esp, 0xc
jmp 0x4f1182
mov edx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
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 + 0x74]
cmp byte [eax + 0x57], 0
je 0x4f1194
mov eax, 0x5d4b70
jmp 0x4f11a9
mov ecx, dword [esp + 0x30]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
push dword [esp + 0x10]
mov dword [eax + 8], edx
mov ecx, edi
push dword [esp + 0x20]
mov edx, dword [esp + 0x84]
call fcn.004ee410
mov ecx, dword [esi + 0x74]
add esp, 8
cmp dword [esi + 0x78], ecx
jg 0x4f11e9
push 0
push dword [esp + 0x80]
mov edx, 0x47
mov ecx, esi
push 1
call fcn.00497f80
add esp, 0xc
jmp 0x4f121c
mov edx, dword [esp + 0x7c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
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 + 0x58], 0
je 0x4f127b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + 4]
cmp dword [esi + 0x78], ecx
jg 0x4f124a
push 0
push dword [esp + 0x78]
mov ecx, esi
push edx
mov edx, 3
call fcn.00497f80
add esp, 0xc
jmp 0x4f12b9
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x74]
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 0x4f12b5
mov ecx, dword [esp + 0x2c]
call fcn.0050c8a0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
jne 0x4f12b9
mov eax, dword [esp + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x70]
push dword [eax + edx*4 + 0x10]
lea edi, [eax + edx*4]
movsx edx, byte [edi + 1]
call fcn.00498a90
add esp, 4
mov word [edi], 0xb6
mov dword [edi + 0x10], 0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4f12cc
mov ecx, dword [esp + 0x4c]
mov edx, eax
call fcn.004b16a0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f12f1
mov eax, dword [esp + 0x64]
mov edx, 0xc
push 0
push dword [esp + 0x1c]
inc eax
mov ecx, esi
push eax
call fcn.00497f80
add esp, 0xc
jmp 0x4f1329
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
inc edx
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
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 + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f134a
push 0
push dword [esp + 0x28]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.00497f80
add esp, 0xc
jmp 0x4f137d
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x74], ecx
cmp dword [esi + 0x78], ecx
jg 0x4f13a6
push 0
push dword [esp + 0x68]
mov edx, 0x47
mov ecx, esi
push 1
call fcn.00497f80
mov edx, dword [esp + 0x70]
add esp, 0xc
jmp 0x4f13d9
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
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 + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f13fa
push 0
lea eax, [edx + 1]
mov ecx, esi
push 0
push eax
mov edx, 0x43
call fcn.00497f80
add esp, 0xc
jmp 0x4f1432
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
inc edx
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x43
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]
lea eax, [esi + 0xc]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f1457
push edx
mov edx, esi
call fcn.004987a0
add esp, 4
jmp 0x4f1460
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 0x74]
lea ecx, [eax + 1]
lea edx, [eax + 2]
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x78], eax
jg 0x4f148d
push 0
push edx
push dword [esp + 0x84]
mov edx, 0x31
mov ecx, esi
call fcn.00497f80
add esp, 0xc
jmp 0x4f14bd
mov edi, dword [esp + 0x7c]
mov dword [esi + 0x74], ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f14e0
mov eax, dword [esp + 0x64]
mov edx, 0x43
push 0
inc eax
mov ecx, esi
push 0
push eax
call fcn.00497f80
add esp, 0xc
jmp 0x4f1518
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
inc edx
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x1c]
mov ecx, edi
call fcn.004ee330
push 0x10
push dword [esp + 0x2c]
push dword [esp + 0x74]
push edi
call fcn.004b7e60
push dword [esp + 0x84]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0xb8]
push dword [esp + 0x3c]
mov ecx, edi
push dword [ebp + 8]
push eax
lea eax, [esp + 0xf0]
push eax
push 0xffffffffffffffff
call fcn.004e51e0
mov ecx, dword [esi + 0x74]
add esp, 0x28
cmp dword [esi + 0x78], ecx
jg 0x4f1584
mov eax, dword [esp + 0x64]
mov edx, 0x43
push 0
inc eax
mov ecx, esi
push 0
push eax
call fcn.00497f80
add esp, 0xc
jmp 0x4f15bc
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
inc edx
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x43
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 + 0x50]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f15da
push edx
mov edx, esi
call fcn.004987a0
add esp, 4
jmp 0x4f15e3
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x1c]
mov ecx, edi
call fcn.004ee160
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f1612
push 0
push dword [esp + 0x80]
mov edx, 0x47
mov ecx, esi
push 0
call fcn.00497f80
add esp, 0xc
jmp 0x4f1645
mov edx, dword [esp + 0x7c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
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 + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f1666
push 0
push 0
push dword [esp + 0x70]
mov edx, 0x43
mov ecx, esi
call fcn.00497f80
add esp, 0xc
jmp 0x4f1699
mov edx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4f16ba
mov eax, dword [esp + 0x1c]
mov edx, ecx
mov ecx, edi
mov eax, dword [eax + 0x28]
push dword [eax + 0x10]
push dword [eax + 0xc]
call fcn.004e50f0
add esp, 8
lea edx, [esi + 0xc]
jmp 0x4f1d64
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x24], 0
jne 0x4f1a98
mov edx, dword [eax + 0x1c]
cmp dword [edx], 1
jne 0x4f1a98
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x20]
mov eax, dword [esp + 0x1c]
cmp dword [ecx], 1
jne 0x4f1a9c
cmp dword [ecx + 0x1c], 0
jne 0x4f1a9c
cmp dword [eax + 0x2c], 1
jne 0x4f1a9c
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x30], ecx
cmp byte [ecx + 0x2b], 0
jne 0x4f1a9c
mov edx, dword [edx + 8]
cmp byte [edx], 0xa8
jne 0x4f1a9c
cmp dword [edx + 0x28], eax
jne 0x4f1a9c
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x4f1a98
test dword [edx + 4], 0x1000002
jne 0x4f1a98
mov edx, dword [ecx + 0x3c]
mov ecx, 0xffff8000
mov dword [esp + 0x18], ecx
test edx, edx
je 0x4f177c
mov eax, dword [edi]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], edx
je 0x4f177c
nop dword [eax]
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x4f1770
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
mov dword [esp + 0x40], eax
inc eax
mov dword [edx], eax
xor eax, eax
mov dword [esp + 0x28], eax
xor edx, edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x58], edx
mov edx, edi
mov eax, dword [eax + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x74]
test eax, eax
cmovne edx, eax
mov eax, edx
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x54]
mov eax, 1
shl eax, cl
mov dword [esp + 0xc], edx
test edx, eax
mov edx, 0
jne 0x4f17ef
mov eax, dword [esp + 0xc]
bts eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov dword [eax + 0x54], esi
mov esi, dword [esp + 0x54]
cmp ecx, 1
jne 0x4f17f4
mov ecx, eax
call fcn.004ca1e0
jmp 0x4f181d
cmp ecx, 1
je 0x4f181f
mov eax, dword [edi]
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], dl
je 0x4f181f
mov eax, dword [esp + 0x30]
mov ecx, edi
mov edx, dword [esp + 0x18]
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.004c0c50
add esp, 0xc
xor edx, edx
mov ecx, dword [esp + 0x30]
test byte [ecx + 0x1c], 0x80
je 0x4f1848
mov edx, dword [ecx + 8]
mov dword [esp + 0x58], edx
test edx, edx
je 0x4f1848
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
je 0x4f1844
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x4f1834
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x20]
test byte [eax + 0x30], 1
jne 0x4f1891
mov eax, dword [ecx + 8]
test eax, eax
je 0x4f1891
nop dword [eax]
test byte [eax + 0x38], 4
jne 0x4f1882
movzx edi, word [eax + 0x30]
cmp di, word [ecx + 0x28]
jge 0x4f1882
cmp dword [eax + 0x24], 0
jne 0x4f1882
test edx, edx
je 0x4f1880
cmp di, word [edx + 0x30]
jge 0x4f1882
mov edx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4f1860
mov edi, dword [esp + 0x14]
mov dword [esp + 0x58], edx
test edx, edx
je 0x4f18a7
mov eax, dword [edx + 0x2c]
mov ecx, edi
mov dword [esp + 0x2c], eax
call fcn.004cab70
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x78], ecx
jg 0x4f18d4
push dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov ecx, esi
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, 0x65
call fcn.00497f80
add esp, 0xc
mov ecx, eax
jmp 0x4f190b
mov edx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x65
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4f1926
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
mov edx, dword [esp + 0x28]
test edx, edx
je 0x4f1972
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4f1946
push edx
mov edx, 0xfffffff7
call fcn.00498a90
add esp, 4
jmp 0x4f1972
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x4f196b
push 0xfffffffffffffff7
push edx
lea edx, [eax - 0x14]
mov ecx, esi
call fcn.00498ce0
add esp, 8
jmp 0x4f1972
mov dword [eax - 4], edx
mov byte [eax - 0x13], 0xf7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x74]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x78], ecx
jg 0x4f19a4
push 0
push eax
push dword [esp + 0x48]
mov edx, 0x61
mov ecx, esi
call fcn.00497f80
mov edx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x4f19db
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x61
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 + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f19f9
push 0
push 0
push edx
mov edx, 0x79
mov ecx, esi
call fcn.00497f80
add esp, 0xc
jmp 0x4f1a2c
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x79
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 + 0xcf], 2
jne 0x4f1d25
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
test ecx, ecx
je 0x4f1a60
test byte [edx + 0x1c], 0x80
je 0x4f1a54
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4f1a60
mov eax, dword [ecx]
mov dword [esp + 0x10], 1
jmp 0x4f1a6d
mov dword [esp + 0x10], 0
mov eax, 0x5960c0
cmp dword [esp + 0x10], 0
mov ecx, 0x5960c0
push eax
mov eax, str._USING_COVERING_INDEX
cmove eax, ecx
push eax
push dword [edx]
push str.SCAN__s_s_s
push 0
push edi
call fcn.00498580
add esp, 0x18
jmp 0x4f1d25
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x74], 0
cmp dword [ecx + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], eax
je 0x4f1b5f
xor edx, edx
test eax, eax
jle 0x4f1afa
mov eax, ecx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
test dword [eax + 4], 0x1000000
jne 0x4f1ae8
mov eax, dword [ecx + 4]
test byte [eax + 4], 0x20
jne 0x4f1af6
mov eax, dword [esp + 0x10]
inc edx
add ecx, 0x14
cmp edx, eax
jl 0x4f1ad4
jmp 0x4f1afa
mov eax, dword [esp + 0x10]
cmp edx, eax
jne 0x4f1b87
inc dword [edi + 0x2c]
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0xc], edx
cmp dword [esi + 0x78], ecx
jg 0x4f1b2a
push 0
push edx
push 0
mov edx, 0x47
mov ecx, esi
call fcn.00497f80
add esp, 0xc
jmp 0x4f1b87
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4f1b87
cmp eax, 1
jne 0x4f1b87
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x28]
cmp dword [eax + 0xc], 0
jl 0x4f1b87
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x74], eax
neg eax
sbb eax, eax
and eax, 0x500
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x1c]
mov ecx, edi
call fcn.004ee160
movzx eax, byte [esp + 0x3b]
mov ecx, edi
or ax, word [esp + 0x28]
mov edx, dword [esp + 0x3c]
push 0
movzx eax, ax
push eax
push 0
push dword [esp + 0x80]
push dword [esp + 0xc0]
push dword [esp + 0x6c]
call fcn.0050bc50
add esp, 0x18
mov dword [esp + 0x48], eax
test eax, eax
je 0x4f1e3b
movzx eax, byte [eax + 0x33]
mov ecx, edi
mov edx, dword [esp + 0xc]
push eax
push dword [esp + 0x20]
mov dword [esp + 0x18], eax
call fcn.004ee410
mov edx, dword [esp + 0x18]
add esp, 8
test edx, edx
je 0x4f1c0a
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov eax, dword [eax + 0x28]
push dword [eax + 0x10]
push dword [eax + 0xc]
call fcn.004e50f0
add esp, 8
mov edx, dword [esp + 0xc]
test edx, edx
je 0x4f1c63
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f1c30
push 0
push edx
push 1
mov edx, 0x47
mov ecx, esi
call fcn.00497f80
add esp, 0xc
jmp 0x4f1c63
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x3b], 0
mov eax, dword [esp + 0x48]
je 0x4f1d13
test byte [eax + 0x34], 4
je 0x4f1d13
cmp byte [eax + 0x31], 0
je 0x4f1d13
movzx ecx, byte [eax + 0x30]
sub ecx, 1
js 0x4f1cac
imul edx, ecx, 0x58
add edx, eax
mov eax, dword [edx + 0x34c]
test byte [eax + 0x2c], 4
jne 0x4f1ccd
sub edx, 0x58
sub ecx, 1
jns 0x4f1c94
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + 0x24]
cmp dword [esi + 0x78], ecx
jg 0x4f1cdc
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00497f80
add esp, 0xc
jmp 0x4f1d0f
mov edx, dword [edx + 0x310]
mov ecx, esi
call fcn.00498030
jmp 0x4f1d0f
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x48]
mov ecx, eax
call fcn.0050c8a0
mov edx, dword [esp + 0x1c]
mov ecx, edi
call fcn.004ee330
push 0x10
push dword [esp + 0x28]
mov dword [esp + 0xd8], 0
push dword [esp + 0x74]
push edi
call fcn.004b7e60
mov eax, dword [esp + 0x34]
mov ecx, edi
mov edx, dword [esp + 0x30]
push eax
push eax
push dword [ebp + 8]
push 0
push 0
push 0xffffffffffffffff
call fcn.004e51e0
lea edx, [esi + 0xc]
add esp, 0x28
mov dword [esp + 0x40], edx
mov ecx, dword [edx]
not dword [esp + 0x24]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f1d82
push dword [esp + 0x24]
mov edx, esi
call fcn.004987a0
add esp, 4
jmp 0x4f1d97
mov eax, dword [esi + 0x74]
mov esi, dword [esp + 0x24]
mov ecx, dword [ecx + 0x40]
mov dword [esp + 0x40], edx
mov dword [ecx + esi*4], eax
mov esi, dword [esp + 0x54]
cmp byte [esp + 0xa5], 3
jne 0x4f1db6
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push 0
push edi
call fcn.00498580
add esp, 0x10
cmp dword [esp + 0xd0], 0
je 0x4f1e02
cmp dword [esp + 0xd4], 0
mov ecx, str.ORDER_BY
mov eax, str.RIGHT_PART_OF_ORDER_BY
cmovle eax, ecx
push eax
push str.USE_TEMP_B_TREE_FOR__s
push 0
push edi
call fcn.00498580
mov eax, dword [esp + 0x6c]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [esp + 0x34]
push dword [eax]
lea eax, [esp + 0xe8]
push eax
call fcn.004e6350
add esp, 0x1c
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x10c]
not edx
mov ecx, dword [eax]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f1e26
push edx
mov edx, esi
call fcn.004987a0
add esp, 4
jmp 0x4f1e2f
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
xor eax, eax
cmp dword [edi + 0x24], eax
setg al
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x4eeeac
mov edx, eax
call fcn.004b16a0
jmp 0x4eeeac
mov edx, dword [edi + 8]
test ecx, ecx
jns 0x4f1e65
mov ecx, dword [edx + 0x74]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x4f1e83
mov eax, 0x5d4b70
mov eax, dword [eax + 8]
mov dword [edi + 0xdc], eax
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [edi + 0xdc], eax
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 8]
test ecx, ecx
jns 0x4f1ea8
mov ecx, dword [esi + 0x74]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4f1ec8
mov eax, 0x5d4b70
mov eax, dword [eax + 8]
mov dword [edi + 0xdc], eax
mov eax, dword [esp + 0x70]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x70]
lea eax, [ecx + edx*4]
mov eax, dword [eax + 8]
mov dword [edi + 0xdc], eax
mov eax, dword [esp + 0x70]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret