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

Disassembly:
sub esp, 0xb0
mov eax, dword [esp + 0xb8]
push ebx
push ebp
lea eax, [eax + eax*4]
shl eax, 4
push esi
mov esi, dword [esp + 0xc0]
mov ebx, dword [esi]
mov ebp, dword [ebx + 8]
lea edx, [esi + 0x50]
mov dword [esp + 0x78], edx
mov edx, dword [ebx]
push edi
lea edi, [eax + esi + 0x2f0]
movzx eax, byte [edi + 0x2c]
mov dword [esp + 0x64], edx
mov edx, dword [edi + 0x40]
lea eax, [eax + eax*8]
mov dword [esp + 0x44], edx
mov edx, dword [esi + 4]
lea eax, [edx + eax*8 + 8]
mov dword [esp + 0x78], eax
mov eax, dword [eax + 0x2c]
xor ecx, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1ec]
cmp eax, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], ecx
jle 0x508439
lea ecx, [esi + 0x1f0]
lea esp, [esp]
mov edx, dword [esp + 0x34]
cmp dword [ecx], edx
je 0x5085f0
inc dword [esp + 0x28]
add ecx, 4
cmp dword [esp + 0x28], eax
jl 0x508420
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0xc8]
not eax
and eax, dword [esp + 0xcc]
not edx
and edx, dword [esp + 0xd0]
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], edx
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
call fcn.0058e6e0
and eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
test byte [eax + 0x24], 0x40
je 0x508486
test byte [esi + 0x2c], 0x20
mov dword [esp + 0x30], 1
je 0x50848e
mov dword [esp + 0x30], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x3c]
lea edx, [ecx + 1]
mov dword [eax + 0x3c], edx
lea edx, [ecx - 1]
mov dword [esp + 0x60], eax
mov dword [esp + 0x14], ecx
test ecx, edx
jne 0x5084de
mov eax, ecx
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x60]
mov edi, dword [eax + 0x40]
mov esi, dword [eax]
push 0
push ecx
call fcn.004c39b0
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0xcc]
mov dword [edx + 0x40], eax
add esp, 8
mov eax, edx
mov eax, dword [eax + 0x40]
test eax, eax
je 0x5084ec
mov dword [eax + ecx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ecx
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x3c]
lea edx, [eax + 1]
mov dword [ecx + 0x3c], edx
lea edx, [eax - 1]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x14], eax
test eax, edx
jne 0x508549
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x60]
mov edi, dword [eax + 0x40]
mov esi, dword [eax]
push 0
push ecx
call fcn.004c39b0
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0xcc]
mov dword [edx + 0x40], eax
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x40]
test ecx, ecx
je 0x508557
mov dword [ecx + eax*4], 0xffffffff
mov edx, dword [esp + 0x78]
or ecx, 0xffffffff
sub ecx, eax
cmp byte [edi + 0x2c], 0
mov dword [esp + 0x60], ecx
mov dword [edi + 0x18], ecx
jbe 0x508592
test byte [edx + 0x24], 8
je 0x508592
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push 0
push eax
push 0
push 0x46
push ebp
mov dword [edi], eax
call fcn.004c5720
mov edx, dword [esp + 0x8c]
add esp, 0x14
mov eax, dword [esp + 0xc8]
test eax, eax
jle 0x5085ad
mov ecx, edi
nop
cmp dword [ecx], 0
jne 0x5085ad
dec eax
sub ecx, 0x50
test eax, eax
jg 0x5085a0
lea eax, [eax + eax*4]
shl eax, 4
mov ecx, dword [eax + esi + 0x2fc]
mov dword [esp + 0x48], ecx
mov ecx, dword [edx + 0x28]
test cl, 0x10
je 0x508695
mov ebx, dword [edx + 0x1c]
mov ecx, dword [edx + 0x18]
mov eax, dword [ebp + 0x88]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x30], eax
jg 0x508605
push ecx
push 0
push ebx
push 0xd
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50862f
mov ecx, dword [esp + 0x28]
mov eax, 1
xor edx, edx
call fcn.0058e5a0
jmp 0x50843d
lea edx, [eax + 1]
mov dword [ebp + 0x88], edx
mov edx, dword [ebp + 0x58]
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], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov ecx, dword [ebp + 0x88]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x50865a
mov ecx, dword [esp + 0x40]
push 0
push ecx
push ebx
push 0xe
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
mov byte [edi + 0x2d], 0xb
jmp 0x509dc7
lea edx, [ecx + 1]
mov dword [ebp + 0x88], edx
mov edx, dword [ebp + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax], 0xe
mov dword [eax + 4], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov eax, ecx
mov byte [edi + 0x2d], 0xb
jmp 0x509dc7
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x28], edx
test edx, 0x400
je 0x508af3
movzx ecx, word [eax + 0x28]
mov dword [esp + 0x10], ecx
add ecx, 2
cmp ecx, 1
jne 0x5086e8
mov cl, byte [ebx + 0x13]
test cl, cl
jne 0x5086d1
inc dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x2c]
mov edx, ecx
mov dword [esp + 0x2c], edx
jmp 0x508717
dec cl
mov byte [ebx + 0x13], cl
movzx ecx, cl
mov ecx, dword [ebx + ecx*4 + 0x90]
mov edx, ecx
mov dword [esp + 0x2c], edx
jmp 0x508717
mov edx, dword [ebx + 0x1c]
cmp ecx, edx
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x30], esi
jg 0x508706
add esi, ecx
sub edx, ecx
mov dword [ebx + 0x20], esi
mov esi, dword [esp + 0x30]
mov dword [ebx + 0x1c], edx
jmp 0x508711
mov edx, dword [ebx + 0x2c]
add ecx, edx
lea esi, [edx + 1]
mov dword [ebx + 0x2c], ecx
mov edx, esi
mov dword [esp + 0x2c], esi
mov ecx, dword [edi + 0xc]
xor esi, esi
cmp dword [esp + 0x10], esi
mov dword [esp + 0x20], ecx
jle 0x508787
add edx, 2
mov dword [esp + 0x28], edx
lea ecx, [ecx]
mov edx, dword [eax + 0x30]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0x508778
test byte [ecx + 0xc], 1
je 0x50875f
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push eax
push edx
push esi
push edi
push ecx
push ebx
call fcn.00507ba0
mov eax, dword [edi + 0x10]
add esp, 0x18
mov dword [esp + 0x20], eax
jmp 0x508774
mov edx, dword [esp + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push 1
push edx
push ebx
call fcn.004c9f60
add esp, 0xc
mov eax, dword [esp + 0x44]
inc dword [esp + 0x28]
inc esi
cmp esi, dword [esp + 0x10]
jl 0x508730
mov edx, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp + 0x88]
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x30], eax
jg 0x5087b0
mov edx, dword [esp + 0x2c]
push 0
push edx
push ecx
push 0x46
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
xor edx, edx
jmp 0x5087dc
lea esi, [eax + 1]
mov dword [ebp + 0x88], esi
mov esi, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
xor esi, esi
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax], 0x46
mov word [eax + 2], si
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x88]
mov esi, dword [ebp + 0xc]
inc ecx
cmp dword [esi + 0x30], eax
jg 0x508805
push 0
push ecx
mov ecx, dword [esp + 0x18]
push ecx
push 0x46
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x508834
lea esi, [eax + 1]
mov dword [ebp + 0x88], esi
mov esi, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
xor esi, esi
mov word [eax + 2], si
mov esi, dword [esp + 0x10]
mov byte [eax], 0x46
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0
mov eax, dword [esp + 0x44]
movzx ecx, byte [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp + 0xc]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffa
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0x88]
dec ecx
cmp dword [eax + 0x30], edx
mov dword [esp + 0x30], ecx
jg 0x50887e
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
push 9
mov esi, ebp
call fcn.004c56e0
mov ecx, dword [esp + 0x40]
add esp, 0x10
jmp 0x5088bb
mov esi, dword [ebp + 0x58]
lea eax, [edx + 1]
mov dword [ebp + 0x88], eax
lea eax, [edx + edx*4]
lea eax, [esi + eax*4]
xor esi, esi
mov word [eax + 2], si
mov esi, dword [esp + 0x34]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x20]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x2c]
mov byte [eax], 9
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, edx
push ecx
mov ecx, dword [esp + 0x18]
push ecx
push eax
push ebp
call fcn.004c0190
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xd4]
mov esi, dword [esp + 0x20]
mov byte [edx + 0x1c], 0
mov dword [edi + 0x30], eax
mov dl, byte [ecx + 0x31]
add esp, 0x10
neg dl
sbb dl, dl
and dl, 0x6f
add dl, 0x3c
mov byte [edi + 0x2d], dl
mov eax, dword [ebp + 0x88]
add esi, 0xffffffff
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x1c], esi
js 0x509dca
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov dword [esp + 0x30], edx
jmp 0x508928
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
cmp esi, 0x10
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x30]
mov ecx, dword [ecx + esi*4]
mov dword [esp + 0x24], ecx
jge 0x508959
mov ax, word [eax + 0x1e]
mov cx, si
shr ax, cl
test al, 1
je 0x508959
mov eax, dword [esp + 0x24]
mov esi, edi
call fcn.004b9310
jmp 0x508add
mov ecx, dword [esp + 0x24]
test byte [ecx + 0xc], 1
je 0x508add
mov eax, dword [esp + 0x64]
cmp byte [eax + 0x49], 0
jne 0x508a06
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx + edx - 0x10]
sub edx, 0x14
mov dword [esp + 0x30], edx
test eax, eax
jge 0x50898e
mov eax, dword [ebp + 0x88]
dec eax
mov edx, dword [ebp]
cmp byte [edx + 0x49], 0
je 0x50899e
mov eax, 0x6413f8
jmp 0x5089a7
mov ecx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
movzx edx, byte [eax]
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 8]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x30], eax
jg 0x5089d9
mov eax, dword [esp + 0x14]
push esi
push edi
push ecx
push eax
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x508a06
lea edx, [eax + 1]
mov dword [ebp + 0x88], edx
mov edx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dl, byte [esp + 0x14]
mov byte [eax], dl
xor edx, edx
mov word [eax + 2], dx
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov eax, dword [ebx]
push 0
push 0x34
call fcn.004bbee0
mov edi, eax
add esp, 8
test edi, edi
je 0x508add
push 0x34
push 0
push edi
call fcn.00586030
or eax, 0xffffffff
push edi
mov byte [edi], 0x35
mov word [edi + 0x22], ax
call fcn.004c1620
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x70]
add esp, 0x10
cmp dword [edi + 0x18], eax
jle 0x508a55
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
mov esi, ebx
call fcn.004d3500
add esp, 8
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x64]
push 0
push 0x35
mov dword [edi + 0xc], ecx
call fcn.004bbee0
mov esi, eax
add esp, 8
test esi, esi
je 0x508a9e
push 0x34
push 0
push esi
call fcn.00586030
add esp, 0xc
lea eax, [esi + 0x34]
or edx, 0xffffffff
mov byte [esi], 0xa4
mov word [esi + 0x22], dx
mov dword [esi + 8], eax
mov byte [eax], 0
mov dword [esi + 0x18], 1
mov dword [edi + 0x10], esi
test esi, esi
je 0x508ac8
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx + 2]
mov eax, dword [esp + 0x38]
mov dword [esi + 0x1c], edx
mov ecx, dword [eax + 0x18]
push 0
push ecx
push edi
push ebx
call fcn.005142b0
add esp, 0x10
mov edx, dword [esp + 0x64]
push edi
push edx
mov dword [edi + 0xc], 0
call fcn.004c6c60
add esp, 8
mov esi, dword [esp + 0x1c]
sub esi, 1
mov dword [esp + 0x1c], esi
jns 0x508920
jmp 0x509dca
mov edx, dword [esp + 0x28]
and edx, 0x100
je 0x508b5f
test byte [esp + 0x28], 5
je 0x508b5f
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 0x2c]
mov edx, dword [esp + 0x24]
push esi
push edx
push 0
push edi
push eax
push ebx
call fcn.00507ba0
add esp, 0x18
cmp eax, esi
je 0x508b41
test esi, esi
je 0x508b41
mov cl, byte [ebx + 0x13]
cmp cl, 8
jae 0x508b41
movzx ecx, cl
mov dword [ebx + ecx*4 + 0x90], esi
inc byte [ebx + 0x13]
mov edx, dword [edi + 0x10]
push eax
mov eax, dword [esp + 0x38]
push edx
push eax
push 0x1e
push ebp
call fcn.004c5720
add esp, 0x14
mov byte [edi + 0x2d], 0xab
jmp 0x509dca
test edx, edx
mov edx, dword [esp + 0x28]
je 0x508dba
test dl, 2
je 0x508dba
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x58], 0xab
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], esi
test dl, 0x20
je 0x508b9f
mov ecx, dword [eax + 0x30]
mov esi, dword [ecx]
mov dword [esp + 0x20], esi
mov ecx, 1
test dl, 0x10
je 0x508bae
mov edx, dword [eax + 0x30]
mov eax, dword [edx + ecx*4]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x24], 0
je 0x508bc3
mov eax, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], eax
test esi, esi
je 0x508ca2
mov esi, dword [esi]
mov dword [esp + 0x48], esi
mov esi, dword [esi + 0x10]
mov ecx, esi
mov byte [esp + 0x2c], 0x19
mov byte [esp + 0x2d], 0x17
mov byte [esp + 0x2e], 0x16
mov byte [esp + 0x2f], 0x18
call fcn.004c1580
test eax, eax
je 0x508c3f
mov al, byte [ebx + 0x13]
test al, al
jne 0x508c02
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
jmp 0x508c11
dec al
movzx ecx, al
mov byte [ebx + 0x13], al
mov eax, dword [ebx + ecx*4 + 0x90]
mov edx, dword [esp + 0x48]
push 1
push eax
mov esi, eax
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x10]
push ebx
call fcn.004c9f60
mov eax, dword [esp + 0x54]
movzx ecx, byte [eax]
inc ecx
and ecx, 2
add esp, 0xc
or ecx, 1
movzx eax, byte [esp + ecx + 0x2c]
jmp 0x508c6f
lea edx, [esp + 0x54]
mov eax, esi
push edx
mov esi, ebx
call fcn.004ee930
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
add esp, 4
mov esi, edi
call fcn.004b9310
mov eax, dword [esp + 0x48]
movzx ecx, byte [eax]
movzx eax, byte [esp + ecx - 0xa]
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x38]
push ecx
push edx
push eax
push ebp
call fcn.004c5720
add esp, 0x14
test esi, esi
je 0x508cc8
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x508cc8
movzx eax, al
mov dword [ebx + eax*4 + 0x90], esi
inc byte [ebx + 0x13]
jmp 0x508cc8
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
xor eax, eax
cmp dword [esp + 0x24], eax
push 0
sete al
push ecx
push edx
lea eax, [eax*4 + 0x20]
push eax
push ebp
call fcn.004c5720
add esp, 0x14
cmp dword [esp + 0x10], 0
je 0x508d3f
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx]
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push 1
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x10]
push ebx
call fcn.004c9f60
mov ecx, dword [esi + 0x10]
add esp, 0xc
call fcn.004c1580
test eax, eax
jne 0x508d17
mov al, byte [esi]
cmp al, 0x38
je 0x508d04
cmp al, 0x36
jne 0x508d17
xor edx, edx
cmp dword [esp + 0x24], edx
sete dl
lea edx, [edx + edx + 0x37]
mov dword [esp + 0x58], edx
jmp 0x508d28
xor eax, eax
cmp dword [esp + 0x24], eax
setne al
lea eax, [eax + eax + 0x36]
mov dword [esp + 0x58], eax
mov ecx, dword [esi + 0x10]
call fcn.004c1580
test eax, eax
jne 0x508d3f
mov eax, dword [esp + 0x10]
mov esi, edi
call fcn.004b9310
cmp dword [esp + 0x24], 0
mov eax, dword [ebp + 0x88]
mov esi, dword [esp + 0x58]
sete cl
add cl, 4
mov byte [edi + 0x2d], cl
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], eax
cmp esi, 0xab
je 0x509dca
inc dword [ebx + 0x2c]
mov ebx, dword [ebx + 0x2c]
push 0
push ebx
push ecx
push 0x81
push ebp
call fcn.004c5720
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
push ebx
push edx
push eax
push esi
push ebp
call fcn.004c5720
mov eax, dword [ebp + 0x88]
add esp, 0x28
test eax, eax
jle 0x509dca
mov edx, dword [ebp + 0x58]
lea ecx, [eax + eax*4]
mov eax, 0x53
mov word [edx + ecx*4 - 0x12], ax
jmp 0x509dca
test edx, 0x200
je 0x509582
test byte [esi + 0x2c], 1
movzx ecx, word [eax + 0x18]
mov dword [esp + 0x3c], ecx
movzx ecx, word [eax + 0x1a]
movzx edx, cx
mov dword [esp + 0x40], edx
movzx edx, word [eax + 0x1c]
mov dword [esp + 0x14], edx
movzx edx, dx
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x5c], edx
mov edx, dword [edi + 8]
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x28], 0
mov byte [esp + 0x1b], 0
mov byte [esp + 0x6f], 0
mov dword [esp + 0x1c], edx
je 0x508e48
cmp byte [esi + 0x2f], 0
jle 0x508e48
mov edx, dword [esp + 0x5c]
mov dx, word [edx + 0x32]
cmp dx, word [esp + 0x3c]
jbe 0x508e48
mov byte [esp + 0x1b], 1
mov dword [esp + 0x10], 1
test byte [eax + 0x24], 0x20
movzx esi, word [esp + 0x3c]
mov dword [esp + 0x50], esi
je 0x508e6f
mov edx, dword [eax + 0x30]
mov edx, dword [edx + esi*4]
movzx ecx, cx
inc esi
cmp dword [esp + 0x10], ecx
mov dword [esp + 0x70], edx
jg 0x508e6f
mov dword [esp + 0x10], ecx
test byte [eax + 0x24], 0x10
je 0x508f1a
mov eax, dword [eax + 0x30]
mov esi, dword [eax + esi*4]
movzx eax, word [esp + 0x14]
cmp dword [esp + 0x10], eax
mov dword [esp + 0x68], esi
jg 0x508e92
mov dword [esp + 0x10], eax
mov ecx, 0x100
test word [esi + 0xa], cx
je 0x508ee2
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push 0
push eax
push 1
push 0x46
push ebp
mov dword [edi + 0x24], eax
call fcn.004c5720
mov edx, dword [ebp + 0x88]
shl dword [edi + 0x24], 1
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x64]
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
sete cl
xor ecx, dword [esp + 0x24]
or ecx, eax
mov dword [edi + 0x24], ecx
cmp dword [esp + 0x70], 0
mov ecx, dword [esp + 0x5c]
jne 0x508f1e
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x50]
movsx eax, word [edx + eax*2]
test eax, eax
jl 0x508f0e
mov edx, dword [ecx + 0xc]
mov edx, dword [edx + 4]
mov esi, eax
shl esi, 4
cmp byte [edx + esi + 0xc], 0
je 0x508f13
cmp eax, 0xfffffffe
jne 0x508f1e
mov byte [esp + 0x1b], 1
jmp 0x508f1e
mov ecx, dword [esp + 0x5c]
movzx eax, word [ecx + 0x32]
cmp word [esp + 0x3c], ax
jae 0x508f3e
mov ecx, dword [ecx + 0x1c]
mov esi, dword [esp + 0x50]
xor edx, edx
cmp byte [esi + ecx], dl
sete dl
cmp dword [esp + 0x24], edx
je 0x508f4c
cmp dword [esp + 0x24], 0
je 0x508f81
cmp ax, word [esp + 0x3c]
jne 0x508f81
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
movzx edx, word [esp + 0x54]
mov dword [esp + 0x70], eax
mov al, byte [esp + 0x1b]
mov byte [esp + 0x6f], al
mov al, byte [esp + 0x40]
movzx ax, al
mov dword [esp + 0x68], ecx
movzx ecx, ax
mov byte [esp + 0x1b], 0
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
push edi
push ebx
call fcn.00508070
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
add esp, 0x14
test eax, eax
je 0x508fc5
cmp word [esp + 0x54], 0
je 0x508fc5
mov edx, dword [esp + 0x50]
add edx, eax
mov eax, dword [esp + 0x64]
push edx
call fcn.004c3a20
add esp, 4
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x70]
mov dl, 0x28
test eax, eax
je 0x508fea
test byte [eax + 0xc], dl
jne 0x508fea
mov dword [esp + 0x74], 0
mov esi, 1
jmp 0x508ff3
mov esi, 1
mov dword [esp + 0x74], esi
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x509008
mov dword [esp + 0x48], 0
test byte [ecx + 0xc], dl
je 0x50900c
mov dword [esp + 0x48], esi
test eax, eax
jne 0x50901b
mov dword [esp + 0x14], eax
cmp word [esp + 0x3c], ax
jbe 0x50901f
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x3c], esi
test eax, eax
je 0x5090e6
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
movzx eax, word [esp + 0x40]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
push eax
add ecx, edx
push ecx
push ebx
mov eax, esi
mov dword [esp + 0x64], ecx
call fcn.004c9f60
mov eax, dword [esp + 0x7c]
push eax
mov edx, edi
mov ecx, ebp
call fcn.004b9380
add esp, 0x10
mov eax, esi
call fcn.004b65a0
test eax, eax
je 0x509088
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
push 0
push ecx
push edx
push 0x32
push ebp
call fcn.004c5720
add esp, 0x14
cmp dword [esp + 0x2c], 0
je 0x5090a9
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x50]
add eax, ecx
push eax
movzx eax, word [esp + 0x44]
push eax
push esi
call fcn.004c9e90
add esp, 0xc
movzx eax, word [esp + 0x40]
add dword [esp + 0x3c], eax
mov ecx, esi
call fcn.004c1580
test eax, eax
jne 0x5090d3
mov eax, dword [esp + 0x70]
mov esi, edi
call fcn.004b9310
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x1b], 0
jmp 0x509116
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x74], 1
mov byte [esp + 0x1b], 0
jmp 0x509116
cmp byte [esp + 0x1b], 0
je 0x509116
mov eax, dword [esp + 0x10]
push 0
mov edx, esi
add edx, eax
push edx
push 0
push 0x49
push ebp
call fcn.004c5720
add esp, 0x14
inc esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x14], 1
movzx edx, byte [esp + 0x1b]
mov ecx, dword [esp + 0x2c]
push ecx
mov eax, esi
sub eax, edx
push eax
mov eax, dword [esp + 0x18]
mov ecx, ebx
call fcn.004c9e30
mov ecx, dword [esp + 0x4c]
movzx eax, word [ecx + 0x2a]
add esp, 8
test ax, ax
jbe 0x509147
movzx edx, ax
cmp esi, edx
je 0x5091af
mov eax, ecx
test dword [eax + 0x24], 0x40000
je 0x509166
mov ecx, dword [esp + 0x1c]
push 0
push 0
push ecx
push 0x77
push ebp
call fcn.004c5720
add esp, 0x14
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
lea ecx, [edx + eax*2]
mov edx, dword [esp + 0x24]
movzx eax, byte [edx + ecx*2 + 0x5ec830]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push eax
push ebp
call fcn.004c5720
mov edx, dword [ebp]
add esp, 0x14
cmp byte [edx + 0x49], 0
jne 0x5091af
mov ecx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], esi
cmp dword [esp + 0x68], 0
mov esi, dword [esp + 0x50]
mov dword [esp + 0x3c], esi
je 0x509280
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
mov esi, dword [eax + 0x10]
movzx eax, word [esp + 0x54]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
push eax
add ecx, edx
push ecx
mov dword [esp + 0x1c], eax
push ebx
mov eax, esi
mov dword [esp + 0x64], ecx
call fcn.004c9f60
mov eax, dword [esp + 0x74]
push eax
mov edx, edi
mov ecx, ebp
call fcn.004b9380
add esp, 0x10
mov eax, esi
call fcn.004b65a0
test eax, eax
je 0x50921f
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
push 0
push ecx
push edx
push 0x32
push ebp
call fcn.004c5720
add esp, 0x14
cmp dword [esp + 0x28], 0
je 0x50924e
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push esi
call fcn.004c9e90
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x6c]
mov ecx, ebx
call fcn.004c9e30
add esp, 0x14
mov ecx, dword [esp + 0x14]
add dword [esp + 0x3c], ecx
mov ecx, esi
call fcn.004c1580
test eax, eax
jne 0x509272
mov eax, dword [esp + 0x68]
mov esi, edi
call fcn.004b9310
mov esi, dword [esp + 0x3c]
jmp 0x5092a8
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x48], 1
jmp 0x5092a8
cmp byte [esp + 0x6f], 0
je 0x5092a8
mov eax, dword [esp + 0x10]
push 0
mov edx, esi
add edx, eax
push edx
push 0
push 0x49
push ebp
call fcn.004c5720
add esp, 0x14
mov dword [esp + 0x48], 0
inc esi
cmp dword [esp + 0x2c], 0
je 0x509300
mov eax, dword [esp + 0x64]
test eax, eax
je 0x5092f3
cmp dword [eax + 0x1d8], 0
je 0x5092cf
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x64]
call fcn.004acbd0
jmp 0x509300
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [eax + 0x128]
jb 0x5092f3
cmp ecx, dword [eax + 0x12c]
jae 0x5092f3
mov edx, dword [eax + 0x124]
mov dword [ecx], edx
mov dword [eax + 0x124], ecx
jmp 0x509300
mov eax, dword [esp + 0x2c]
push eax
call fcn.004acb60
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x509349
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x509340
cmp dword [ecx + 0x1d8], 0
je 0x509320
call fcn.004acbd0
jmp 0x509349
cmp eax, dword [ecx + 0x128]
jb 0x509340
cmp eax, dword [ecx + 0x12c]
jae 0x509340
mov edx, dword [ecx + 0x124]
mov dword [eax], edx
mov dword [ecx + 0x124], eax
jmp 0x509349
push eax
call fcn.004acb60
add esp, 4
mov eax, dword [ebp + 0x88]
mov dword [edi + 0x34], eax
test esi, esi
je 0x509398
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
movzx eax, byte [ecx + edx*2 + 0x5ec838]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push eax
push ebp
call fcn.004c5720
mov edx, dword [ebp]
add esp, 0x14
cmp byte [edx + 0x49], 0
jne 0x509398
mov ecx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], esi
mov edx, dword [esp + 0x44]
test dword [edx + 0x24], 0x40000
je 0x5093b9
mov eax, dword [esp + 0x1c]
push 0
push 1
push eax
push 0x77
push ebp
call fcn.004c5720
add esp, 0x14
cmp dword [esp + 0x30], 0
jne 0x509504
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 0xc]
test byte [eax + 0x24], 0x20
jne 0x50943d
mov ecx, dword [esp + 0xc4]
movzx eax, word [ecx + 0x2c]
test eax, 0x400
jne 0x50940c
test eax, 0x1000
je 0x5093f0
cmp byte [ecx + 0x31], 1
je 0x50940c
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x20]
mov edi, edx
call fcn.004cdbe0
mov edi, dword [esp + 0x3c]
add esp, 4
jmp 0x509504
inc dword [ebx + 0x2c]
mov ebx, dword [ebx + 0x2c]
mov edx, dword [esp + 0x1c]
push 0
push ebx
push edx
push 0x88
push ebp
call fcn.004c5720
mov eax, dword [esp + 0x48]
push ebx
push 0
push eax
push 0x1f
push ebp
call fcn.004c5720
add esp, 0x28
jmp 0x509504
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x34], ecx
je 0x509504
call fcn.004b7150
movzx esi, word [eax + 0x32]
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.004b6a90
mov ebx, eax
mov eax, dword [esp + 0x20]
xor edx, edx
xor esi, esi
mov dword [esp + 0x14], ebx
cmp dx, word [eax + 0x32]
jae 0x5094cd
mov ecx, dword [esp + 0x5c]
movzx edx, word [ecx + 0x34]
xor eax, eax
test edx, edx
jle 0x5094a1
mov ebx, dword [esp + 0x20]
mov ebx, dword [ebx + 4]
movzx ebx, word [ebx + esi*2]
mov ecx, dword [ecx + 4]
nop
cmp bx, word [ecx]
je 0x50953a
inc eax
add ecx, 2
cmp eax, edx
jl 0x509490
or eax, 0xffffffff
mov ebx, dword [esp + 0x14]
movsx edx, ax
mov eax, dword [esp + 0x1c]
lea ecx, [esi + ebx]
push ecx
push edx
push eax
push 0x5a
push ebp
call fcn.004c5720
mov ecx, dword [esp + 0x34]
movzx edx, word [ecx + 0x32]
inc esi
add esp, 0x14
cmp esi, edx
jl 0x509473
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
movzx esi, word [eax + 0x32]
push ebx
push ecx
push edx
push 0x1c
push ebp
call fcn.004c5720
mov ecx, dword [ebp]
add esp, 0x14
cmp byte [ecx + 0x49], 0
jne 0x509504
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x58]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], esi
cmp dword [edi], 0
jne 0x509527
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
push ecx
push edx
mov edx, dword [esp + 0x3c]
push eax
call fcn.004df240
add esp, 0xc
mov eax, dword [esp + 0x44]
test dword [eax + 0x24], 0x1000
je 0x509542
mov byte [edi + 0x2d], 0xab
jmp 0x509550
movzx eax, ax
jmp 0x5094a4
cmp dword [esp + 0x24], 0
sete cl
add cl, 4
mov byte [edi + 0x2d], cl
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x30], edx
mov cl, byte [eax + 0x26]
and cl, 1
mov byte [edi + 0x2e], cl
test byte [eax + 0x24], 0xf
jne 0x50956a
mov byte [edi + 0x2f], 1
cmp dword [esp + 0x30], 0
je 0x509dca
mov dword [esp + 0x5c], 0
jmp 0x509dca
test dword [esp + 0x28], 0x2000
je 0x509d8a
mov eax, dword [ebx + 0x28]
inc dword [ebx + 0x2c]
mov dword [esp + 0x68], eax
inc eax
xor ecx, ecx
mov dword [ebx + 0x28], eax
mov ebx, dword [ebx + 0x2c]
mov eax, ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
call fcn.004c59c0
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x10]
mov edx, dword [ecx + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x74], eax
mov byte [edi + 0x2d], 0x42
mov dword [edi + 0x30], ebx
mov al, byte [esi + 0x2e]
cmp al, 1
jbe 0x5096b9
movzx ebx, al
sub ebx, dword [esp + 0xc8]
mov eax, dword [esp + 0x64]
dec ebx
xor edx, edx
lea ecx, [ebx + ebx*8]
lea ecx, [ecx*8 + 0x50]
push edx
push ecx
test eax, eax
je 0x509621
call fcn.004bbee0
jmp 0x509626
call fcn.004bbc40
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x50964a
mov eax, dword [esp + 0xcc]
mov edx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x78]
mov cl, bl
inc cl
movzx eax, cl
mov dword [edx + 4], eax
mov dword [edx], eax
mov eax, dword [esp + 0xc4]
lea edi, [edx + 8]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 4]
add eax, 8
cmp ebx, 1
mov dword [esp + 0x54], eax
jl 0x5096c0
add edx, 0x50
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x20]
add edx, 0x7c
movzx eax, byte [edx]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x54]
lea esi, [eax + ecx*8]
mov edi, ebx
mov ecx, 0x12
add edx, 0x50
add ebx, 0x48
sub dword [esp + 0x14], 1
rep movsd dword es:[edi], dword [esi]
jne 0x509694
jmp 0x5096c0
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xc4]
test byte [edx + 0x2c], 0x10
jne 0x509737
mov eax, dword [esp + 0x40]
test byte [eax + 0x24], 0x20
jne 0x5096f7
mov esi, dword [esp + 0x4c]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
push 0
push eax
push 0
push 0x49
push ebp
mov dword [esp + 0x3c], eax
call fcn.004c5720
add esp, 0x14
jmp 0x50972d
call fcn.004b7150
mov edi, dword [esp + 0x4c]
mov esi, eax
mov eax, dword [edi + 0x28]
lea ecx, [eax + 1]
mov dword [edi + 0x28], ecx
movzx edx, word [esi + 0x32]
push 0
push edx
push eax
push 0x71
push ebp
mov dword [esp + 0x3c], eax
call fcn.004c5720
add esp, 0x14
mov ecx, esi
mov eax, edi
call fcn.004f9880
mov esi, edi
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x58]
push 0
push ecx
push 0
push 0x46
push ebp
call fcn.004c5720
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x94], eax
mov eax, dword [ebx + 0xc]
add esp, 0x14
cmp eax, 1
jle 0x509857
xor edi, edi
test eax, eax
jle 0x509857
xor esi, esi
mov edx, dword [ebx + 0x14]
mov ecx, dword [edx + esi]
lea eax, [edx + esi]
cmp eax, dword [esp + 0x24]
je 0x5097c4
mov eax, edx
add eax, esi
test byte [eax + 0xa], 6
jne 0x5097c4
mov edx, 0x1fff
test word [eax + 0xc], dx
je 0x5097c4
test ecx, ecx
je 0x5097ad
mov eax, dword [esp + 0x64]
push 0
push 0
push ecx
push eax
call fcn.004d65f0
add esp, 0x10
jmp 0x5097af
xor eax, eax
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x68]
call fcn.004cc390
add esp, 4
mov dword [esp + 0x1c], eax
inc edi
add esi, 0x30
cmp edi, dword [ebx + 0xc]
jl 0x509771
cmp dword [esp + 0x1c], 0
mov esi, dword [esp + 0x4c]
je 0x50985b
mov eax, dword [esi]
push 0
push 0x34
call fcn.004bbee0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x509841
push 0x34
push 0
push ebx
call fcn.00586030
mov eax, dword [esp + 0x28]
or edx, 0xffffffff
mov word [ebx + 0x22], dx
mov byte [ebx], 0x2c
mov dword [ebx + 0x10], eax
mov edx, dword [eax + 4]
add esp, 0xc
and edx, 0x200104
or dword [ebx + 4], edx
push ebx
call fcn.004c1620
mov eax, dword [esi]
mov eax, dword [eax + 0x70]
add esp, 4
cmp dword [ebx + 0x18], eax
jle 0x50983b
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
call fcn.004d3500
add esp, 8
mov dword [esp + 0x1c], ebx
jmp 0x50985b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi]
push eax
push ecx
call fcn.004c6c60
add esp, 8
mov dword [esp + 0x1c], ebx
jmp 0x50985b
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0xc4]
mov dx, word [ecx + 0x2c]
mov edi, dword [esp + 0x1c]
mov eax, 0x400
and dx, ax
or dx, 0x20
push str.MULTI_INDEX_OR
movzx ecx, dx
push 1
push esi
mov dword [esp + 0x5c], ecx
call fcn.004d4fe0
mov ebx, dword [esp + 0x80]
add esp, 0xc
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x20], 0
jle 0x509c17
mov dword [esp + 0x2c], 0
mov edi, edi
mov eax, dword [ebx + 0x14]
add eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x14]
cmp edx, dword [esp + 0x34]
je 0x5098cf
mov ecx, 0x400
test word [eax + 0xc], cx
je 0x509c00
mov eax, dword [eax]
mov dword [esp + 0x54], 0
test edi, edi
je 0x5098e2
mov dword [edi + 0xc], eax
mov eax, edi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x14]
push ecx
push 0
push 0
push eax
push edx
push esi
call fcn.0050a1e0
add esp, 0x1c
mov dword [esp + 0x88], eax
test eax, eax
je 0x509c00
mov edx, dword [esp + 0x10]
push 0
lea ecx, [eax + 0x2f0]
mov edi, esi
call fcn.004ded00
mov eax, dword [esp + 0xc8]
add esp, 4
test byte [eax + 0x2c], 0x10
jne 0x509b03
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0xc]
mov edi, dword [esp + 0x20]
dec edx
cmp edi, edx
jne 0x509948
or edi, 0xffffffff
mov eax, dword [esp + 0x40]
test byte [eax + 0x24], 0x20
mov dword [esp + 0x14], edi
jne 0x5099a2
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push 0
push esi
push eax
push 0x81
push ebp
call fcn.004c5720
mov ecx, dword [esp + 0x3c]
push esi
push 0
push ecx
push 0x2a
push ebp
call fcn.004c5720
mov edx, dword [ebp]
add esp, 0x28
cmp byte [edx + 0x49], 0
jne 0x509999
mov edx, dword [ebp + 0x58]
lea ecx, [eax + eax*4]
lea ecx, [edx + ecx*4]
mov byte [ecx + 1], 0xfd
mov dword [ecx + 0x10], edi
mov dword [esp + 0x54], eax
jmp 0x509b03
call fcn.004b7150
movzx edi, word [eax + 0x32]
mov dword [esp + 0x44], eax
cmp edi, 1
jne 0x5099dc
mov ecx, dword [esp + 0x4c]
mov al, byte [ecx + 0x13]
test al, al
jne 0x5099c9
inc dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x2c]
mov ebx, ecx
jmp 0x509a02
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov ecx, dword [ecx + eax*4 + 0x90]
mov ebx, ecx
jmp 0x509a02
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x1c]
cmp edi, ecx
mov ebx, dword [eax + 0x20]
jg 0x5099f7
lea edx, [edi + ebx]
sub ecx, edi
mov dword [eax + 0x20], edx
mov dword [eax + 0x1c], ecx
jmp 0x509a02
mov ecx, dword [eax + 0x2c]
lea ebx, [ecx + 1]
add ecx, edi
mov dword [eax + 0x2c], ecx
xor esi, esi
test edi, edi
jle 0x509a36
jmp 0x509a10
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 4]
movsx eax, word [ecx + esi*2]
mov ecx, dword [esp + 0x40]
lea edx, [esi + ebx]
push edx
mov edx, dword [esp + 0x38]
push edx
push ebp
call fcn.004ee780
inc esi
add esp, 0xc
cmp esi, edi
jl 0x509a10
mov esi, dword [esp + 0x14]
test esi, esi
je 0x509a72
mov eax, dword [esp + 0x28]
push ebx
push 0
push eax
push 0x1d
push ebp
call fcn.004c5720
mov ecx, dword [ebp]
add esp, 0x14
cmp byte [ecx + 0x49], 0
jne 0x509a6a
mov ecx, dword [ebp + 0x58]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov byte [ecx + 1], 0xfd
mov dword [ecx + 0x10], edi
mov dword [esp + 0x54], eax
test esi, esi
jl 0x509ad0
mov esi, dword [esp + 0x30]
push esi
push edi
push ebx
push 0x66
push ebp
call fcn.004c5720
mov edx, dword [esp + 0x3c]
push ebx
push esi
push edx
push 0x85
push ebp
call fcn.004c5720
mov ecx, dword [ebp]
add esp, 0x28
cmp byte [ecx + 0x49], 0
jne 0x509aaf
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x58]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], edi
cmp dword [esp + 0x14], 0
je 0x509ad0
mov eax, dword [ebp + 0x88]
test eax, eax
jle 0x509ad0
mov edx, dword [ebp + 0x58]
lea ecx, [eax + eax*4]
mov eax, 0x10
mov word [edx + ecx*4 - 0x12], ax
cmp edi, 1
jne 0x509af4
test ebx, ebx
je 0x509b03
mov eax, dword [esp + 0x4c]
mov cl, byte [eax + 0x13]
cmp cl, 8
jae 0x509b03
movzx ecx, cl
mov dword [eax + ecx*4 + 0x90], ebx
inc byte [eax + 0x13]
jmp 0x509b03
mov eax, dword [esp + 0x4c]
cmp edi, dword [eax + 0x1c]
jle 0x509b03
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ebx
mov eax, dword [ebp + 0x88]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x30], eax
jg 0x509b2b
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x58]
push 0
push eax
push ecx
push 0xc
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x509b5f
mov ecx, dword [ebp + 0x58]
lea edx, [eax + 1]
mov dword [ebp + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x58]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0xc
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x54]
test eax, eax
je 0x509b8e
mov ecx, dword [ebp + 0x88]
jge 0x509b72
lea eax, [ecx - 1]
mov edx, dword [ebp]
cmp byte [edx + 0x49], 0
je 0x509b82
mov eax, 0x6413f8
jmp 0x509b8b
mov edx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x88]
cmp byte [eax + 0x32], 0
je 0x509ba3
mov dword [esp + 0x70], 1
mov ecx, dword [eax + 0x330]
test dword [ecx + 0x24], 0x200
je 0x509be3
cmp dword [esp + 0x20], 0
je 0x509bc2
mov edx, dword [esp + 0x48]
cmp dword [ecx + 0x20], edx
jne 0x509be3
mov edx, dword [esp + 0x40]
test byte [edx + 0x24], 0x20
je 0x509bda
mov edx, dword [ecx + 0x20]
mov edx, dword [edx + 0x38]
and dl, 3
cmp dl, 2
je 0x509be3
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x48], ecx
jmp 0x509beb
mov dword [esp + 0x48], 0
push eax
call fcn.004ca760
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x20]
add esp, 4
mov eax, dword [esp + 0x20]
add dword [esp + 0x2c], 0x30
inc eax
cmp eax, dword [ebx + 0xc]
mov dword [esp + 0x20], eax
jl 0x5098b0
mov eax, dword [esi + 0xd0]
xor ebx, ebx
cmp eax, ebx
jne 0x509c27
xor eax, eax
jmp 0x509c50
cmp eax, ebx
mov ecx, dword [esi + 8]
jge 0x509c35
mov eax, dword [ecx + 0x88]
dec eax
mov edx, dword [ecx]
cmp byte [edx + 0x49], 0
je 0x509c44
mov eax, 0x6413f8
jmp 0x509c4d
mov ecx, dword [ecx + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov eax, dword [eax + 8]
mov dword [esi + 0xd0], eax
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x38]
mov dword [esi + 0x38], eax
cmp eax, ebx
je 0x509c6c
mov edx, dword [esp + 0x68]
mov dword [esi + 8], edx
cmp edi, ebx
je 0x509c83
mov dword [edi + 0xc], ebx
push edi
mov edi, dword [esp + 0x68]
push edi
call fcn.004c6c60
add esp, 8
jmp 0x509c87
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x80]
cmp eax, ebx
mov ecx, dword [ebp + 0x88]
jge 0x509c9b
lea eax, [ecx - 1]
mov edx, dword [ebp]
cmp byte [edx + 0x49], 0
je 0x509cab
mov eax, 0x6413f8
jmp 0x509cb4
mov edx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0x88]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x30], eax
mov ecx, dword [esi + 0xc]
jg 0x509cd9
push ebx
push ecx
push ebx
push 0xb
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x509d03
lea edx, [eax + 1]
mov dword [ebp + 0x88], edx
mov edx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0xb
mov word [eax + 2], dx
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], dl
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x509d22
mov ecx, dword [esp + 0x3c]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebp + 0x88]
sub eax, edx
mov dword [eax], ecx
mov edx, dword [esp + 0xc4]
cmp byte [edx + 0x2e], 1
jbe 0x509d75
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x509d75
cmp edi, ebx
je 0x509d6c
cmp dword [edi + 0x1d8], ebx
je 0x509d4c
mov ecx, edi
call fcn.004acbd0
jmp 0x509d75
cmp eax, dword [edi + 0x128]
jb 0x509d6c
cmp eax, dword [edi + 0x12c]
jae 0x509d6c
mov ecx, dword [edi + 0x124]
mov dword [eax], ecx
mov dword [edi + 0x124], eax
jmp 0x509d75
push eax
call fcn.004acb60
add esp, 4
cmp dword [esp + 0x70], ebx
jne 0x509dca
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
call fcn.004b9310
jmp 0x509dca
test cl, 0x20
je 0x509d95
mov byte [edi + 0x2d], 0xab
jmp 0x509dca
mov eax, dword [esp + 0x24]
mov dl, byte [eax + 0x5ec83c]
mov ecx, dword [esp + 0x34]
mov byte [edi + 0x2d], dl
mov edx, dword [esp + 0x48]
push 0
push edx
mov dword [edi + 0x30], ecx
movzx eax, byte [eax + 0x5ec840]
push ecx
push eax
push ebp
call fcn.004c5720
add esp, 0x14
inc eax
mov byte [edi + 0x2f], 1
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x7c]
neg eax
sbb eax, eax
add eax, 2
mov dword [esp + 0x30], eax
xor edi, edi
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
xor eax, eax
cmp edx, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
jle 0x509ff8
nop
movzx edx, word [ecx + 0xa]
xor esi, esi
test dl, 6
jne 0x509fd0
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
and eax, dword [ebx + 0x48]
and ecx, dword [ebx + 0x4c]
or eax, ecx
je 0x509e2f
mov eax, dword [esp + 0xc4]
mov byte [eax + 0x32], 1
jmp 0x509fd0
mov eax, dword [esp + 0x78]
test byte [eax + 0x24], 8
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx]
je 0x509e49
test byte [ebx + 4], 1
je 0x509fd0
mov eax, dword [esp + 0x30]
cmp eax, 1
jne 0x509ee7
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 4]
xor eax, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x80]
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x90], 0x4c1ac0
mov dword [esp + 0xa4], ecx
cmp ebx, edi
je 0x509ed0
lea edx, [esp + 0x8c]
push ebx
push edx
call fcn.004c1420
add esp, 8
cmp byte [esp + 0xa0], 0
je 0x509eec
mov dword [esp + 0x20], 2
jmp 0x509fd0
cmp eax, 3
jge 0x509f13
mov eax, dword [esp + 0x24]
movzx edx, word [eax + 0xa]
test edx, 0x1000
je 0x509f13
cmp dword [esp + 0x20], edi
jne 0x509fd0
mov dword [esp + 0x20], 3
jmp 0x509fd0
test edx, 0x200
je 0x509f85
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x24]
cmp eax, edi
jbe 0x509f85
mov ecx, dword [ebp + 0x88]
mov esi, eax
shr esi, 1
test al, 1
mov eax, dword [ebp + 0xc]
mov edx, 0
setne dl
cmp dword [eax + 0x30], ecx
lea edx, [edx + edx + 0x12]
jg 0x509f56
push edi
push edi
push esi
push edx
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x509f83
mov edi, dword [ebp + 0x58]
lea eax, [ecx + 1]
mov dword [ebp + 0x88], eax
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
mov byte [eax], dl
xor edx, edx
xor edi, edi
mov word [eax + 2], dx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], dl
mov eax, ecx
mov esi, eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x4c]
push 0x10
push eax
push ebx
push ecx
call fcn.005142b0
add esp, 0x10
cmp esi, edi
je 0x509fc7
mov ecx, dword [ebp + 0x88]
mov eax, esi
jge 0x509fab
lea eax, [ecx - 1]
mov edx, dword [ebp]
cmp byte [edx + 0x49], 0
je 0x509fbb
mov eax, 0x6413f8
jmp 0x509fc4
mov edx, dword [ebp + 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 eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x38]
dec eax
add ecx, 0x30
cmp eax, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
jg 0x509e00
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x20]
cmp eax, edi
mov dword [esp + 0x30], eax
jg 0x509de3
mov eax, dword [esp + 0x7c]
mov esi, dword [eax + 0xc]
cmp esi, edi
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x1c], esi
jle 0x50a10a
lea ebx, [ebx]
test byte [ebx + 0xa], 6
jne 0x50a0fa
movzx eax, word [ebx + 0xc]
test al, 0x82
je 0x50a0fa
test eax, 0x800
je 0x50a0fa
mov eax, dword [ebx + 0x14]
cmp eax, dword [esp + 0x34]
jne 0x50a0fa
mov ecx, dword [esp + 0x38]
cmp dword [ecx], edi
jne 0x50a0fa
mov edx, dword [ebx]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xcc]
push 0x83
push eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x88], edx
mov edx, dword [ebx + 0x1c]
push ecx
push edx
mov edx, dword [esp + 0x8c]
push eax
xor ecx, ecx
call fcn.004f2c10
add esp, 0x14
cmp eax, edi
je 0x50a0fa
test byte [eax + 0xa], 4
jne 0x50a0fa
test byte [eax + 0xc], 1
je 0x50a0b7
mov ecx, dword [eax]
test dword [ecx + 4], 0x800
je 0x50a0b7
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx]
cmp dword [edx], 1
jg 0x50a0fa
mov esi, dword [eax]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x60]
mov ecx, 0xd
lea edi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xc]
push 0x10
push edx
lea eax, [esp + 0x94]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x54]
push eax
push ecx
call fcn.005142b0
mov esi, dword [esp + 0x2c]
add esp, 0x10
xor edi, edi
dec esi
add ebx, 0x30
cmp esi, edi
mov dword [esp + 0x1c], esi
jg 0x50a020
mov edx, dword [esp + 0x38]
cmp dword [edx], edi
je 0x50a1bc
mov ecx, dword [ebp + 0x88]
mov eax, edx
mov dword [eax + 0x1c], ecx
mov ecx, dword [eax]
mov eax, dword [ebp + 0x88]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x30], eax
jg 0x50a143
push edi
push ecx
push 1
push 0x46
mov esi, ebp
call fcn.004c56e0
add esp, 0x10
jmp 0x50a171
lea edx, [eax + 1]
mov dword [ebp + 0x88], edx
mov edx, dword [ebp + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0x46
mov word [eax + 2], dx
mov dword [eax + 4], 1
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], dl
mov ebx, dword [esp + 0x7c]
cmp dword [ebx + 0xc], edi
mov esi, dword [ebx + 0x14]
jle 0x50a1bc
mov ebp, dword [esp + 0x38]
test byte [esi + 0xa], 6
jne 0x50a1b3
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
and eax, dword [ebp + 0x48]
and ecx, dword [ebp + 0x4c]
or eax, ecx
jne 0x50a1b3
mov eax, dword [esp + 0x60]
mov ecx, dword [esi]
mov edx, dword [esp + 0x4c]
push 0x10
push eax
push ecx
push edx
call fcn.005142b0
add esp, 0x10
or word [esi + 0xa], 4
inc edi
add esi, 0x30
cmp edi, dword [ebx + 0xc]
jl 0x50a181
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret