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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
shl ecx, 4
push ebx
mov ebx, dword [eax]
push esi
mov esi, dword [ebx + 8]
lea edx, [eax + 0x50]
mov dword [esp + 0x70], edx
mov edx, dword [ebx]
push edi
lea edi, [ecx + eax + 0x2f0]
movzx ecx, byte [edi + 0x2c]
mov dword [esp + 0x68], edx
mov edx, dword [edi + 0x40]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 4]
shl ecx, 4
lea ecx, [ecx + edx + 8]
mov edx, dword [eax + 0x1ec]
mov dword [esp + 0x20], ecx
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0x64], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0xc], 0
test edx, edx
jle 0x50f9a7
add eax, 0x1f0
mov ecx, dword [esp + 0x38]
cmp dword [eax], ecx
je 0x50faae
inc dword [esp + 0xc]
add eax, 4
cmp dword [esp + 0xc], edx
jl 0x50f98e
xor eax, eax
xor edx, edx
mov ecx, dword [ebp + 8]
not eax
and eax, dword [ebp + 0x10]
not edx
and edx, dword [ebp + 0x14]
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], edx
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ebp + 0xc]
call fcn.00543ea0
mov edx, dword [esp + 0x50]
and eax, 1
test byte [edx + 0x24], 0x40
mov dword [esp + 0x24], eax
je 0x50f9ee
mov eax, dword [ebp + 8]
test byte [eax + 0x2c], 0x20
mov dword [esp + 0x14], 1
je 0x50f9f6
mov dword [esp + 0x14], 0
mov eax, esi
call fcn.004cd7c0
mov dword [esp + 0x48], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], eax
mov eax, esi
call fcn.004cd7c0
cmp byte [edi + 0x2c], 0
mov dword [esp + 0x7c], eax
mov dword [edi + 0x18], eax
jbe 0x50fa3d
mov ecx, dword [esp + 0x20]
test byte [ecx + 0x24], 8
je 0x50fa3d
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push 0
push eax
push 0
push 0x38
push esi
mov dword [edi], eax
call fcn.004cd400
add esp, 0x14
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x50fa53
mov ecx, edi
cmp dword [ecx], 0
jne 0x50fa53
dec eax
sub ecx, 0x50
test eax, eax
jg 0x50fa46
lea edx, [eax + eax*4]
mov eax, dword [ebp + 8]
shl edx, 4
mov ecx, dword [edx + eax + 0x2fc]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx + 0x28]
test cl, 0x10
je 0x50fac3
mov ecx, edx
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x18]
push ecx
push 0
push eax
push 0xf
push esi
mov dword [esp + 0x50], eax
call fcn.004cd400
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
add esp, 0x14
push 0
push edx
push eax
push 0x10
push esi
call fcn.004cd400
add esp, 0x14
mov byte [edi + 0x2d], 0xd
jmp 0x5112ff
mov ecx, dword [esp + 0xc]
mov eax, 1
xor edx, edx
call fcn.005835c0
jmp 0x50f9ab
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x24]
mov dword [esp + 0xc], edx
test edx, 0x400
je 0x50ff91
movzx edx, word [eax + 0x28]
inc dword [ebx + 0x3c]
lea ecx, [edx + 2]
mov dword [esp + 0xc], edx
cmp ecx, 1
jne 0x50fb0d
mov cl, byte [ebx + 0x13]
test cl, cl
jne 0x50fafc
inc dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x2c]
jmp 0x50fb46
dec cl
mov byte [ebx + 0x13], cl
movzx ecx, cl
mov ecx, dword [ebx + ecx*4 + 0x15c]
jmp 0x50fb46
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x30], edx
mov edx, dword [ebx + 0x1c]
cmp ecx, edx
jg 0x50fb2e
mov edx, dword [esp + 0x30]
add edx, ecx
mov dword [ebx + 0x20], edx
mov edx, dword [ebx + 0x1c]
sub edx, ecx
mov dword [ebx + 0x1c], edx
jmp 0x50fb3e
mov edx, dword [ebx + 0x2c]
inc edx
mov dword [esp + 0x30], edx
mov edx, dword [ebx + 0x2c]
add ecx, edx
mov dword [ebx + 0x2c], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], 0
test edx, edx
jle 0x50fbcb
mov edx, dword [esp + 0x2c]
add edx, 2
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 0x30]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edx*4]
test ecx, ecx
je 0x50fbb8
test byte [ecx + 0xc], 1
je 0x50fb9f
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
push edi
push ecx
push ebx
call fcn.0050ecc0
mov ecx, dword [edi + 0x10]
add esp, 0x18
mov dword [esp + 0x30], ecx
jmp 0x50fbb4
mov edx, dword [esp + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push 1
push edx
push ebx
call fcn.0050f750
add esp, 0xc
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
inc dword [esp + 0x20]
inc ecx
cmp ecx, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
jl 0x50fb68
mov ecx, dword [eax + 0x18]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x88]
cmp dword [edx + 0x30], ecx
jg 0x50fbfc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
push 0x38
call fcn.004cd3c0
mov eax, dword [esp + 0x60]
add esp, 0x10
jmp 0x50fc30
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
xor edx, edx
mov word [ecx + 2], dx
mov edx, dword [esp + 0x14]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 8], edx
xor edx, edx
mov byte [ecx], 0x38
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
mov byte [ecx + 1], dl
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0xc]
inc ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x88]
cmp dword [edx + 0x30], ecx
jg 0x50fc67
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
push 0
push eax
push ecx
push 0x38
call fcn.004cd3c0
mov eax, dword [esp + 0x60]
add esp, 0x10
jmp 0x50fc9b
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
xor edx, edx
mov word [ecx + 2], dx
mov edx, dword [esp + 0xc]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x14]
mov dword [ecx + 8], edx
xor edx, edx
mov byte [ecx], 0x38
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
mov byte [ecx + 1], dl
movzx ecx, byte [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov edx, dword [esi + 0xc]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffa
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x88]
dec ecx
cmp dword [edx + 0x30], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x70], eax
jg 0x50fce7
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
push eax
push ecx
push edx
push 0xb
call fcn.004cd3c0
mov ecx, dword [esp + 0x4c]
add esp, 0x10
jmp 0x50fd26
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x2c]
mov byte [eax], 0xb
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
push eax
push esi
call fcn.004cdef0
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp + 8]
mov byte [edx + 0x1c], 0
mov dword [edi + 0x30], eax
mov dl, byte [ecx + 0x31]
mov ecx, dword [esp + 0x1c]
add esp, 0x10
neg dl
sbb dl, dl
and dl, 0x74
add dl, 0x32
mov byte [edi + 0x2d], dl
mov eax, dword [esi + 0x88]
add ecx, 0xffffffff
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x10], ecx
js 0x50ff0c
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
cmp ecx, 0x10
mov eax, dword [edx + 0x30]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x24], eax
jge 0x50fdb1
mov dx, word [edx + 0x1e]
shr dx, cl
test dl, 1
je 0x50fdb1
mov edi, dword [esp + 0x28]
call fcn.0050eb00
jmp 0x50fefd
test byte [eax + 0xc], 1
je 0x50ff01
mov eax, dword [esp + 0x68]
cmp byte [eax + 0x45], 0
jne 0x50fe13
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x3c]
sub eax, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [ecx + eax + 4]
test eax, eax
jge 0x50fde2
mov eax, dword [esi + 0x88]
dec eax
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x50fdf1
mov eax, 0x5ef850
jmp 0x50fdfa
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
movzx eax, byte [eax]
push ecx
push edx
push eax
push esi
call fcn.004cd400
add esp, 0x14
mov eax, dword [ebx]
push 0
push 0x30
call fcn.004afe20
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
je 0x50ff01
push 0x30
mov esi, eax
push 0
push esi
call fcn.0052e300
add esp, 0xc
or ecx, 0xffffffff
push esi
mov byte [esi], 0x4e
mov word [esi + 0x22], cx
call fcn.004e0430
mov edx, dword [ebx]
mov eax, dword [edx + 0x6c]
add esp, 4
cmp dword [esi + 0x18], eax
jle 0x50fe69
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
mov esi, ebx
call fcn.004b2660
add esp, 8
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x68]
push 0
push 0x31
call fcn.004afe20
mov esi, eax
add esp, 8
test esi, esi
je 0x50feb6
push 0x30
push 0
push esi
call fcn.0052e300
add esp, 0xc
lea eax, [esi + 0x30]
or ecx, 0xffffffff
mov byte [esi], 0x9d
mov word [esi + 0x22], cx
mov dword [esi + 8], eax
mov byte [eax], 0
mov dword [esi + 0x18], 1
mov edx, dword [esp + 0xc]
mov dword [edx + 0x10], esi
test esi, esi
je 0x50fee4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
lea edx, [eax + ecx + 2]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x1c], edx
mov eax, dword [edi + 0x18]
push 0
push eax
push ecx
push ebx
call fcn.004e5b10
add esp, 0x10
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x68]
push eax
push edx
mov dword [eax + 0xc], 0
call fcn.004e0aa0
add esp, 8
mov esi, dword [esp + 0x18]
sub dword [esp + 0x10], 1
jns 0x50fd80
dec dword [ebx + 0x3c]
xor esi, esi
cmp byte [ebx + 0x19], 0
jbe 0x511302
lea ecx, [ebx + 0x9a]
mov dl, 0xff
mov eax, dword [ecx + 2]
cmp eax, dword [ebx + 0x3c]
jle 0x50ff80
cmp byte [ecx], 0
je 0x50ff47
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x50ff47
mov edi, dword [ecx + 6]
movzx eax, al
mov dword [ebx + eax*4 + 0x15c], edi
inc byte [ebx + 0x13]
add byte [ebx + 0x19], dl
movzx eax, byte [ebx + 0x19]
cmp esi, eax
jge 0x50ff84
lea eax, [eax + eax*4]
mov edi, dword [ebx + eax*4 + 0x94]
lea eax, [ebx + eax*4 + 0x94]
mov dword [ecx - 6], edi
mov edi, dword [eax + 4]
mov dword [ecx - 2], edi
mov edi, dword [eax + 8]
mov dword [ecx + 2], edi
mov edi, dword [eax + 0xc]
mov dword [ecx + 6], edi
mov eax, dword [eax + 0x10]
mov dword [ecx + 0xa], eax
jmp 0x50ff84
inc esi
add ecx, 0x14
movzx eax, byte [ebx + 0x19]
cmp esi, eax
jl 0x50ff23
jmp 0x511302
mov edx, dword [esp + 0xc]
and edx, 0x100
je 0x51002d
test byte [esp + 0xc], 5
je 0x51002d
mov ecx, eax
mov edx, dword [ecx + 0x30]
mov eax, dword [edx]
inc dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x2c]
push ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x28]
push ecx
push 0
push edi
push eax
push ebx
call fcn.0050ecc0
add esp, 0x18
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x34]
je 0x50ffe9
mov esi, dword [esp + 0x34]
mov eax, ebx
call fcn.004e66f0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
push 0x1f
push esi
call fcn.004cd400
mov esi, dword [esp + 0x34]
add esp, 0x14
push 1
push esi
push ebx
call fcn.004e41a0
mov edx, dword [esp + 0x44]
add esp, 0xc
push esi
push 0xffffffffffffffff
push edx
mov eax, ebx
call fcn.004e4090
add esp, 0xc
mov byte [edi + 0x2d], 0xa6
jmp 0x511302
test edx, edx
mov edx, dword [esp + 0xc]
je 0x5102bd
test dl, 2
je 0x5102bd
xor ecx, ecx
mov dword [esp + 0x44], 0xa6
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], ecx
test dl, 0x20
je 0x510072
mov ecx, dword [eax + 0x30]
mov ecx, dword [ecx]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], 1
test dl, 0x10
je 0x510085
mov edx, dword [eax + 0x30]
mov eax, dword [esp + 0x10]
mov edx, dword [edx + eax*4]
mov dword [esp + 0x34], edx
cmp dword [esp + 0x24], 0
je 0x51009a
mov eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x510174
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
mov ecx, esi
mov byte [esp + 0xc], 0x1b
mov byte [esp + 0xd], 0x19
mov byte [esp + 0xe], 0x18
mov byte [esp + 0xf], 0x1a
mov dword [esp + 0x30], eax
call fcn.004dfde0
test eax, eax
je 0x510117
mov al, byte [ebx + 0x13]
test al, al
jne 0x5100dd
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 0x2c]
jmp 0x5100ec
dec al
movzx ecx, al
mov byte [ebx + 0x13], al
mov esi, dword [ebx + ecx*4 + 0x15c]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x10]
push 1
push esi
push ebx
mov dword [esp + 0x20], esi
call fcn.0050f750
mov eax, dword [esp + 0x3c]
movzx ecx, byte [eax]
sub ecx, 0x4f
add esp, 0xc
or ecx, 1
movzx eax, byte [esp + ecx + 0xc]
jmp 0x51013e
lea edx, [esp + 0x14]
push edx
push ebx
mov eax, esi
call fcn.004e53f0
mov esi, eax
mov eax, dword [esp + 0x28]
add esp, 8
call fcn.0050eb00
mov eax, dword [esp + 0x30]
movzx ecx, byte [eax]
movzx eax, byte [esp + ecx - 0x43]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
push esi
push edx
mov edx, dword [esp + 0x20]
push ecx
push eax
push edx
call fcn.004cd400
add esp, 0x14
push 1
push esi
push ebx
call fcn.004e41a0
mov esi, dword [esp + 0x20]
add esp, 0xc
mov eax, ebx
call fcn.004e66f0
mov esi, dword [esp + 0x18]
jmp 0x51019a
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
xor edx, edx
cmp dword [esp + 0x24], edx
push 0
sete dl
push eax
push ecx
lea edx, [edx*4 + 0x21]
push edx
push esi
call fcn.004cd400
add esp, 0x14
cmp dword [esp + 0x34], 0
je 0x51022c
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
inc dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x2c]
push 1
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x10]
push ebx
mov dword [esp + 0x58], ecx
call fcn.0050f750
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x10]
add esp, 0xc
mov dword [esp + 0x3c], ecx
call fcn.004dfde0
test eax, eax
jne 0x5101fd
mov edx, dword [esp + 0x14]
mov al, byte [edx]
cmp al, 0x51
je 0x5101ea
cmp al, 0x4f
jne 0x5101fd
xor eax, eax
cmp dword [esp + 0x24], eax
sete al
lea eax, [eax + eax + 0x50]
mov dword [esp + 0x44], eax
jmp 0x51020e
xor ecx, ecx
cmp dword [esp + 0x24], ecx
setne cl
lea ecx, [ecx + ecx + 0x4f]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x3c]
call fcn.004dfde0
test eax, eax
jne 0x51022c
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
call fcn.0050eb00
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x24], 0
mov eax, dword [esi + 0x88]
mov ecx, dword [esp + 0x38]
sete dl
add dl, 6
cmp dword [esp + 0x44], 0xa6
mov byte [edi + 0x2d], dl
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], eax
je 0x511302
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
push 0
push edi
mov edx, ecx
push edx
push 0x7b
push esi
call fcn.004cd400
mov eax, dword [esp + 0x4c]
add esp, 0x14
push edi
push 0xffffffffffffffff
push eax
mov eax, ebx
call fcn.004e4090
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
add esp, 0xc
push edi
push ecx
push edx
push eax
push esi
call fcn.004cd400
mov eax, dword [esi + 0x88]
add esp, 0x14
test eax, eax
jle 0x511302
mov edx, dword [esi + 0x58]
lea ecx, [eax + eax*4]
mov eax, 0x53
mov word [edx + ecx*4 - 0x12], ax
jmp 0x511302
test edx, 0x200
je 0x510ac1
movzx ecx, word [eax + 0x18]
mov dword [esp + 0x60], ecx
movzx ecx, word [eax + 0x1a]
movzx edx, cx
movzx ecx, word [eax + 0x1c]
mov dword [esp + 0x3c], ecx
movzx ecx, cx
mov dword [esp + 0x5c], ecx
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov byte [esp + 0x1f], cl
mov byte [esp + 0x6f], cl
mov ecx, dword [edi + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 8]
test byte [ecx + 0x2c], 1
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x64], edx
je 0x51033a
cmp byte [ecx + 0x2f], 0
jle 0x51033a
mov cx, word [edx + 0x32]
cmp cx, word [esp + 0x60]
jbe 0x51033a
mov byte [esp + 0x1f], 1
mov dword [esp + 0x40], 1
test byte [eax + 0x24], 0x20
movzx ecx, word [esp + 0x60]
mov dword [esp + 0x58], ecx
je 0x51036e
mov edx, dword [eax + 0x30]
mov edx, dword [edx + ecx*4]
inc ecx
mov dword [esp + 0x10], ecx
movzx ecx, word [eax + 0x1a]
cmp dword [esp + 0x40], ecx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x64]
jg 0x51036a
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x10]
test byte [eax + 0x24], 0x10
je 0x51041b
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + ecx*4]
movzx eax, word [esp + 0x3c]
cmp dword [esp + 0x40], eax
mov dword [esp + 0x2c], ecx
jg 0x510391
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x2c]
mov eax, 0x100
test word [ecx + 0xa], ax
je 0x5103e9
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push 0
push eax
push 1
push 0x38
push esi
mov dword [edi + 0x24], eax
call fcn.004cd400
mov edx, dword [esi + 0x88]
shl dword [edi + 0x24], 1
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x6c]
mov eax, dword [edi + 0x24]
mov dword [edi + 0x28], edx
mov edx, dword [ecx + 0x1c]
xor ecx, ecx
add esp, 0x14
cmp byte [esi + edx], 1
mov edx, dword [esp + 0x64]
sete cl
xor ecx, dword [esp + 0x24]
or ecx, eax
mov dword [edi + 0x24], ecx
cmp dword [esp + 0xc], 0
jne 0x51041b
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x58]
movsx eax, word [eax + ecx*2]
test eax, eax
jl 0x510411
mov ecx, dword [edx + 0xc]
mov ecx, dword [ecx + 4]
mov esi, eax
shl esi, 4
cmp byte [ecx + esi + 0xc], 0
je 0x510416
cmp eax, 0xfffffffe
jne 0x51041b
mov byte [esp + 0x1f], 1
movzx eax, word [edx + 0x32]
mov esi, dword [esp + 0x60]
cmp si, ax
jae 0x51043d
mov edx, dword [edx + 0x1c]
mov edi, dword [esp + 0x58]
xor ecx, ecx
cmp byte [edi + edx], cl
sete cl
cmp dword [esp + 0x24], ecx
je 0x510449
cmp dword [esp + 0x24], 0
je 0x51047e
cmp ax, si
jne 0x51047e
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
movzx ecx, word [esp + 0x5c]
mov dword [esp + 0xc], eax
mov al, byte [esp + 0x1f]
mov byte [esp + 0x6f], al
mov al, byte [esp + 0x20]
mov dword [esp + 0x2c], edx
movzx dx, al
movzx eax, dx
mov byte [esp + 0x1f], 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
push esi
mov edi, ebx
call fcn.0050f360
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
xor edi, edi
add esp, 0x10
cmp eax, edi
je 0x5104c8
cmp word [esp + 0x5c], di
je 0x5104c8
mov ecx, dword [esp + 0x58]
add ecx, eax
mov eax, dword [esp + 0x68]
push ecx
call fcn.004b0040
add esp, 4
mov dword [esp + 0x44], eax
mov edx, dword [esi + 0x10]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x30], edx
mov cl, 0x28
cmp esi, edi
je 0x5104e9
test byte [esi + 0xc], cl
jne 0x5104e9
mov dword [esp + 0x54], edi
mov edx, 1
jmp 0x5104f2
mov edx, 1
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x510503
mov dword [esp + 0x4c], edi
test byte [eax + 0xc], cl
je 0x510507
mov dword [esp + 0x4c], edx
cmp esi, edi
jne 0x510516
cmp word [esp + 0x60], di
mov dword [esp + 0x60], edi
jbe 0x51051a
mov dword [esp + 0x60], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
cmp esi, edi
je 0x51060e
mov ecx, dword [esi]
mov edi, dword [ecx + 0x10]
movzx eax, word [esp + 0x20]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x48]
push eax
add ecx, edx
push ecx
push ebx
mov eax, edi
mov dword [esp + 0x48], ecx
call fcn.0050f750
mov edx, 0x100
add esp, 0xc
test word [esi + 0xa], dx
mov esi, dword [esp + 0x18]
je 0x510597
mov eax, dword [esi + 0x88]
mov ecx, dword [esi]
dec eax
cmp byte [ecx + 0x45], 0
je 0x510574
mov eax, 0x5ef850
jmp 0x51057d
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x24]
shr edx, 1
mov dword [eax + 0xc], edx
mov cl, byte [ecx + 0x24]
and cl, 1
movzx dx, cl
mov word [eax + 2], dx
mov eax, edi
call fcn.004e1c00
test eax, eax
je 0x5105b9
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
push 0
push eax
push ecx
push 0x4b
push esi
call fcn.004cd400
add esp, 0x14
mov eax, dword [esp + 0x40]
test eax, eax
je 0x5105d7
mov edx, dword [esp + 0x58]
add edx, eax
movzx eax, word [esp + 0x20]
push edx
push eax
push edi
call fcn.0050ebf0
add esp, 0xc
movzx eax, word [esp + 0x20]
add dword [esp + 0x10], eax
mov ecx, edi
call fcn.004dfde0
test eax, eax
jne 0x5105ff
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x28]
call fcn.0050eb00
mov byte [esp + 0x1f], 0
jmp 0x510640
mov dword [esp + 0x54], 1
mov byte [esp + 0x1f], 0
jmp 0x510640
cmp byte [esp + 0x1f], 0
mov esi, dword [esp + 0x18]
je 0x510640
mov ecx, dword [esp + 0x48]
push 0
add eax, ecx
push eax
push 0
push 0x3b
push esi
call fcn.004cd400
mov eax, 1
add esp, 0x14
add dword [esp + 0x10], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], eax
movzx edx, byte [esp + 0x1f]
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
push edi
sub ecx, edx
push ebx
call fcn.0050eb70
mov eax, dword [esp + 0x58]
movzx eax, word [eax + 0x2a]
add esp, 8
test ax, ax
jbe 0x510673
movzx ecx, ax
cmp dword [esp + 0x10], ecx
je 0x5106bb
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x60]
lea ecx, [edx + eax*2]
mov edx, dword [esp + 0x24]
movzx eax, byte [edx + ecx*2 + 0x59e22c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
push edi
push ecx
push edx
push eax
push esi
call fcn.004cd400
mov ecx, dword [esi]
add esp, 0x14
cmp byte [ecx + 0x45], 0
jne 0x5106bb
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], ecx
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
je 0x5107c6
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx]
mov edx, dword [ecx + 0x10]
add edi, eax
push 1
push edi
push ebx
mov dword [esp + 0x60], edx
call fcn.004e41a0
movzx eax, word [esp + 0x68]
add esp, 0xc
push eax
mov eax, dword [esp + 0x58]
push edi
push ebx
call fcn.0050f750
mov ecx, dword [esp + 0x38]
mov eax, 0x100
add esp, 0xc
test word [ecx + 0xa], ax
je 0x510745
mov eax, dword [esi + 0x88]
mov edx, dword [esi]
dec eax
cmp byte [edx + 0x45], 0
je 0x510722
mov eax, 0x5ef850
jmp 0x51072b
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x24]
shr edx, 1
mov dword [eax + 0xc], edx
mov cl, byte [ecx + 0x24]
and cl, 1
movzx dx, cl
mov word [eax + 2], dx
mov eax, dword [esp + 0x54]
call fcn.004e1c00
test eax, eax
je 0x510765
mov eax, dword [esp + 0x30]
push 0
push eax
push edi
push 0x4b
push esi
call fcn.004cd400
add esp, 0x14
cmp dword [esp + 0x44], 0
je 0x510797
mov ecx, dword [esp + 0x44]
movzx eax, word [esp + 0x5c]
mov edx, dword [esp + 0x54]
push ecx
push eax
push edx
call fcn.0050ebf0
movzx ecx, word [esp + 0x68]
mov eax, dword [esp + 0x50]
add esp, 0xc
push edi
push ebx
call fcn.0050eb70
add esp, 8
movzx eax, word [esp + 0x5c]
mov ecx, dword [esp + 0x54]
add dword [esp + 0x10], eax
call fcn.004dfde0
test eax, eax
jne 0x5107bc
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
call fcn.0050eb00
jmp 0x5107eb
mov dword [esp + 0x4c], 1
jmp 0x5107eb
cmp byte [esp + 0x6f], 0
je 0x5107eb
push 0
add eax, edi
push eax
push 0
push 0x3b
push esi
call fcn.004cd400
add esp, 0x14
inc dword [esp + 0x10]
mov dword [esp + 0x4c], 0
cmp dword [esp + 0x40], 0
mov edi, dword [esp + 0x68]
je 0x510843
test edi, edi
je 0x510836
cmp dword [edi + 0x1c8], 0
mov eax, dword [esp + 0x40]
je 0x510810
mov ecx, edi
call fcn.004afa70
jmp 0x510843
cmp eax, dword [edi + 0x120]
jb 0x510836
cmp eax, dword [edi + 0x124]
jae 0x510836
mov ecx, dword [edi + 0x11c]
mov dword [eax], ecx
dec dword [edi + 0x108]
mov dword [edi + 0x11c], eax
jmp 0x510843
mov edx, dword [esp + 0x40]
push edx
call fcn.004afa00
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x510894
test edi, edi
je 0x510887
cmp dword [edi + 0x1c8], 0
je 0x510861
mov ecx, edi
call fcn.004afa70
jmp 0x510894
cmp eax, dword [edi + 0x120]
jb 0x510887
cmp eax, dword [edi + 0x124]
jae 0x510887
mov ecx, dword [edi + 0x11c]
mov dword [eax], ecx
dec dword [edi + 0x108]
mov dword [edi + 0x11c], eax
jmp 0x510894
mov edx, dword [esp + 0x44]
push edx
call fcn.004afa00
add esp, 4
cmp dword [esp + 0x10], 0
mov eax, dword [esi + 0x88]
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x34], eax
je 0x5108ed
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
movzx eax, byte [edx + eax*2 + 0x59e234]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push ecx
push eax
push esi
call fcn.004cd400
mov edx, dword [esi]
add esp, 0x14
cmp byte [edx + 0x45], 0
jne 0x5108ed
mov ecx, dword [esi + 0x58]
mov edx, dword [esp + 0x10]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], edx
cmp dword [esp + 0x14], 0
jne 0x510a4c
mov edi, dword [esp + 0x64]
mov eax, dword [edi + 0xc]
test byte [eax + 0x24], 0x20
jne 0x510980
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 0x2c]
test eax, 0x400
jne 0x510936
test eax, 0x1000
je 0x510920
cmp byte [ecx + 0x31], 1
je 0x510936
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.0050f650
add esp, 4
jmp 0x510a4c
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 0x2c]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
push 0
push esi
push eax
push 0x81
push edi
call fcn.004cd400
mov ecx, dword [esp + 0x4c]
add esp, 0x14
push esi
push 0xffffffffffffffff
push ecx
mov eax, ebx
call fcn.004e4090
mov edx, dword [esp + 0x44]
add esp, 0xc
push esi
push 0
push edx
push 0x20
push edi
call fcn.004cd400
add esp, 0x14
jmp 0x510a4c
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x38], ecx
je 0x510a4c
call fcn.004eaec0
mov edi, eax
movzx esi, word [edi + 0x32]
mov ecx, ebx
call fcn.004e6730
xor edx, edx
xor esi, esi
mov dword [esp + 0x20], eax
cmp dx, word [edi + 0x32]
jae 0x510a12
mov edi, edi
mov ecx, dword [esp + 0x64]
movzx edx, word [ecx + 0x34]
xor eax, eax
mov dword [esp + 0x70], edx
test edx, edx
jle 0x5109e8
mov edx, dword [edi + 4]
movzx edx, word [edx + esi*2]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x3c], edx
mov dx, word [esp + 0x3c]
cmp dx, word [ecx]
je 0x510a7d
inc eax
add ecx, 2
cmp eax, dword [esp + 0x70]
jl 0x5109d0
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
lea edx, [esi + ecx]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x1c]
cwde
push eax
push ecx
push 0x60
push edx
call fcn.004cd400
movzx eax, word [edi + 0x32]
inc esi
add esp, 0x14
cmp esi, eax
jl 0x5109b0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
movzx edi, word [edi + 0x32]
push ecx
push edx
push eax
push 0x1d
push esi
call fcn.004cd400
mov ecx, dword [esi]
add esp, 0x14
cmp byte [ecx + 0x45], 0
jne 0x510a4c
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], edi
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x64]
push ecx
push edi
push edx
mov edx, dword [esp + 0x44]
call fcn.0050f850
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x34]
add esp, 0xc
test dword [esi + 0x24], 0x1000
je 0x510a85
mov byte [eax + 0x2d], 0xa6
jmp 0x510a93
movzx eax, ax
jmp 0x5109eb
cmp dword [esp + 0x24], 0
sete cl
add cl, 6
mov byte [eax + 0x2d], cl
mov dword [eax + 0x30], edi
mov dl, byte [esi + 0x26]
and dl, 1
mov byte [eax + 0x2e], dl
test byte [esi + 0x24], 0xf
jne 0x510aa9
mov byte [eax + 0x2f], 1
cmp dword [esp + 0x14], 0
je 0x511302
mov dword [esp + 0x64], 0
jmp 0x511302
test dword [esp + 0xc], 0x2000
je 0x5112c2
mov eax, dword [ebx + 0x28]
inc dword [ebx + 0x2c]
mov dword [esp + 0x70], eax
inc eax
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x2c]
xor ecx, ecx
mov dword [esp + 0x34], eax
mov eax, esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], ecx
call fcn.004cd7c0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov byte [edi + 0x2d], 0x34
mov dword [edi + 0x30], eax
mov al, byte [ecx + 0x2e]
mov dword [esp + 0x58], edx
cmp al, 1
jbe 0x510bf1
movzx eax, al
sub eax, dword [ebp + 0xc]
push 0
dec eax
lea edx, [eax + eax*4]
shl edx, 4
add edx, 0x58
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
push edx
call fcn.004afde0
add esp, 8
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x510b77
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esp + 0x14]
mov esi, dword [esp + 0x20]
inc al
movzx ecx, al
mov eax, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov dword [eax], ecx
lea edi, [eax + 8]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
add edx, 8
cmp dword [esp + 0x14], 1
jl 0x510bf8
mov ecx, dword [esp + 0x14]
add eax, 0x58
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
add eax, 0x7c
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x48]
movzx eax, byte [eax]
mov edi, dword [esp + 0x4c]
lea esi, [eax + eax*4]
shl esi, 4
mov eax, 0x50
add dword [esp + 0x48], eax
add dword [esp + 0x4c], eax
add esi, edx
sub dword [esp + 0x14], 1
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
jne 0x510bc1
jmp 0x510bf8
mov edx, dword [ecx + 4]
mov dword [esp + 0x5c], edx
mov eax, dword [ebp + 8]
test byte [eax + 0x2c], 0x10
jne 0x510c6b
mov ecx, dword [esp + 0x40]
test byte [ecx + 0x24], 0x20
jne 0x510c2b
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov edx, dword [esp + 0x18]
push 0
push eax
push 0
push 0x3b
push edx
mov dword [esp + 0x58], eax
call fcn.004cd400
add esp, 0x14
jmp 0x510c61
mov eax, ecx
call fcn.004eaec0
mov esi, eax
mov eax, dword [ebx + 0x28]
lea ecx, [eax + 1]
mov dword [ebx + 0x28], ecx
movzx edx, word [esi + 0x32]
push 0
push edx
push eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
push 0x6c
push eax
call fcn.004cd400
add esp, 0x14
mov ecx, esi
mov eax, ebx
call fcn.004cdfc0
inc dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
push 0
push edx
push 0
push 0x38
push eax
call fcn.004cd400
mov edi, dword [esp + 0x88]
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0xc]
add esp, 0x14
cmp eax, 1
jle 0x510d80
mov dword [esp + 0x14], 0
test eax, eax
jle 0x510d80
xor esi, esi
nop
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + esi]
add ecx, esi
cmp ecx, dword [esp + 0x24]
je 0x510d00
test byte [eax + 4], 1
jne 0x510d00
mov edx, dword [edi + 0x14]
test byte [edx + esi + 0xa], 6
lea ecx, [edx + esi]
jne 0x510d00
mov edx, 0x1fff
test word [ecx + 0xc], dx
je 0x510d00
mov ecx, dword [esp + 0x68]
push ecx
xor ecx, ecx
call fcn.004e0fd0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x6c]
add esp, 4
push edx
call fcn.004e07f0
add esp, 4
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
inc eax
add esi, 0x30
cmp eax, dword [edi + 0xc]
mov dword [esp + 0x14], eax
jl 0x510cb0
cmp dword [esp + 0x2c], 0
je 0x510d80
mov eax, dword [ebx]
push 0
push 0x30
call fcn.004afe20
mov edi, eax
add esp, 8
test edi, edi
je 0x510ebe
push 0x30
push 0
push edi
call fcn.0052e300
or eax, 0xffffffff
mov word [edi + 0x22], ax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x10], eax
mov byte [edi], 0x47
mov eax, dword [eax + 4]
add esp, 0xc
and eax, 0x200100
or dword [edi + 4], eax
push edi
call fcn.004e0430
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x6c]
add esp, 4
cmp dword [edi + 0x18], eax
jle 0x510d7c
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
mov esi, ebx
call fcn.004b2660
add esp, 8
mov dword [esp + 0x2c], edi
mov edx, dword [ebp + 8]
mov ax, word [edx + 0x2c]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov ecx, 0x400
and ax, cx
or ax, 0x20
movzx edx, ax
xor eax, eax
cmp dword [esi + 0xc], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x4c], eax
jle 0x51117b
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x14]
add eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x14]
cmp ecx, dword [esp + 0x38]
je 0x510dd7
mov edx, 0x400
test word [eax + 0xc], dx
je 0x511164
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x60], 0
test ecx, ecx
je 0x510df4
test byte [eax + 4], 1
jne 0x510df4
mov dword [ecx + 0xc], eax
mov eax, ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x8c]
push ecx
push edx
push 0
push 0
push eax
push edi
push ebx
call fcn.00518750
add esp, 0x1c
mov dword [esp + 0x80], eax
test eax, eax
je 0x511164
mov ecx, dword [esp + 0x28]
movzx edx, byte [ecx + 0x2c]
mov ecx, dword [ebp + 0xc]
push 0
push edx
push ecx
lea edx, [eax + 0x2f0]
push edi
mov ecx, ebx
call fcn.0050e7a0
mov edx, dword [ebp + 8]
add esp, 0x10
test byte [edx + 0x2c], 0x10
jne 0x511068
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0xc]
mov edi, dword [esp + 0x4c]
dec ecx
cmp edi, ecx
jne 0x510e5f
or edi, 0xffffffff
mov eax, dword [esp + 0x40]
test byte [eax + 0x24], 0x20
mov dword [esp + 0x48], edi
jne 0x510ed0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
push 0
push edx
push ecx
push 0xffffffffffffffff
push eax
mov esi, ebx
call fcn.004e42e0
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
add esp, 0x14
push eax
push 0
push edx
push 0x2b
push esi
call fcn.004cd400
mov ecx, dword [esi]
add esp, 0x14
cmp byte [ecx + 0x45], 0
jne 0x510eb5
mov ecx, dword [esi + 0x58]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov byte [ecx + 1], 0xfd
mov dword [ecx + 0x10], edi
mov dword [esp + 0x60], eax
jmp 0x511068
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx]
push ecx
push edx
call fcn.004e0aa0
jmp 0x510d79
call fcn.004eaec0
movzx esi, word [eax + 0x32]
mov ecx, ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x50], esi
call fcn.004e6730
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0
test esi, esi
jle 0x510f54
mov edi, eax
lea ecx, [ecx]
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x14]
movsx eax, word [eax + ecx*2]
mov edx, dword [esp + 0x38]
push 0
push edi
push edx
push eax
mov eax, dword [esp + 0x50]
push eax
mov esi, ebx
call fcn.004e42e0
add esp, 0x14
cmp eax, edi
je 0x510f40
mov ecx, dword [ebx + 8]
push 0
push edi
push eax
push 0x41
push ecx
call fcn.004cd400
add esp, 0x14
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x50]
inc eax
inc edi
cmp eax, esi
mov dword [esp + 0x14], eax
jl 0x510f00
jmp 0x510f58
mov esi, dword [esp + 0x50]
cmp dword [esp + 0x48], 0
mov edi, dword [esp + 0x18]
je 0x510f9d
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
push edx
push 0
push eax
push 0x1e
push edi
call fcn.004cd400
mov ecx, dword [edi]
add esp, 0x14
cmp byte [ecx + 0x45], 0
jne 0x510f92
mov ecx, dword [edi + 0x58]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov byte [ecx + 1], 0xfd
mov dword [ecx + 0x10], esi
cmp dword [esp + 0x48], 0
mov dword [esp + 0x60], eax
jl 0x511006
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
push edx
push esi
push eax
push 0x63
push edi
call fcn.004cd400
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
add esp, 0x14
push ecx
push edx
push eax
push 0x7e
push edi
call fcn.004cd400
mov ecx, dword [edi]
add esp, 0x14
cmp byte [ecx + 0x45], 0
jne 0x510fe5
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], esi
cmp dword [esp + 0x48], 0
je 0x511006
mov eax, dword [edi + 0x88]
test eax, eax
jle 0x511006
mov edx, dword [edi + 0x58]
lea ecx, [eax + eax*4]
mov eax, 0x10
mov word [edx + ecx*4 - 0x12], ax
cmp esi, 1
jne 0x51104e
mov esi, dword [esp + 0xc]
test esi, esi
je 0x511068
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x511068
xor eax, eax
lea ecx, [ebx + 0x94]
cmp byte [ebx + 0x19], al
jbe 0x511039
cmp dword [ecx + 0xc], esi
je 0x511048
movzx edi, byte [ebx + 0x19]
inc eax
add ecx, 0x14
cmp eax, edi
jl 0x511028
movzx ecx, dl
mov dword [ebx + ecx*4 + 0x15c], esi
inc byte [ebx + 0x13]
jmp 0x511068
mov byte [ecx + 6], 1
jmp 0x511068
mov edi, dword [esp + 0xc]
push esi
push edi
push ebx
call fcn.004e41a0
add esp, 0xc
cmp esi, dword [ebx + 0x1c]
jle 0x511068
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], edi
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x88]
mov edx, dword [ecx + 0xc]
cmp dword [edx + 0x30], eax
mov esi, ecx
jg 0x511094
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
push 0
push eax
push ecx
push 0xe
call fcn.004cd3c0
add esp, 0x10
jmp 0x5110c8
lea edx, [eax + 1]
mov dword [ecx + 0x88], edx
mov ecx, dword [ecx + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x34]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0xe
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x60]
test eax, eax
je 0x5110f6
mov ecx, dword [esi + 0x88]
jge 0x5110db
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x5110ea
mov eax, 0x5ef850
jmp 0x5110f3
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x80]
cmp byte [eax + 0x32], 0
je 0x51110b
mov dword [esp + 0x3c], 1
mov esi, dword [eax + 0x330]
test dword [esi + 0x24], 0x200
je 0x51114b
cmp dword [esp + 0x4c], 0
je 0x51112a
mov ecx, dword [esp + 0x54]
cmp dword [esi + 0x20], ecx
jne 0x51114b
mov edx, dword [esp + 0x40]
test byte [edx + 0x24], 0x20
je 0x511142
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + 0x38]
and dl, 3
cmp dl, 2
je 0x51114b
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x54], ecx
jmp 0x511153
mov dword [esp + 0x54], 0
push eax
call fcn.00519100
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
add esp, 4
mov eax, dword [esp + 0x4c]
add dword [esp + 0x20], 0x30
inc eax
cmp eax, dword [esi + 0xc]
mov dword [esp + 0x4c], eax
jl 0x510db8
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x38], eax
test eax, eax
je 0x511191
mov edx, dword [esp + 0x70]
mov dword [ecx + 8], edx
cmp dword [esp + 0x2c], 0
je 0x5111b1
mov eax, dword [esp + 0x2c]
push eax
mov dword [eax + 0xc], 0
mov eax, dword [esp + 0x6c]
push eax
call fcn.004e0aa0
add esp, 8
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x88]
test eax, eax
jge 0x5111c6
lea eax, [ecx - 1]
mov esi, dword [edx]
cmp byte [esi + 0x45], 0
je 0x5111d5
mov eax, 0x5ef850
jmp 0x5111de
mov esi, dword [edx + 0x58]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [eax + 4], ecx
mov eax, dword [edx + 0x88]
mov esi, dword [edx + 0xc]
cmp dword [esi + 0x30], eax
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 0xc]
jg 0x511209
push 0
push ecx
push 0
push 0xd
mov esi, edx
call fcn.004cd3c0
add esp, 0x10
jmp 0x511237
lea esi, [eax + 1]
mov dword [edx + 0x88], esi
mov edx, dword [edx + 0x58]
mov esi, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0xd
mov word [eax + 2], dx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x511256
mov ecx, dword [esp + 0x10]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x88]
sub eax, edx
mov dword [eax], ecx
mov edx, dword [ebp + 8]
cmp byte [edx + 0x2e], 1
jbe 0x5112ac
test edi, edi
je 0x5112ac
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x5112a3
cmp dword [ecx + 0x1c8], 0
je 0x51127d
mov eax, edi
call fcn.004afa70
jmp 0x5112ac
cmp edi, dword [ecx + 0x120]
jb 0x5112a3
cmp edi, dword [ecx + 0x124]
jae 0x5112a3
mov eax, dword [ecx + 0x11c]
mov dword [edi], eax
dec dword [ecx + 0x108]
mov dword [ecx + 0x11c], edi
jmp 0x5112ac
push edi
call fcn.004afa00
add esp, 4
cmp dword [esp + 0x3c], 0
jne 0x511302
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
call fcn.0050eb00
jmp 0x511302
test cl, 0x20
je 0x5112cd
mov byte [edi + 0x2d], 0xa6
jmp 0x511302
mov eax, dword [esp + 0x24]
mov cl, byte [eax + 0x59e238]
mov edx, dword [esp + 0x3c]
mov byte [edi + 0x2d], cl
mov ecx, dword [esp + 0x38]
push 0
push edx
mov dword [edi + 0x30], ecx
movzx eax, byte [eax + 0x59e23c]
push ecx
push eax
push esi
call fcn.004cd400
add esp, 0x14
inc eax
mov byte [edi + 0x2f], 1
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x18]
neg eax
sbb eax, eax
add eax, 2
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
lea esp, [esp]
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x14]
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], esi
test esi, esi
jle 0x511548
lea esp, [esp]
movzx eax, word [edx + 0xa]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x14], 0
mov dword [esp + 0x78], eax
test al, 6
jne 0x511528
mov eax, dword [edx + 0x28]
mov ecx, dword [edx + 0x2c]
and eax, dword [esi + 0x48]
and ecx, dword [esi + 0x4c]
or eax, ecx
je 0x511378
mov eax, dword [ebp + 8]
mov byte [eax + 0x32], 1
jmp 0x511528
mov ecx, dword [esp + 0x28]
cmp dword [ecx], 0
mov esi, dword [edx]
mov dword [esp + 0x80], esi
je 0x511394
test byte [esi + 4], 1
je 0x511528
mov eax, dword [esp + 0x3c]
cmp eax, 1
jne 0x511434
xor eax, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov eax, ecx
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], eax
mov dword [esp + 0x94], 0x4e62c0
mov dword [esp + 0xa8], ecx
test esi, esi
je 0x51141d
lea edx, [esp + 0x90]
push esi
push edx
call fcn.004dda50
mov edx, dword [esp + 0x2c]
add esp, 8
cmp byte [esp + 0xa4], 0
je 0x511439
mov dword [esp + 0x30], 2
jmp 0x511528
cmp eax, 3
jge 0x51145c
movzx eax, word [edx + 0xa]
test eax, 0x1000
je 0x511460
cmp dword [esp + 0x30], 0
jne 0x511528
mov dword [esp + 0x30], 3
jmp 0x511528
mov eax, dword [esp + 0x78]
test eax, 0x200
je 0x5114d9
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
mov edx, dword [edi + 0x88]
mov esi, eax
shr esi, 1
test al, 1
mov eax, dword [edi + 0xc]
mov ecx, 0
setne cl
add ecx, 0x15
cmp dword [eax + 0x30], edx
jg 0x51149f
push 0
push 0
push esi
push ecx
mov esi, edi
call fcn.004cd3c0
add esp, 0x10
jmp 0x5114ce
lea eax, [edx + 1]
mov dword [edi + 0x88], eax
mov edi, dword [edi + 0x58]
lea eax, [edx + edx*4]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x18]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, edx
mov esi, dword [esp + 0x80]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x7c]
push 0x10
push edx
push esi
push ebx
call fcn.004e5b10
add esp, 0x10
cmp dword [esp + 0x14], 0
je 0x51151d
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x88]
test eax, eax
jge 0x511502
lea eax, [ecx - 1]
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
je 0x511511
mov eax, 0x5ef850
jmp 0x51151a
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x24]
or word [eax + 0xa], 4
mov edx, eax
mov eax, dword [esp + 0x10]
dec eax
add edx, 0x30
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edx
test eax, eax
jg 0x511340
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x3c], ecx
test ecx, ecx
jg 0x511320
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], eax
test eax, eax
jle 0x511629
test byte [esi + 0xa], 6
jne 0x511611
movzx eax, word [esi + 0xc]
test al, 0x82
je 0x511611
test eax, 0x800
je 0x511611
mov eax, dword [esp + 0x38]
cmp dword [esi + 0x14], eax
jne 0x511611
mov ecx, dword [esp + 0x28]
cmp dword [ecx], 0
jne 0x511611
mov edx, dword [esi]
mov ecx, dword [ebp + 0x14]
push 0x83
push ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x80], edx
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x80]
push ecx
push eax
xor ecx, ecx
call fcn.00513b20
add esp, 0x14
test eax, eax
je 0x511611
test byte [eax + 0xa], 4
jne 0x511611
mov esi, dword [eax]
mov edx, dword [esp + 0x78]
mov ecx, 0xc
lea edi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x7c]
push 0x10
push ecx
lea edx, [esp + 0x98]
push edx
push ebx
mov dword [esp + 0xac], eax
call fcn.004e5b10
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
add esp, 0x10
mov eax, dword [esp + 0x10]
dec eax
add esi, 0x30
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], esi
test eax, eax
jg 0x51156a
mov esi, dword [esp + 0x28]
cmp dword [esi], 0
je 0x51172f
mov eax, dword [edi + 0x88]
mov ecx, dword [esi]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x511666
push 0
push ecx
push 1
push 0x38
mov esi, edi
call fcn.004cd3c0
mov esi, dword [esp + 0x38]
add esp, 0x10
jmp 0x511696
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x38
mov word [eax + 2], dx
mov dword [eax + 4], 1
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
xor edx, edx
cmp byte [ebx + 0x19], dl
jbe 0x5116cc
lea eax, [ebx + 0xa0]
cmp byte [eax - 6], 0
je 0x5116c0
mov cl, byte [ebx + 0x13]
cmp cl, 8
jae 0x5116c0
mov edi, dword [eax]
movzx ecx, cl
mov dword [ebx + ecx*4 + 0x15c], edi
inc byte [ebx + 0x13]
movzx ecx, byte [ebx + 0x19]
inc edx
add eax, 0x14
cmp edx, ecx
jl 0x5116a3
mov edx, dword [esp + 0x74]
mov byte [ebx + 0x19], 0
cmp dword [edx + 0xc], 0
mov edi, dword [edx + 0x14]
mov dword [esp + 0x10], 0
jle 0x51172f
test byte [edi + 0xa], 6
jne 0x51171e
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
and eax, dword [esi + 0x48]
and ecx, dword [esi + 0x4c]
or eax, ecx
jne 0x51171e
mov edx, dword [esp + 0x7c]
mov eax, dword [edi]
push 0x10
push edx
push eax
push ebx
call fcn.004e5b10
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x38]
add esp, 0x10
or word [edi + 0xa], 4
mov eax, dword [esp + 0x10]
inc eax
add edi, 0x30
cmp eax, dword [edx + 0xc]
mov dword [esp + 0x10], eax
jl 0x5116e5
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret