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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
push esi
mov esi, edx
mov dword [esp + 0x70], 0
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0xc], edi
lea eax, [edx + 0x58]
mov dword [esp + 0x9c], eax
mov eax, dword [edi]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x4c]
movzx eax, byte [eax + 0x38]
mov dword [esp + 0x20], ecx
lea ecx, [eax + eax*8]
mov eax, dword [edx + 4]
lea eax, [eax + ecx*8]
add eax, 8
mov dword [esp + 0x80], eax
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x30], eax
cmp dword [edx + 0x200], eax
jne 0x4fe20e
mov ecx, 1
xor edx, edx
jmp 0x4fe258
mov edx, dword [edx + 0x1fc]
mov eax, 1
cmp edx, eax
jle 0x4fe23e
mov ecx, dword [ebp + 8]
add ecx, 0x204
mov esi, dword [esp + 0x30]
cmp dword [ecx], esi
mov esi, dword [esp + 0x34]
je 0x4fe2e2
inc eax
add ecx, 4
cmp eax, edx
jl 0x4fe226
xorps xmm0, xmm0
movlpd qword [esp + 0x90], xmm0
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov eax, dword [ebp + 0x10]
not ecx
and ecx, dword [ebp + 0x14]
not edx
and edx, dword [ebp + 0x18]
mov dword [eax + 0x50], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0x54], edx
mov eax, dword [ecx + 0x50]
mov edx, dword [ecx + 0x54]
mov ecx, dword [ebp + 0xc]
call fcn.00577a10
mov ecx, dword [ebp + 0x10]
and eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x38]
dec eax
mov dword [edi + 0x38], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x38]
dec eax
mov dword [edi + 0x38], eax
cmp byte [ecx + 0x38], 0
mov dword [esp + 0x84], eax
mov dword [ecx + 0x18], eax
jbe 0x4fe32b
mov eax, dword [esp + 0x80]
test byte [eax + 0x24], 8
je 0x4fe32b
mov edx, dword [edi + 0x2c]
inc edx
mov dword [edi + 0x2c], edx
mov dword [ecx], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4fe2fc
push 0
push edx
push 0
mov edx, 0x47
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4fe32b
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x4fe258
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 [ebp + 0xc]
mov ecx, eax
test eax, eax
jle 0x4fe34f
mov edx, dword [ebp + 8]
imul eax, eax, 0x58
add edx, 0x300
add eax, edx
cmp dword [eax], 0
jne 0x4fe34f
dec ecx
sub eax, 0x58
test ecx, ecx
jg 0x4fe342
imul eax, ecx, 0x58
mov ecx, dword [ebp + 8]
mov edi, dword [eax + ecx + 0x30c]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x64], edi
test byte [eax + 0x28], 0x10
je 0x4fe434
mov ecx, dword [esi + 0x74]
mov edi, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
cmp dword [esi + 0x78], ecx
jg 0x4fe394
push edx
push 0
push edi
mov edx, 0xd
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4fe3c3
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x4fe3f2
push 0
push dword [esp + 0x3c]
mov edx, 0xe
mov ecx, esi
push edi
call fcn.00497c60
mov edi, dword [ebp + 0x10]
mov edx, eax
add esp, 0xc
mov dword [edi + 0x40], edx
mov byte [edi + 0x39], 0xb
jmp 0x4feb4c
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x40], edx
mov byte [edi + 0x39], 0xb
jmp 0x4feb4c
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x2c]
test edx, 0x400
je 0x4fea23
movzx eax, word [eax + 0x30]
mov dword [esp + 0x38], eax
lea ecx, [eax + 2]
cmp ecx, 1
jne 0x4fe481
mov ecx, dword [esp + 0xc]
mov al, byte [ecx + 0x13]
test al, al
jne 0x4fe470
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
mov edx, eax
mov dword [esp + 0x18], eax
jmp 0x4fe4bb
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov edx, dword [ecx + eax*4 + 0x98]
jmp 0x4fe4b7
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x1c]
mov edi, dword [eax + 0x20]
mov dword [esp + 0x18], edi
cmp ecx, edx
jg 0x4fe4a8
lea eax, [edi + ecx]
sub edx, ecx
mov edi, dword [esp + 0xc]
mov dword [edi + 0x1c], edx
mov edx, dword [esp + 0x18]
mov dword [edi + 0x20], eax
jmp 0x4fe4bb
mov eax, dword [eax + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x2c], eax
mov dword [esp + 0x18], edx
mov eax, dword [ebp + 0x10]
xor edi, edi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
cmp dword [esp + 0x38], edi
jbe 0x4fe590
mov eax, dword [esp + 0x20]
add edx, 2
mov dword [esp + 0x2c], edx
nop dword [eax]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax + edi*4]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x4fe581
test byte [ecx + 0xc], 1
je 0x4fe61f
cmp edi, 0x1f
ja 0x4fe510
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x28]
jmp 0x4fe512
xor eax, eax
mov esi, dword [esp + 0x20]
test dword [esi + 0x28], eax
mov esi, dword [esp + 0x34]
je 0x4fe5f6
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0xc]
mov edx, dword [eax + 0x28]
mov dword [esp + 0x28], edx
push edx
lea eax, [edx + 1]
mov dword [esi + 0x28], eax
mov eax, esi
inc dword [eax + 0x2c]
mov edx, dword [ecx]
mov ecx, esi
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x18], eax
call fcn.004b25c0
mov esi, dword [esp + 0x38]
add esp, 4
mov eax, dword [esp + 0x2c]
add eax, edi
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4fe5bf
mov edx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x2c]
push eax
push edx
mov edx, 0xad
mov ecx, esi
call fcn.00497c60
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
inc edi
cmp edi, dword [esp + 0x38]
jl 0x4fe4e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x74]
mov edi, dword [esp + 0x18]
mov edx, dword [eax + 0x18]
cmp dword [esi + 0x78], ecx
jg 0x4fe6ab
push 0
push edi
push edx
mov edx, 0x47
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4fe6d6
mov edx, 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], edx
mov edx, dword [esp + 0x2c]
add edx, edi
mov dword [eax + ecx*4], 0xad
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4fe57d
lea eax, [edx + edi]
mov edx, ecx
mov ecx, dword [esp + 0xc]
push eax
push dword [esp + 0x44]
push edi
push dword [ebp + 0x10]
call fcn.004fcd60
mov eax, dword [ebp + 0x10]
add esp, 0x10
mov eax, dword [eax + 0x10]
mov dword [esp + 0x58], eax
jmp 0x4fe57d
lea eax, [edx + edi]
mov edx, dword [ecx]
mov ecx, dword [esp + 0xc]
push 1
push eax
mov edx, dword [edx + 0x10]
call fcn.004fda40
mov eax, dword [esp + 0x30]
add esp, 8
cmp byte [eax + 0xf], 0x4a
mov eax, dword [esp + 0x20]
jne 0x4fe6a2
test byte [eax + 0x1c], 2
je 0x4fe6a2
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x74]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
cmp dword [esi + 0x78], ecx
jg 0x4fe66a
push 0
push edx
push 0
mov edx, 0x47
jmp 0x4fe573
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x34]
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 0x4fe57d
mov edx, dword [esp + 0x2c]
jmp 0x4fe585
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], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
lea edx, [edi + 1]
cmp dword [esi + 0x78], ecx
jg 0x4fe6f9
push 0
push edx
push dword [esp + 0x40]
mov edx, 0x47
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4fe72c
mov edi, dword [esp + 0x38]
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 + 0x18]
mov dword [eax + ecx*4], 0x47
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 + 0x20]
mov edx, 0xfffffff9
mov eax, 0xffffffff
test byte [ecx + 0x1c], 1
cmovne eax, edx
mov edx, 9
push eax
push dword [ecx + 0x24]
mov ecx, esi
push edi
push dword [esp + 0x64]
push dword [esp + 0x40]
call fcn.00498000
mov eax, dword [esp + 0x34]
add esp, 0x14
mov ecx, dword [esp + 0x68]
and dword [eax + 0x1c], 0xfffffffe
cmp byte [ecx + 0x57], 0
je 0x4fe776
mov dword [eax + 0x24], 0
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x30]
mov dword [edx + 0x3c], eax
mov eax, 0x3e
cmp byte [ecx + 0x32], 0
mov ecx, 0xb6
cmovne eax, ecx
xor ecx, ecx
mov byte [edx + 0x39], al
mov eax, dword [esi + 0x74]
mov dword [edx + 0x40], eax
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x38], ecx
jbe 0x4feb4c
lea eax, [edi + 2]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], eax
nop dword [eax + eax]
mov eax, dword [edi + 0x38]
mov edx, dword [eax + ecx*4]
mov dword [esp + 0x78], edx
cmp ecx, 0x10
jae 0x4fe7eb
mov ax, word [edi + 0x22]
shr ax, cl
test al, 1
je 0x4fe7e7
mov ecx, dword [ebp + 0x10]
call fcn.004fc9c0
jmp 0x4fea0b
mov ecx, dword [esp + 0x18]
test byte [edx + 0xc], 1
je 0x4fea0f
cmp ecx, 0x1f
ja 0x4fe803
mov eax, 1
shl eax, cl
jmp 0x4fe805
xor eax, eax
test dword [edi + 0x28], eax
jne 0x4fea0f
mov eax, dword [esp + 0x68]
cmp byte [eax + 0x57], 0
jne 0x4fea0f
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x28], 0
cmp dword [ecx + 0x44], 0
jle 0x4fe903
mov eax, dword [esi]
mov edi, dword [ecx + 0x48]
add edi, 4
mov dh, byte [eax + 0x57]
nop dword [eax]
mov eax, dword [edi]
test eax, eax
jns 0x4fe84a
mov eax, dword [esi + 0x74]
dec eax
test dh, dh
je 0x4fe855
mov ecx, 0x5d4b70
jmp 0x4fe85e
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea ecx, [eax + ecx*4]
mov dl, byte [ecx]
cmp dl, 0x5d
jne 0x4fe872
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
cmp dword [ecx + 0xc], eax
jmp 0x4fe882
cmp dl, 0x86
jne 0x4fe888
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
cmp dword [ecx + 8], eax
mov esi, dword [esp + 0x34]
je 0x4fe89e
mov ecx, dword [esp + 0x28]
add edi, 0x14
mov eax, dword [ebp + 0x10]
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, dword [eax + 0x44]
jl 0x4fe840
jmp 0x4fe903
mov eax, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x50], eax
cmp dword [esi + 0x78], ecx
jg 0x4fe8cd
mov ecx, dword [esp + 0x28]
push edi
push eax
push ecx
movzx edx, dl
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4fe903
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], dl
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [eax + ecx*4]
xor ecx, ecx
mov byte [eax + 1], 0
mov word [eax + 2], cx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0xc]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.004737f0
mov edi, eax
add esp, 8
test edi, edi
je 0x4fe959
push 0x34
push 0
push edi
call fcn.005515a0
add esp, 0xc
mov byte [edi], 0x35
or eax, 0xffffffff
mov ecx, edi
mov word [edi + 0x22], ax
call fcn.004af480
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
cmp dword [edi + 0x18], eax
jle 0x4fe959
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.004769e0
add esp, 0xc
mov eax, dword [esp + 0x68]
cmp byte [eax + 0x57], 0
jne 0x4fe9fa
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
test ecx, ecx
jle 0x4fe981
mov eax, dword [edx + 0x14]
lea ecx, [ecx + ecx*4]
mov edx, dword [eax + ecx*4 - 0xc]
mov ecx, dword [esp + 0x68]
push 0
push 0x35
mov dword [edi + 0xc], edx
call fcn.004737f0
add esp, 8
mov dword [esp + 0x50], eax
test eax, eax
je 0x4fe9ec
push 0x34
push 0
push eax
call fcn.005515a0
mov ecx, dword [esp + 0x5c]
or eax, 0xffffffff
add esp, 0xc
mov word [ecx + 0x22], ax
lea eax, [ecx + 0x34]
mov dword [ecx + 8], eax
mov byte [ecx], 0xb0
mov byte [eax], 0
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov dword [ecx + 0x18], 1
mov dword [edi + 0x10], ecx
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp + 0x10]
push 0x10
push dword [eax + 0x18]
push edi
push dword [esp + 0x18]
call fcn.004b7b40
add esp, 0x10
jmp 0x4fe9ef
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [edi + 0xc], 0
test edi, edi
je 0x4fea07
mov edx, edi
mov ecx, eax
call fcn.004b0060
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x38]
jl 0x4fe7c0
jmp 0x4feb4c
test dl, 5
setne cl
bt edx, 8
setb al
test al, cl
je 0x4febf6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
mov eax, dword [esp + 0xc]
inc dword [eax + 0x2c]
mov edi, dword [eax + 0x2c]
push edi
push ecx
push 0
push dword [ebp + 0x10]
mov ecx, eax
call fcn.004fcd60
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x14], ecx
cmp ecx, edi
je 0x4fea86
test edi, edi
je 0x4fea86
mov edx, dword [esp + 0xc]
mov al, byte [edx + 0x13]
cmp al, 8
jae 0x4fea86
movzx eax, al
mov dword [edx + eax*4 + 0x98], edi
inc byte [edx + 0x13]
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 0x10]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x50], eax
test eax, eax
je 0x4feb24
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x4feab9
push ecx
push edi
push eax
mov edx, 0x3f
mov ecx, esi
call fcn.00497c60
add esp, 0xc
mov edx, eax
jmp 0x4feaec
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x3f
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4feb07
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
push dword [ebp + 0x18]
mov edx, dword [ebp + 8]
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push edi
push dword [ebp + 0xc]
call fcn.004fdf10
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x4febc2
push ecx
push edi
push dword [esp + 0x38]
mov edx, 0x20
mov ecx, esi
call fcn.00497c60
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov byte [eax + 0x39], 0xb6
xor eax, eax
neg eax
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x58], ecx
mov ecx, dword [ebp + 8]
nop dword [eax]
mov eax, dword [ecx + 0x64]
xor edx, edx
mov edi, dword [ecx + 0x70]
mov dword [esp + 0x14], edx
mov dword [esp + 0x50], eax
test eax, eax
jle 0x500ff1
nop dword [eax + eax]
xor eax, eax
mov dword [esp + 0x28], eax
movzx eax, word [edi + 0xa]
mov ecx, eax
mov dword [esp + 0x7c], ecx
test al, 6
jne 0x500fda
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x10]
mov ecx, dword [edi + 0x28]
and ecx, dword [eax + 0x50]
mov eax, dword [edi + 0x2c]
and eax, dword [esi + 0x54]
or ecx, eax
mov esi, dword [esp + 0x34]
je 0x500e15
mov ecx, dword [ebp + 8]
or dword [ecx + 0x34], 2
jmp 0x500fdd
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4feb45
mov eax, edx
and eax, 0x102
cmp eax, 0x102
jne 0x4fefac
xor ecx, ecx
mov dword [esp + 0x58], 0
mov eax, 0xb6
mov dword [esp + 0x14], ecx
xor edi, edi
mov dword [esp + 0x60], eax
test dl, 0x20
je 0x4fec39
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], 4
mov eax, dword [eax + 0x38]
mov edi, dword [eax]
jmp 0x4fec3d
mov dword [esp + 0x28], ecx
test dl, 0x10
je 0x4fec54
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 0x38]
mov ecx, dword [ecx + eax]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4fec62
mov dword [esp + 0x14], edi
mov edi, ecx
test edi, edi
je 0x4fed94
mov ecx, dword [edi]
mov dword [esp + 0x4c], 0x1917181a
mov dword [esp + 0x28], ecx
mov edx, dword [ecx + 0x10]
mov al, byte [edx]
cmp al, 0xb0
jne 0x4fec84
mov al, byte [edx + 2]
cmp al, 0xb1
jne 0x4fec8d
mov eax, dword [edx + 0x14]
jmp 0x4fec97
cmp al, 0x8a
jne 0x4fece6
mov eax, dword [edx + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jle 0x4fece6
mov edx, dword [esp + 0xc]
mov al, byte [edx + 0x13]
test al, al
jne 0x4fecaf
inc dword [edx + 0x2c]
mov edi, dword [edx + 0x2c]
jmp 0x4fecbe
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov edi, dword [edx + eax*4 + 0x98]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
push 1
push edi
call fcn.004fda40
mov ecx, dword [esp + 0x30]
add esp, 8
mov edx, edi
movzx eax, byte [ecx]
inc eax
and eax, 2
or eax, 1
mov al, byte [esp + eax + 0x4c]
jmp 0x4fed18
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x50]
push eax
call fcn.004b70f0
mov ecx, dword [ebp + 0x10]
add esp, 4
mov edx, edi
mov dword [esp + 0x78], eax
call fcn.004fc9c0
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x78]
movzx eax, byte [ecx]
mov al, byte [esp + eax + 0x16]
mov ecx, dword [esi + 0x74]
mov byte [esp + 0x13], al
cmp dword [esi + 0x78], ecx
jg 0x4fed3c
push edx
push dword [esp + 0x3c]
movzx edx, al
mov ecx, esi
push dword [esp + 0x38]
call fcn.00497c60
add esp, 0xc
jmp 0x4fed76
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov cl, byte [esp + 0x13]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xc]
test edi, edi
je 0x4fedfb
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x4fedfb
movzx eax, al
mov dword [ecx + eax*4 + 0x98], edi
inc byte [ecx + 0x13]
jmp 0x4fedfb
mov ecx, dword [esi + 0x74]
xor eax, 1
lea edx, [eax*4 + 0x22]
cmp dword [esi + 0x78], ecx
jg 0x4fedbd
mov ecx, dword [esp + 0x64]
push 0
push ecx
push dword [esp + 0x38]
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4fedf7
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], dl
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [eax + ecx*4]
xor ecx, ecx
mov byte [eax + 1], 0
mov word [eax + 2], cx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4feeb0
mov eax, dword [edi]
inc dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x2c]
push 1
mov edx, dword [eax + 0x10]
mov dword [esp + 0x5c], ecx
push ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
call fcn.004fda40
mov ecx, dword [esp + 0x30]
add esp, 8
mov ecx, dword [ecx + 0x10]
mov dl, byte [ecx]
mov al, dl
cmp al, 0xb0
jne 0x4fee3b
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x4fee44
mov eax, dword [ecx + 0x14]
jmp 0x4fee4e
cmp al, 0x8a
jne 0x4fee53
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jg 0x4fee61
mov eax, dword [esp + 0x28]
mov al, byte [eax]
cmp al, 0x38
je 0x4fee6e
cmp al, 0x36
je 0x4fee6e
mov eax, dword [esp + 0x40]
lea eax, [eax*2 + 0x36]
jmp 0x4fee7c
mov eax, dword [esp + 0x40]
xor eax, 1
lea eax, [eax*2 + 0x37]
mov dword [esp + 0x60], eax
cmp dl, 0xb0
jne 0x4fee88
mov dl, byte [ecx + 2]
cmp dl, 0xb1
jne 0x4fee92
mov eax, dword [ecx + 0x14]
jmp 0x4fee9d
cmp dl, 0x8a
jne 0x4feea2
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jg 0x4feeb0
mov edx, edi
mov edi, dword [ebp + 0x10]
mov ecx, edi
call fcn.004fc9c0
jmp 0x4feeb3
mov edi, dword [ebp + 0x10]
cmp dword [esp + 0x40], 0
mov ecx, dword [esi + 0x74]
sete al
mov dword [edi + 0x40], ecx
add al, 4
cmp dword [esp + 0x60], 0xb6
mov byte [edi + 0x39], al
mov eax, dword [esp + 0x30]
mov dword [edi + 0x3c], eax
je 0x4feb4c
mov eax, dword [esp + 0xc]
inc dword [eax + 0x2c]
mov ecx, dword [esi + 0x74]
mov edi, dword [eax + 0x2c]
cmp dword [esi + 0x78], ecx
jg 0x4fef05
push 0
push edi
push dword [esp + 0x38]
mov edx, 0x86
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4fef34
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x60]
cmp dword [esi + 0x78], ecx
jg 0x4fef56
mov ecx, dword [esp + 0x58]
push edi
push dword [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4fef8c
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], dl
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [eax + ecx*4]
xor ecx, ecx
mov byte [eax + 1], 0
mov word [eax + 2], cx
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4feb4c
lea ecx, [eax + eax*4]
mov edx, 0x53
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4feb4c
test edx, 0x200
je 0x50010f
mov edi, dword [esp + 0x20]
mov dword [esp + 0x60], 0
mov dword [esp + 0x18], 0
movzx eax, word [edi + 0x1a]
movzx ecx, word [edi + 0x18]
mov dword [esp + 0x70], eax
movzx eax, word [edi + 0x1c]
xor edi, edi
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x13], al
mov byte [esp + 0x1f], al
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov esi, dword [eax + 0x20]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x74], esi
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
movzx eax, cx
mov dword [esp + 0x24], eax
mov ecx, eax
test dl, 0x20
je 0x4ff032
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x38]
movzx edi, word [edi + 0x1a]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esp + 0x60], eax
mov esi, dword [esp + 0x34]
test dl, 0x10
je 0x4ff139
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x38]
movzx edx, word [edx + 0x1c]
cmp edi, edx
mov ecx, dword [eax + ecx*4]
cmova edx, edi
mov eax, 0x100
mov dword [esp + 0x18], ecx
mov dword [esp + 0x50], edx
test word [ecx + 0xa], ax
je 0x4ff0f8
mov eax, dword [esp + 0xc]
mov edi, dword [ebp + 0x10]
inc dword [eax + 0x2c]
mov edx, dword [eax + 0x2c]
mov dword [edi + 0x2c], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ff097
push 0
push edx
push 1
mov edx, 0x47
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4ff0c6
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 eax, dword [esi + 0x74]
xor ecx, ecx
mov edx, dword [edi + 0x2c]
mov dword [edi + 0x30], eax
add edx, edx
mov eax, dword [esp + 0x74]
mov dword [edi + 0x2c], edx
mov edi, dword [esp + 0x24]
mov eax, dword [eax + 0x1c]
cmp byte [edi + eax], 1
mov eax, dword [ebp + 0x10]
sete cl
xor ecx, dword [esp + 0x40]
or ecx, edx
mov edx, dword [esp + 0x50]
mov dword [eax + 0x2c], ecx
cmp dword [esp + 0x60], 0
mov edi, edx
jne 0x4ff139
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + 4]
movsx ecx, word [eax + ecx*2]
mov dword [esp + 0x50], ecx
test ecx, ecx
js 0x4ff12b
mov eax, dword [edi + 0xc]
add ecx, ecx
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 4], 0xf
je 0x4ff132
mov ecx, dword [esp + 0x50]
mov edi, edx
cmp ecx, 0xfffffffe
jne 0x4ff139
mov byte [esp + 0x13], 1
mov edi, edx
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x2c]
test al, 0x30
jne 0x4ff1d9
test eax, 0x80000
je 0x4ff1d9
mov edx, dword [esp + 0xc]
mov edi, 1
mov ecx, dword [ebp + 0x10]
mov byte [esp + 0x13], 1
inc dword [edx + 0x2c]
cmp dword [ecx], 0
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x48], eax
mov dword [ecx + 0x24], eax
je 0x4ff1d0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ff196
push 0
push eax
push 0
lea edx, [edi + 0x46]
mov ecx, esi
call fcn.00497c60
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4ff1cd
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x34]
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
mov ecx, dword [ebp + 0x10]
dec dword [edx + 0x38]
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x28], eax
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x28]
cmp ax, word [ecx + 0x34]
jae 0x4ff22f
mov eax, dword [ecx + 0x1c]
xor ecx, ecx
mov edx, dword [esp + 0x24]
cmp byte [edx + eax], cl
sete cl
cmp dword [esp + 0x40], ecx
jne 0x4ff22f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov al, byte [esp + 0x13]
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
movzx ecx, dx
movzx eax, al
mov byte [esp + 0x13], 0
mov dword [esp + 0x70], ecx
mov dword [esp + 0x38], eax
cmp dword [ebp + 0xc], 0
jle 0x4ff296
mov eax, dword [esp + 0x20]
test dword [eax + 0x2c], 0x100000
je 0x4ff296
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ff263
push 0
push 0
push dword [esp + 0x5c]
mov edx, 0x87
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4ff296
mov edx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x87
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 [ebp + 0x10]
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0xc]
push eax
push edi
push dword [esp + 0x48]
call fcn.004fd3c0
mov edi, dword [esp + 0x30]
mov edx, eax
mov eax, dword [esp + 0x68]
add esp, 0xc
mov dword [esp + 0x3c], edx
test eax, eax
je 0x4ff32b
cmp word [esp + 0x38], 0
je 0x4ff32b
add eax, edi
jne 0x4ff2d3
mov dword [esp + 0x4c], eax
jmp 0x4ff32b
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ff2d8
mov eax, dword [esp + 0x68]
sub ecx, edx
push 0
lea edi, [ecx + 1]
push edi
test eax, eax
je 0x4ff2f8
mov ecx, eax
call fcn.004737f0
jmp 0x4ff2fd
call fcn.00473130
add esp, 8
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4ff323
mov eax, dword [esp + 0x5c]
push edi
mov edi, dword [esp + 0x28]
add eax, edi
push eax
mov eax, dword [esp + 0x54]
push eax
call fcn.00551020
add esp, 0xc
jmp 0x4ff327
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
mov eax, dword [ebp + 0x10]
test ecx, ecx
je 0x4ff343
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x48]
jmp 0x4ff34a
mov eax, dword [eax + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4ff360
test byte [eax + 0xc], 0x28
mov dword [esp + 0x6c], 0
je 0x4ff368
mov dword [esp + 0x6c], 1
cmp dword [esp + 0x18], 0
mov esi, dword [esp + 0x34]
je 0x4ff389
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], 0
test byte [edx + 0xc], 0x28
mov edx, dword [esp + 0x3c]
je 0x4ff391
mov dword [esp + 0x58], 1
test eax, eax
jne 0x4ff3da
cmp word [esp + 0x28], ax
ja 0x4ff3da
mov dword [esp + 0x64], eax
cmp byte [esp + 0x13], 0
je 0x4ff61b
mov ecx, dword [esi + 0x74]
add edx, edi
mov dword [esp + 0x6c], 0
cmp dword [esi + 0x78], ecx
jg 0x4ff53d
push 0
push edx
push 0
mov edx, 0x4a
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4ff570
mov dword [esp + 0x64], 1
mov dword [esp + 0x2c], edi
test eax, eax
je 0x4ff3a0
mov eax, dword [eax]
mov edi, dword [eax + 0x10]
mov eax, dword [esp + 0x70]
movzx ecx, ax
mov eax, dword [esp + 0x24]
add eax, edx
mov dword [esp + 0x50], edi
push ecx
mov ecx, dword [esp + 0x10]
mov edx, edi
push eax
call fcn.004fda40
mov eax, dword [esp + 0x68]
mov ecx, 0x100
add esp, 8
test word [eax + 0xa], cx
je 0x4ff463
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x57], 0
je 0x4ff43c
mov ecx, 0x5d4b7c
mov edx, 0x5d4b72
jmp 0x4ff447
mov eax, dword [esi + 0x70]
add eax, ecx
lea ecx, [eax - 8]
lea edx, [eax - 0x12]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x2c]
shr eax, 1
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov al, byte [eax + 0x2c]
and al, 1
movzx eax, al
mov word [edx], ax
mov eax, dword [esp + 0x60]
test byte [eax + 0xa], 0x80
jne 0x4ff4cf
mov ecx, edi
call fcn.004b17e0
test eax, eax
je 0x4ff4cf
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x74]
add edx, dword [esp + 0x3c]
cmp dword [esi + 0x78], ecx
jg 0x4ff49c
push 0
push dword [esp + 0x48]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.00497c60
add esp, 0xc
jmp 0x4ff4cf
mov edi, dword [esp + 0x50]
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 + 0x44]
mov dword [eax + ecx*4], 0x32
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 + 0x5c]
test ecx, ecx
je 0x4ff4ef
mov eax, dword [esp + 0x24]
add eax, ecx
mov ecx, edi
push eax
mov eax, dword [esp + 0x74]
movzx edx, ax
call fcn.004fca30
add esp, 4
mov ecx, dword [esp + 0x70]
movzx eax, cx
add dword [esp + 0x2c], eax
mov al, byte [edi]
cmp al, 0xb0
jne 0x4ff503
mov al, byte [edi + 2]
cmp al, 0xb1
jne 0x4ff50c
mov eax, dword [edi + 0x14]
jmp 0x4ff516
cmp al, 0x8a
jne 0x4ff52a
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jle 0x4ff52a
mov dword [esp + 0x6c], 1
mov byte [esp + 0x13], 0
jmp 0x4ff57f
mov edx, dword [esp + 0x60]
mov ecx, dword [ebp + 0x10]
call fcn.004fc9c0
mov byte [esp + 0x13], 0
jmp 0x4ff57f
mov edi, 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], 0x4a
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 4], 0
lea eax, [edi + 1]
mov dword [esp + 0x64], 1
mov dword [esp + 0x2c], eax
movzx ecx, byte [esp + 0x13]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x5c]
sub eax, ecx
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0xc]
test edx, edx
je 0x4ff5da
test eax, eax
jle 0x4ff5ae
cmp byte [edx], 0x41
jg 0x4ff5ae
dec eax
inc edi
inc edx
test eax, eax
jg 0x4ff5a2
cmp eax, 1
jle 0x4ff5c0
cmp byte [edx + eax - 1], 0x41
jg 0x4ff5c4
dec eax
cmp eax, 1
jg 0x4ff5b3
test eax, eax
jle 0x4ff5da
mov ecx, dword [ecx + 8]
push eax
push edx
push 0
push eax
push edi
mov edx, 0x5f
call fcn.00498000
add esp, 0x14
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 0x32]
test ax, ax
je 0x4ff5f1
cmp dword [esp + 0x2c], eax
je 0x4ff943
mov edx, dword [esp + 0x48]
test edx, edx
je 0x4ff67d
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ff64e
push 0
push edx
push 1
mov edx, 0x47
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4ff67d
mov dword [esp + 0x2c], edi
test ecx, ecx
je 0x4ff57f
mov ecx, dword [esi + 0x74]
add edx, edi
cmp dword [esi + 0x78], ecx
jg 0x4ff541
push 0
push edx
push 0
mov edx, 0x4a
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4ff570
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 eax, dword [ebp + 0x10]
mov edi, dword [eax + 0x34]
test edi, edi
je 0x4ff71a
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x4ff6af
push dword [esp + 0x3c]
mov edx, 0x3f
mov ecx, esi
push dword [esp + 0x48]
push edi
call fcn.00497c60
add esp, 0xc
mov edx, eax
jmp 0x4ff6e2
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x3f
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edi, dword [esp + 0x44]
cmp byte [eax + 0x57], 0
jne 0x4ff701
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x24]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
push dword [ebp + 0x18]
mov edx, dword [ebp + 8]
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push edi
push dword [ebp + 0xc]
call fcn.004fdf10
add esp, 0x10
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x40]
mov dl, byte [ecx + eax*2 + 0x59a35c]
mov ecx, dword [esp + 0x20]
movzx eax, dl
mov byte [esp + 0x13], dl
mov dword [esp + 0x50], eax
test dword [ecx + 0x2c], 0x100000
je 0x4ff7cc
cmp eax, 0x19
jne 0x4ff7cc
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 8]
movsx ecx, word [eax]
mov eax, 0x66666667
add ecx, 9
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x78], edx
jg 0x4ff795
push 0
push 0
push edi
mov edx, 0x7b
mov ecx, esi
call fcn.00497c60
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x4ff7c4
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x7b
mov dword [eax + ecx*4 + 4], edi
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 + 0x50]
mov dl, byte [esp + 0x13]
mov edi, dword [esi + 0x74]
cmp dword [esi + 0x78], edi
jg 0x4ff7f0
push dword [esp + 0x3c]
mov edx, eax
mov ecx, esi
push dword [esp + 0x48]
push dword [esp + 0x5c]
call fcn.00497c60
add esp, 0xc
mov edi, eax
jmp 0x4ff82a
lea eax, [edi + 1]
mov dword [esi + 0x74], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], dl
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4ff847
mov eax, dword [esi + 0x70]
lea ecx, [edi + edi*4]
mov edi, dword [esp + 0x2c]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
jmp 0x4ff84b
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4ff947
mov ecx, dword [esi + 0x74]
lea edx, [ecx + 2]
cmp dword [esi + 0x78], ecx
jg 0x4ff878
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4ff8ab
mov edi, dword [esp + 0x2c]
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 [esp + 0x40]
mov eax, 1
mov edx, dword [esi + 0x74]
cmp eax, edi
sbb eax, eax
and eax, 4
mov al, byte [eax + ecx + 0x59a35e]
mov byte [esp + 0x13], al
cmp dword [esi + 0x78], edx
jg 0x4ff8eb
push dword [esp + 0x3c]
movzx edx, al
mov ecx, esi
push dword [esp + 0x48]
push dword [esp + 0x5c]
call fcn.00497c60
add esp, 0xc
mov edx, eax
jmp 0x4ff928
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov cl, byte [esp + 0x13]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4ff943
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
sub edi, dword [esp + 0x6c]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov edi, edx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], edi
test ecx, ecx
je 0x4ffb11
cmp dword [esp + 0x14], 0
mov eax, dword [ecx]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x6c], ecx
je 0x4ff976
mov edi, dword [ebp + 0x10]
mov eax, dword [esi + 0x74]
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
movzx eax, ax
add edi, edx
push eax
mov edx, ecx
mov dword [esp + 0x68], edi
mov ecx, dword [esp + 0x10]
push edi
call fcn.004fda40
mov eax, dword [esp + 0x20]
mov ecx, 0x100
add esp, 8
test word [eax + 0xa], cx
je 0x4ff9ea
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x57], 0
je 0x4ff9c3
mov ecx, 0x5d4b7c
mov edx, 0x5d4b72
jmp 0x4ff9ce
mov eax, dword [esi + 0x70]
add eax, ecx
lea ecx, [eax - 8]
lea edx, [eax - 0x12]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x2c]
shr eax, 1
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov al, byte [eax + 0x2c]
and al, 1
movzx eax, al
mov word [edx], ax
mov eax, dword [esp + 0x18]
test byte [eax + 0xa], 0x80
jne 0x4ffa4c
mov ecx, dword [esp + 0x6c]
call fcn.004b17e0
test eax, eax
je 0x4ffa4c
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ffa1d
push 0
push dword [esp + 0x48]
mov edx, 0x32
mov ecx, esi
push edi
call fcn.00497c60
add esp, 0xc
jmp 0x4ffa4c
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x4ffac7
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x6c]
push edi
movzx edx, ax
call fcn.004fca30
mov ecx, dword [esp + 0x10]
add esp, 4
mov eax, dword [esp + 0x38]
movzx edx, ax
mov eax, edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x50], ecx
test edx, edx
je 0x4ffa98
mov ecx, dword [esp + 0x64]
cmp byte [edi], 0x41
jg 0x4ffa90
dec eax
inc ecx
inc edi
test eax, eax
jg 0x4ffa84
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x50]
cmp eax, 1
jle 0x4ffaad
nop dword [eax]
cmp byte [eax + edi - 1], 0x41
jg 0x4ffab1
dec eax
cmp eax, 1
jg 0x4ffaa0
test eax, eax
jle 0x4ffac7
push eax
push edi
push 0
push eax
push dword [esp + 0x74]
mov edx, 0x5f
call fcn.00498000
add esp, 0x14
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
movzx eax, cx
mov ecx, dword [esp + 0x6c]
add edi, eax
mov al, byte [ecx]
cmp al, 0xb0
jne 0x4ffae1
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x4ffaea
mov eax, dword [ecx + 0x14]
jmp 0x4ffaf4
cmp al, 0x8a
jne 0x4ffb03
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jle 0x4ffb03
mov dword [esp + 0x58], 1
jmp 0x4ffb78
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
call fcn.004fc9c0
jmp 0x4ffb78
cmp byte [esp + 0x1f], 0
je 0x4ffb78
test eax, eax
jne 0x4ffb77
mov edi, dword [esp + 0x3c]
mov ecx, dword [esi + 0x74]
add edi, edx
cmp dword [esi + 0x78], ecx
jg 0x4ffb3c
push eax
push edi
push eax
lea edx, [eax + 0x4a]
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4ffb6b
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x28]
mov dword [esp + 0x58], 0
inc edi
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4ffb8b
mov ecx, dword [esp + 0x68]
mov edx, eax
call fcn.00473400
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4ffb9e
mov ecx, dword [esp + 0x68]
mov edx, eax
call fcn.00473400
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x40], 0
jne 0x4ffbad
mov eax, dword [esi + 0x74]
mov dword [ecx + 0x40], eax
test edi, edi
je 0x4ffcc7
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4ffc10
mov ecx, dword [esi + 0x74]
lea edx, [ecx + 3]
cmp dword [esi + 0x78], ecx
jg 0x4ffbdd
push 0
push edx
push eax
mov edx, 0x14
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4ffc10
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x14
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 + 0x58]
mov ecx, dword [esp + 0x40]
mov edx, dword [esi + 0x74]
mov al, byte [eax + ecx*2 + 0x59c740]
mov byte [esp + 0x1f], al
cmp dword [esi + 0x78], edx
jg 0x4ffc48
push dword [esp + 0x3c]
movzx edx, al
mov ecx, esi
push dword [esp + 0x48]
push dword [esp + 0x5c]
call fcn.00497c60
add esp, 0xc
mov edx, eax
jmp 0x4ffc85
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov cl, byte [esp + 0x1f]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4ffc9c
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4ffcc7
mov edx, dword [esi + 0x74]
jns 0x4ffcac
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4ffcbb
mov eax, 0x5d4b70
jmp 0x4ffcc4
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4ffdba
mov ecx, dword [esi + 0x74]
lea edx, [ecx + 2]
cmp dword [esi + 0x78], ecx
jg 0x4ffcf3
push 0
push edx
push eax
mov edx, 0x12
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4ffd26
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x12
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 + 0x70]
mov ecx, dword [esp + 0x40]
mov edx, dword [esi + 0x74]
mov al, byte [eax + ecx*2 + 0x59c740]
mov byte [esp + 0x1f], al
cmp dword [esi + 0x78], edx
jg 0x4ffd5e
push dword [esp + 0x3c]
movzx edx, al
mov ecx, esi
push dword [esp + 0x48]
push dword [esp + 0x5c]
call fcn.00497c60
add esp, 0xc
mov edx, eax
jmp 0x4ffd9b
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov cl, byte [esp + 0x1f]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4ffdba
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x70]
add eax, edi
mov dword [ecx + 0x10], eax
mov edi, dword [esp + 0x20]
test dword [edi + 0x2c], 0x40000
je 0x4ffe19
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ffdea
mov eax, dword [esp + 0x24]
mov edx, 0x7c
push eax
push eax
push dword [esp + 0x5c]
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4ffe19
mov edx, dword [esp + 0x54]
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], 0x7c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
test byte [edi + 0x2c], 0x40
mov eax, dword [ebp + 8]
je 0x4ffe92
test byte [eax + 0x2c], 0x20
jne 0x4ffe92
mov dword [esp + 0x5c], 1
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
jne 0x4ffe78
mov eax, dword [ebp + 8]
test byte [eax + 0x2c], 0x20
jne 0x4ffe57
mov ecx, dword [esp + 0x74]
push eax
push edi
call fcn.004fdc80
add esp, 8
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x4ffe75
push dword [esp + 0x9c]
mov edx, dword [esp + 0x34]
call fcn.004fde90
add esp, 4
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x20]
test dword [edx + 0x2c], 0x1000
je 0x5000d4
mov byte [ecx + 0x39], 0xb6
jmp 0x5000e1
mov ecx, dword [esp + 0x74]
mov edi, dword [ecx + 0xc]
test byte [edi + 0x1c], 0x80
jne 0x4ffec1
mov edi, dword [esp + 0x54]
mov edx, ecx
push edi
push dword [esp + 0x34]
mov ecx, eax
call fcn.004fd8d0
add esp, 8
mov dword [esp + 0x5c], 0
jmp 0x4ffe34
mov edx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x5c], eax
cmp edx, dword [esp + 0x54]
je 0x5000cb
mov edi, dword [edi + 8]
mov dword [esp + 0x5c], eax
test edi, edi
je 0x4ffef4
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x4ffef4
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x4ffee4
movzx ecx, word [edi + 0x32]
cmp ecx, 1
jne 0x4fff29
mov ecx, dword [esp + 0xc]
mov al, byte [ecx + 0x13]
test al, al
jne 0x4fff14
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x4c], eax
jmp 0x4fff68
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x98]
mov dword [esp + 0x4c], eax
jmp 0x4fff68
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x20]
mov edx, dword [edx + 0x1c]
mov dword [esp + 0x4c], eax
cmp ecx, edx
jg 0x4fff51
mov esi, dword [esp + 0xc]
add eax, ecx
sub edx, ecx
mov dword [esi + 0x20], eax
mov eax, esi
mov esi, dword [esp + 0x34]
mov dword [eax + 0x1c], edx
jmp 0x4fff68
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], edx
mov dword [ecx + 0x2c], eax
movzx eax, word [edi + 0x32]
xor edx, edx
mov dword [esp + 0x58], 0
mov ecx, eax
cmp dx, ax
jae 0x500044
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
nop dword [eax]
mov eax, dword [esp + 0x74]
xor ecx, ecx
movzx edx, word [eax + 0x34]
test edx, edx
je 0x4fffc9
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x58]
movzx eax, word [eax + esi*2]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
mov esi, dword [esp + 0x50]
cmp si, word [eax]
mov esi, dword [esp + 0x34]
je 0x4ffff1
inc ecx
add eax, 2
cmp ecx, edx
jl 0x4fffb4
or eax, 0xffffffff
mov ecx, dword [esi + 0x74]
movsx edx, ax
cmp dword [esi + 0x78], ecx
jg 0x4ffff6
push dword [esp + 0x14]
mov ecx, esi
push edx
push dword [esp + 0x5c]
mov edx, 0x5d
call fcn.00497c60
add esp, 0xc
jmp 0x500029
movzx eax, cx
jmp 0x4fffcc
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 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x58]
movzx edx, word [edi + 0x32]
inc ecx
inc dword [esp + 0x14]
mov dword [esp + 0x58], ecx
cmp ecx, edx
jl 0x4fff90
mov ecx, edx
mov edx, dword [esi + 0x74]
movzx edi, cx
cmp dword [esi + 0x78], edx
jg 0x500071
push dword [esp + 0x4c]
mov edx, 0x1e
mov ecx, esi
push dword [esp + 0x88]
push dword [esp + 0x38]
call fcn.00497c60
add esp, 0xc
mov edx, eax
jmp 0x5000ab
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x84]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x1e
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4ffe30
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
jmp 0x4ffe30
mov edi, dword [esp + 0x54]
jmp 0x4ffe38
cmp dword [esp + 0x40], 0
sete al
add al, 4
mov byte [ecx + 0x39], al
mov dword [ecx + 0x3c], edi
mov al, byte [edx + 0x2e]
mov edi, dword [ebp + 0x10]
and al, 1
mov byte [edi + 0x3a], al
test byte [edx + 0x2c], 0xf
jne 0x5000f9
mov byte [edi + 0x3b], 1
cmp dword [esp + 0x5c], 0
je 0x500e0c
xor eax, eax
mov dword [esp + 0x74], eax
jmp 0x4feb4e
test edx, 0x2000
je 0x500d5d
mov ecx, dword [esp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x64], 0
mov dword [esp + 0x2c], 0
mov eax, dword [ecx + 0x28]
dec dword [ecx + 0x38]
mov dword [esp + 0x98], eax
inc eax
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [esp + 0x18], 0
mov dword [ecx + 0x2c], eax
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x28], 0
mov dword [esp + 0x48], 0
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], edx
mov eax, dword [eax + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov eax, dword [eax + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp + 8]
mov byte [edi + 0x39], 0x43
mov al, byte [eax + 0x30]
cmp al, 1
jbe 0x5002fa
mov ecx, dword [esp + 0x68]
movzx eax, al
sub eax, dword [ebp + 0xc]
dec eax
mov dword [esp + 0x78], eax
push 0
lea eax, [eax + eax*8]
lea eax, [eax*8 + 0x50]
push eax
test ecx, ecx
je 0x5001d5
call fcn.004737f0
mov ecx, eax
mov dword [esp + 0x54], ecx
jmp 0x5001e0
call fcn.00473130
mov ecx, eax
mov dword [esp + 0x54], eax
add esp, 8
test ecx, ecx
jne 0x5001f3
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x78]
lea eax, [edx + 1]
movzx eax, al
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov eax, dword [esp + 0x80]
movups xmm0, xmmword [eax]
movups xmmword [ecx + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x18], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x28], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ecx + 0x38], xmm0
movq xmm0, qword [eax + 0x40]
mov eax, dword [ebp + 8]
movq qword [ecx + 0x48], xmm0
mov eax, dword [eax + 4]
add eax, 8
cmp edx, 1
jl 0x500293
add ecx, 0x50
mov esi, eax
add edi, 0x90
nop dword [eax + eax]
movzx eax, byte [edi]
lea edi, [edi + 0x58]
lea ecx, [ecx + 0x48]
lea eax, [eax + eax*8]
movups xmm0, xmmword [esi + eax*8]
movups xmmword [ecx - 0x48], xmm0
movups xmm0, xmmword [esi + eax*8 + 0x10]
movups xmmword [ecx - 0x38], xmm0
movups xmm0, xmmword [esi + eax*8 + 0x20]
movups xmmword [ecx - 0x28], xmm0
movups xmm0, xmmword [esi + eax*8 + 0x30]
movups xmmword [ecx - 0x18], xmm0
movq xmm0, qword [esi + eax*8 + 0x40]
movq qword [ecx - 8], xmm0
sub edx, 1
jne 0x500250
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
test byte [eax + 0x2c], 0x10
jne 0x500456
test byte [edx + 0x1c], 0x80
jne 0x50034d
inc dword [ecx + 0x2c]
lea edi, [esi + 0x74]
mov edx, dword [ecx + 0x2c]
lea eax, [esi + 0x78]
mov ecx, dword [edi]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x40], eax
cmp dword [eax], ecx
jg 0x500306
push 0
push edx
push 0
mov edx, 0x4a
mov ecx, esi
call fcn.00497c60
mov eax, dword [esp + 0x18]
lea ecx, [esi + 0x78]
add esp, 0xc
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x500464
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
jmp 0x50029b
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x4a
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 + 0xc]
lea edi, [esi + 0x74]
lea ecx, [esi + 0x78]
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x500464
mov edi, dword [edx + 8]
test edi, edi
je 0x500364
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x500364
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x500354
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x2c], eax
inc eax
mov dword [ecx + 0x28], eax
lea eax, [esi + 0x74]
mov ecx, dword [eax]
movzx edx, word [edi + 0x32]
mov dword [esp + 0x24], eax
lea eax, [esi + 0x78]
mov dword [esp + 0x40], eax
cmp dword [eax], ecx
jg 0x50039f
push 0
push edx
push dword [esp + 0x34]
mov edx, 0x74
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x5003d2
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x74
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 + 0xc]
mov edx, edi
mov eax, dword [ecx + 8]
mov dword [esp + 0x78], eax
call fcn.004ca860
mov edi, eax
test edi, edi
je 0x500334
mov edx, dword [esp + 0x78]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x500426
push edi
mov edx, 0xfffffff7
call fcn.00498770
mov eax, dword [esp + 0x10]
lea edi, [esi + 0x74]
add esp, 4
mov dword [esp + 0x24], edi
lea ecx, [esi + 0x78]
mov dword [esp + 0x40], ecx
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x500464
mov eax, dword [edx + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x70]
mov dword [eax + ecx*4 - 4], edi
lea edi, [esi + 0x74]
mov byte [eax + ecx*4 - 0x13], 0xf7
lea ecx, [esi + 0x78]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], edi
mov dword [esp + 0x40], ecx
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x500464
lea edi, [esi + 0x74]
lea ecx, [esi + 0x78]
mov dword [esp + 0x24], edi
mov dword [esp + 0x40], ecx
mov edx, dword [edi]
mov dword [esp + 0x78], edx
cmp dword [ecx], edx
jg 0x50048b
push 0
push dword [esp + 0x60]
mov edx, 0x47
mov ecx, esi
push 0
call fcn.00497c60
add esp, 0xc
mov dword [esp + 0x78], eax
jmp 0x5004bd
lea eax, [edx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x5c]
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 edx, dword [ebp + 8]
cmp dword [edx + 0x64], 1
jle 0x5005ca
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x14], ecx
mov eax, dword [edx + 0x70]
mov edx, dword [eax + edi]
add eax, edi
cmp eax, dword [esp + 0x50]
je 0x50052d
mov esi, 0x8006
test word [eax + 0xa], si
mov esi, dword [esp + 0xc]
jne 0x50052d
mov ecx, 0x1fff
test word [eax + 0xc], cx
mov ecx, dword [esp + 0x14]
je 0x50052d
test dword [edx + 4], 0x200000
jne 0x50052d
mov ecx, dword [esp + 0x68]
push 0
push 0
call fcn.004b0350
mov edx, dword [esp + 0x50]
mov ecx, esi
push eax
call fcn.004af880
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x500531
mov eax, dword [esp + 0x48]
mov edx, dword [ebp + 8]
inc ecx
add edi, 0x30
mov dword [esp + 0x14], ecx
cmp ecx, dword [edx + 0x64]
jl 0x5004d2
mov esi, dword [esp + 0x34]
test eax, eax
je 0x5005ca
mov eax, dword [esp + 0xc]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.004737f0
mov edi, eax
add esp, 8
test edi, edi
je 0x5005b7
push 0x34
push 0
push edi
call fcn.005515a0
or eax, 0xffffffff
mov byte [edi], 0x2c
mov word [edi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x48]
mov ecx, edi
mov dword [edi + 0x10], eax
mov eax, dword [eax + 4]
and eax, 0x200104
or dword [edi + 4], eax
call fcn.004af480
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
cmp dword [edi + 0x18], eax
jle 0x5005c6
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.004769e0
add esp, 0xc
jmp 0x5005c6
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
mov ecx, dword [eax]
call fcn.004b0060
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0xc]
push str.MULTI_INDEX_OR
push 1
push edi
call fcn.00498260
mov edx, dword [esp + 0x64]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x38], ecx
cmp dword [edx + 0xc], ecx
jle 0x50067c
mov dword [esp + 0x8c], 1
nop dword [eax]
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, dword [edx + 0x18]
mov edx, dword [esp + 0x30]
cmp dword [eax + 0x14], edx
je 0x50061d
mov edx, 0x400
test word [eax + 0xc], dx
je 0x50066c
mov edx, dword [eax]
mov dword [esp + 0x6c], 0
test edx, edx
je 0x500643
mov ecx, dword [esp + 0x68]
push 0
push 0
call fcn.004b0350
mov ecx, dword [esp + 0x40]
add esp, 8
mov edi, eax
jmp 0x500645
xor edi, edi
mov eax, dword [esp + 0x68]
mov dword [esp + 0x7c], edi
cmp byte [eax + 0x57], 0
je 0x500691
test edi, edi
je 0x500c0d
mov edx, edi
mov ecx, eax
call fcn.004b0060
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x58]
inc ecx
mov dword [esp + 0x38], ecx
mov edx, eax
cmp ecx, dword [eax + 0xc]
jl 0x500600
mov ecx, dword [edi + 0xdc]
test ecx, ecx
jne 0x500c16
xor eax, eax
jmp 0x500c3c
mov eax, dword [esp + 0x48]
test eax, eax
je 0x50069e
mov dword [eax + 0xc], edi
mov edi, eax
lea eax, [ecx + 1]
push eax
push str.INDEX__d
push 1
push dword [esp + 0x18]
call fcn.00498260
push dword [esp + 0xa8]
mov edx, dword [esp + 0x60]
push 0x20
push 0
push 0
push 0
push edi
mov edi, dword [esp + 0x34]
mov ecx, edi
call fcn.0050b960
add esp, 0x28
mov dword [esp + 0x60], eax
test eax, eax
je 0x500bf1
mov edx, dword [esp + 0x4c]
lea ecx, [eax + 0x300]
push 0
push ecx
mov ecx, edi
call fcn.004fc3e0
mov eax, dword [ebp + 8]
add esp, 8
test byte [eax + 0x2c], 0x10
jne 0x500aa1
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
mov eax, 0xffffffff
cmove ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], ecx
test byte [eax + 0x1c], 0x80
jne 0x500814
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
mov ecx, dword [edx]
cmp dword [eax], ecx
jg 0x500755
push 0
push dword [esp + 0x1c]
mov edx, 0x86
mov ecx, esi
push dword [esp + 0x38]
call fcn.00497c60
add esp, 0xc
jmp 0x500787
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x86
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 + 0x24]
mov eax, dword [esp + 0x40]
mov edx, dword [ecx]
mov dword [esp + 0x6c], edx
cmp dword [eax], edx
jg 0x5007ba
push dword [esp + 0x18]
mov edx, 0x2e
mov ecx, esi
push 0
push dword [esp + 0x34]
call fcn.00497c60
mov edx, eax
add esp, 0xc
mov dword [esp + 0x6c], edx
jmp 0x5007f0
mov edi, dword [esp + 0x2c]
lea eax, [edx + 1]
mov dword [ecx], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x2e
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x500aa1
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x14]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x500aa1
mov ecx, eax
call fcn.004c2610
mov dword [esp + 0x88], eax
movzx ecx, word [eax + 0x32]
mov eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], eax
cmp eax, 1
jne 0x500861
mov al, byte [edi + 0x13]
test al, al
jne 0x50084a
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
xor edi, edi
mov dword [esp + 0x3c], edx
jmp 0x5008a0
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edx, dword [edi + eax*4 + 0x98]
xor edi, edi
mov dword [esp + 0x3c], edx
jmp 0x5008a0
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x3c], edx
cmp eax, ecx
jg 0x50087f
add eax, edx
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x44]
sub ecx, eax
mov dword [edi + 0x1c], ecx
jmp 0x500894
mov eax, dword [edi + 0x2c]
lea edx, [eax + 1]
add eax, dword [esp + 0x44]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], edx
xor ecx, ecx
xor edi, edi
cmp cx, word [esp + 0x20]
jae 0x5008d2
nop
lea eax, [edi + edx]
mov ecx, esi
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
movsx eax, word [eax + edi*2]
push eax
push dword [esp + 0x38]
call fcn.004b4850
mov eax, dword [esp + 0x50]
inc edi
mov edx, dword [esp + 0x48]
add esp, 0xc
cmp edi, eax
jl 0x5008a0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x500965
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
mov edi, dword [ecx]
mov dword [esp + 0x6c], edi
cmp dword [eax], edi
jg 0x50090e
push edx
push 0
push dword [esp + 0x34]
mov edx, 0x1f
mov ecx, esi
call fcn.00497c60
mov edi, eax
add esp, 0xc
mov dword [esp + 0x6c], edi
jmp 0x500940
lea eax, [edi + 1]
mov dword [ecx], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x50095b
mov eax, dword [esi + 0x70]
lea ecx, [edi + edi*4]
mov edi, dword [esp + 0x44]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov eax, dword [esp + 0x44]
js 0x500a60
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov ecx, dword [edi]
cmp dword [edx], ecx
mov edx, dword [esp + 0x3c]
jg 0x500994
push dword [esp + 0x18]
mov ecx, esi
push eax
push edx
mov edx, 0x60
call fcn.00497c60
add esp, 0xc
jmp 0x5009c6
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x40]
mov edx, dword [edi]
cmp dword [eax], edx
jg 0x5009f0
mov edi, dword [esp + 0x3c]
mov edx, 0x89
push edi
push dword [esp + 0x1c]
mov ecx, esi
push dword [esp + 0x34]
call fcn.00497c60
add esp, 0xc
mov edx, eax
jmp 0x500a22
lea eax, [edx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x500a3d
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x44]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
cmp dword [esp + 0x14], 0
je 0x500a64
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
test eax, eax
jle 0x500a64
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x500a64
mov edi, dword [esp + 0x3c]
cmp word [esp + 0x20], 1
jne 0x500a8c
test edi, edi
je 0x500ace
mov ecx, dword [esp + 0xc]
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x500ad4
movzx eax, al
mov dword [ecx + eax*4 + 0x98], edi
mov edi, ecx
inc byte [edi + 0x13]
jmp 0x500aa1
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
cmp ecx, dword [eax + 0x1c]
jle 0x500a9f
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edi
mov edi, eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
mov ecx, dword [edx]
cmp dword [eax], ecx
jg 0x500ad8
push 0
push dword [esp + 0x58]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x64]
call fcn.00497c60
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x500b0e
mov edi, dword [esp + 0xc]
jmp 0x500aa1
mov edi, ecx
jmp 0x500aa1
mov edi, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x500b38
mov edx, dword [edx]
jns 0x500b1d
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x500b2c
mov eax, 0x5d4b70
jmp 0x500b35
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
mov edx, dword [eax + 0x34]
test dl, 2
cmovne ecx, dword [esp + 0x8c]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x34c]
test dword [ecx + 0x2c], 0x200
je 0x500b9c
cmp dword [esp + 0x38], 0
je 0x500b75
mov edi, dword [esp + 0x64]
cmp dword [ecx + 0x20], edi
mov edi, dword [esp + 0xc]
jne 0x500b9c
mov esi, dword [esp + 0x70]
test byte [esi + 0x1c], 0x80
mov esi, dword [esp + 0x34]
je 0x500b93
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0x60]
je 0x500b9c
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x64], ecx
jmp 0x500ba4
mov dword [esp + 0x64], 0
test dl, 1
je 0x500bb0
mov ecx, dword [ebp + 8]
or dword [ecx + 0x34], 1
mov ecx, eax
call fcn.0050c5b0
mov ecx, dword [edi + 0xdc]
test ecx, ecx
jne 0x500bc5
xor eax, eax
jmp 0x500beb
mov edx, dword [edi + 8]
test ecx, ecx
jns 0x500bd0
mov ecx, dword [edx + 0x74]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x500bdf
mov eax, 0x5d4b70
jmp 0x500be8
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, dword [esp + 0x7c]
test eax, eax
je 0x500668
mov ecx, dword [esp + 0x68]
mov edx, eax
call fcn.004b0060
jmp 0x500668
mov edi, dword [esp + 0xc]
jmp 0x50066c
mov edx, dword [edi + 8]
test ecx, ecx
jns 0x500c21
mov ecx, dword [edx + 0x74]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x500c30
mov eax, 0x5d4b70
jmp 0x500c39
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 edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x64]
mov dword [edi + 0x44], eax
test eax, eax
je 0x500c5a
mov eax, dword [esp + 0x98]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x500c74
mov ecx, dword [esp + 0x68]
mov edx, eax
mov dword [eax + 0xc], 0
call fcn.004b0060
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x78]
mov edx, dword [eax]
test ecx, ecx
jns 0x500c85
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x500c94
mov eax, 0x5d4b70
jmp 0x500c9d
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x24]
mov edx, dword [edi + 0xc]
mov ecx, dword [eax]
mov eax, dword [esp + 0x40]
cmp dword [eax], ecx
jg 0x500cc7
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x500cfc
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edi], eax
mov eax, dword [esi + 0x70]
mov edi, dword [ebp + 0x10]
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]
mov edx, dword [esp + 0x54]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x500d1a
push edx
mov edx, esi
call fcn.00498480
add esp, 4
jmp 0x500d26
mov eax, dword [esp + 0x24]
mov ecx, dword [ecx + 0x40]
mov eax, dword [eax]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0x30], 1
jbe 0x500d42
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x500d42
mov ecx, dword [esp + 0x68]
mov edx, eax
call fcn.00473400
cmp dword [esp + 0x28], 0
jne 0x4feb4c
mov edx, dword [esp + 0x50]
mov ecx, edi
call fcn.004fc9c0
jmp 0x4feb4c
mov eax, dword [esp + 0x80]
test byte [eax + 0x28], 0x20
jne 0x4feb45
mov edx, dword [esp + 0x40]
mov ecx, dword [ebp + 0x10]
movzx eax, byte [edx + 0x5973d4]
mov byte [ecx + 0x39], al
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x3c], eax
mov al, byte [edx + 0x5989c4]
mov edx, dword [esi + 0x74]
mov byte [esp + 0x1f], al
cmp dword [esi + 0x78], edx
jg 0x500dc0
push 0
push edi
push dword [esp + 0x38]
movzx edx, al
mov ecx, esi
call fcn.00497c60
mov ecx, dword [ebp + 0x10]
mov edx, eax
add esp, 0xc
lea eax, [edx + 1]
mov byte [ecx + 0x3b], 1
mov dword [ecx + 0x40], eax
jmp 0x4feb4c
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 dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [eax + ecx*4]
mov cl, byte [esp + 0x1f]
mov byte [eax + 1], 0
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
lea eax, [edx + 1]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x40], eax
mov byte [ecx + 0x3b], 1
jmp 0x4feb4c
mov eax, dword [esp + 0x74]
jmp 0x4feb4e
mov eax, dword [esp + 0x80]
mov ecx, dword [edi]
mov dword [esp + 0x88], ecx
test byte [eax + 0x24], 8
je 0x500e35
test byte [ecx + 4], 1
je 0x500fda
cmp dword [esp + 0x58], 1
jne 0x500ec0
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0xa0], 0
movlpd qword [esp + 0xa8], xmm0
movlpd qword [esp + 0xb0], xmm0
mov eax, dword [eax + 4]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x90]
mov dword [esp + 0xa4], 0x4b8920
mov dword [esp + 0xb8], eax
test ecx, ecx
je 0x500ea7
mov edx, ecx
lea ecx, [esp + 0xa0]
call fcn.004ab710
mov edx, dword [esp + 0x14]
cmp word [esp + 0xb4], 0
je 0x500ece
mov edx, 2
mov dword [esp + 0x14], edx
jmp 0x500fda
cmp dword [esp + 0x58], 3
mov eax, dword [esp + 0x7c]
movzx ecx, ax
jge 0x500ef4
movzx eax, word [edi + 0xa]
mov ecx, eax
test eax, 0x1000
je 0x500ef4
mov ecx, dword [ebp + 8]
test edx, edx
jne 0x500fdd
mov edx, 3
mov dword [esp + 0x14], edx
jmp 0x500fdd
test ecx, 0x200
je 0x500f87
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x500f87
mov edx, dword [esi + 0x74]
mov ecx, eax
and eax, 1
shr ecx, 1
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x28], edx
lea eax, [eax*2 + 0x12]
mov dword [esp + 0x7c], eax
cmp dword [esi + 0x78], edx
jg 0x500f46
push 0
push 0
push ecx
mov edx, eax
mov ecx, esi
call fcn.00497c60
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x500f87
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], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x7c]
mov byte [eax + 1], 0
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 4], ecx
push 0x10
push dword [esp + 0x88]
push dword [esp + 0x90]
push dword [esp + 0x18]
call fcn.004b7b40
mov ecx, dword [esp + 0x38]
add esp, 0x10
test ecx, ecx
je 0x500fd1
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x500fbd
mov eax, 0x5d4b70
jmp 0x500fce
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
or word [edi + 0xa], 4
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x50]
add edi, 0x30
dec eax
mov dword [esp + 0x50], eax
test eax, eax
jg 0x4feb80
mov dword [esp + 0x58], edx
test edx, edx
jg 0x4feb60
mov edx, dword [ecx + 0x6c]
mov eax, dword [ecx + 0x70]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x5c], edx
test edx, edx
jle 0x50112a
mov esi, eax
test byte [esi + 0xa], 6
jne 0x501116
movzx eax, word [esi + 0xc]
mov edi, 0xb
test al, 0x82
setne cl
bt ax, di
setb al
test al, cl
je 0x501116
mov ecx, dword [esp + 0x30]
cmp dword [esi + 0x14], ecx
jne 0x501116
mov eax, dword [esp + 0x80]
test byte [eax + 0x24], 8
jne 0x501116
mov eax, dword [esi]
mov edx, ecx
mov ecx, dword [esp + 0x9c]
push 0
push 0x83
push dword [ebp + 0x18]
mov dword [esp + 0x88], eax
push dword [ebp + 0x14]
push dword [esi + 0x18]
call fcn.00504d50
mov edi, eax
add esp, 0x14
test edi, edi
je 0x501112
test byte [edi + 0xa], 4
jne 0x501112
test byte [edi + 0xc], 1
je 0x5010b0
mov eax, dword [edi]
test dword [eax + 4], 0x800
je 0x5010b0
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jg 0x501112
mov eax, dword [edi]
push 0x10
push dword [esp + 0x88]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0xa8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0xb8], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0xc8], xmm0
mov eax, dword [eax + 0x30]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x18]
call fcn.004b7b40
add esp, 0x10
or word [edi + 0xa], 4
mov edx, dword [esp + 0x5c]
dec edx
add esi, 0x30
mov dword [esp + 0x5c], edx
test edx, edx
jg 0x501015
mov esi, dword [esp + 0x34]
mov edx, dword [ebp + 0x10]
mov edi, dword [edx]
test edi, edi
je 0x5011e1
mov eax, dword [esi + 0x74]
mov dword [edx + 0x1c], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x50115e
push 0
push edi
push 1
mov edx, 0x47
mov ecx, esi
call fcn.00497c60
mov edx, dword [ebp + 0x10]
add esp, 0xc
jmp 0x50118d
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], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 8]
xor edi, edi
mov esi, dword [eax + 0x70]
cmp dword [eax + 0x6c], edi
jle 0x5011e1
nop word [eax + eax]
test byte [esi + 0xa], 6
jne 0x5011d2
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edx + 0x50]
and eax, dword [edx + 0x54]
or ecx, eax
jne 0x5011d2
push 0x10
push dword [esp + 0x88]
push dword [esi]
push dword [esp + 0x18]
call fcn.004b7b40
add esp, 0x10
or word [esi + 0xa], 4
mov edx, dword [ebp + 8]
inc edi
add esi, 0x30
cmp edi, dword [edx + 0x6c]
mov edx, dword [ebp + 0x10]
jl 0x5011a0
mov ecx, dword [ebp + 0x10]
pop edi
pop esi
mov eax, dword [ecx + 0x50]
mov edx, dword [ecx + 0x54]
mov esp, ebp
pop ebp
ret