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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [edx]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ebx, ecx
mov dword [esp + 0x34], eax
push esi
mov eax, dword [eax]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ecx
push edi
test eax, eax
je 0x4ec18f
push 0
push 0x1a0
mov ecx, eax
call fcn.00477bd0
mov edi, eax
add esp, 8
mov dword [esp + 0xc], edi
jmp 0x4ec1f1
cmp dword [0x70a848], 0
je 0x4ec1dd
mov eax, dword [0x715a80]
test eax, eax
je 0x4ec1ab
push eax
call dword [0x70a898]
add esp, 4
lea edx, [esp + 0x30]
mov ecx, 0x1a0
call fcn.00477560
mov eax, dword [0x715a80]
test eax, eax
je 0x4ec1d3
push eax
call dword [0x70a8a0]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x10], edi
jmp 0x4ec1ee
mov edi, dword [esp + 0x30]
mov dword [esp + 0xc], edi
jmp 0x4ec1f1
push 0x1a0
call dword [0x70a868]
mov edi, eax
mov dword [esp + 0x10], eax
add esp, 4
test edi, edi
je 0x4ec205
push 0x1a0
push 0
push edi
call fcn.00638f20
add esp, 0xc
mov dword [ebx + 0x1c], edi
test edi, edi
je 0x4ec8bf
or word [ebx + 0xa], 0x10
lea esi, [edi + 0x18]
push 0x180
push 0
push esi
call fcn.00638f20
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x50]
mov ecx, edi
mov dword [edi], eax
mov byte [edi + 9], 0
push 0x2b
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 8
mov dword [edi + 0x14], esi
call fcn.004ed8e0
mov esi, dword [edi + 0xc]
add esp, 4
sub esi, 1
js 0x4ec27c
mov ebx, dword [esp + 0x38]
push esi
mov edx, edi
mov ecx, ebx
call fcn.004ecc90
add esp, 4
sub esi, 1
jns 0x4ec266
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x51], 0
jne 0x4ec8bf
mov esi, dword [esp + 0xc]
or edx, 0xffffffff
or ecx, 0xffffffff
mov dword [esp + 0x28], edx
or edi, 0xffffffff
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], edi
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 0x14]
sub eax, 1
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], esi
js 0x4ec4ff
mov eax, edx
or eax, ecx
je 0x4ec4f7
movzx eax, word [esi + 0xc]
test eax, 0x1ff
jne 0x4ec446
mov ecx, dword [esp + 0x24]
xorps xmm0, xmm0
push 0
push 0x198
movlpd qword [esp + 0x18], xmm0
call fcn.00477bd0
mov edi, eax
add esp, 8
test edi, edi
je 0x4ec429
or word [esi + 0xa], 0x20
mov eax, 0x400
push 0x180
mov dword [esi + 0x1c], edi
xorps xmm0, xmm0
mov word [esi + 0xc], ax
lea esi, [edi + 0x18]
push 0
push esi
movlpd qword [esp + 0x24], xmm0
call fcn.00638f20
mov ebx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x30]
mov ecx, edi
mov eax, dword [ebx]
mov dword [edi], eax
mov byte [edi + 9], 0
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 8
mov dword [edi + 0x14], esi
mov edx, dword [edx]
push 0x2c
call fcn.004ed8e0
mov esi, dword [edi + 0xc]
add esp, 4
sub esi, 1
js 0x4ec384
nop dword [eax]
mov ecx, dword [esp + 0x38]
mov edx, edi
push esi
call fcn.004ecc90
add esp, 4
sub esi, 1
jns 0x4ec370
mov eax, dword [esp + 0x24]
mov dword [edi + 4], ebx
cmp byte [eax + 0x51], 0
jne 0x4ec3f4
mov esi, dword [edi + 0x14]
mov edi, dword [edi + 0xc]
test edi, edi
jle 0x4ec3f4
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov eax, dword [esi]
movzx eax, byte [eax]
cmp eax, 0x31
je 0x4ec3cc
cmp eax, 0x35
jb 0x4ec3bb
cmp eax, 0x39
jbe 0x4ec3cc
cmp eax, 0x32
je 0x4ec3cc
cmp eax, 0x2d
je 0x4ec3cc
cmp word [esi + 0xc], 0x40
jne 0x4ec3ea
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x14]
lea ecx, [ecx + 0x1e8]
call fcn.004ede70
mov ecx, dword [esp + 0x18]
or ecx, eax
or ebx, edx
mov dword [esp + 0x18], ecx
add esi, 0x30
sub edi, 1
jne 0x4ec3a7
jmp 0x4ec3fc
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
and edx, ecx
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
and ecx, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], edi
jmp 0x4ec4dd
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], edi
jmp 0x4ec4dd
movzx eax, word [esi + 0xa]
test al, 8
jne 0x4ec4d9
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x14]
add ecx, 0x1e8
call fcn.004ede70
mov edi, eax
mov ebx, edx
movzx eax, word [esi + 0xa]
test al, 2
je 0x4ec49a
mov esi, dword [esi + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
lea esi, [esi + esi*2]
mov edx, dword [eax + 0x14]
add esi, esi
lea ecx, [ecx + 0x1e8]
mov edx, dword [edx + esi*8 + 0x14]
call fcn.004ede70
mov esi, dword [esp + 0x30]
or edi, eax
or ebx, edx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
and edx, edi
movzx eax, word [esi + 0xc]
and ecx, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
test al, 2
jne 0x4ec4d1
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edi
jmp 0x4ec4dd
and dword [esp + 0x10], edi
and dword [esp + 0x18], ebx
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
add esi, 0x30
dec eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], eax
test eax, eax
jns 0x4ec2c2
jmp 0x4ec4fb
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0xc]
mov eax, 0x200
mov dword [esi + 0x198], edx
or edx, ecx
mov dword [esi + 0x19c], ecx
mov word [ebx + 0xc], ax
je 0x4ec5e0
mov eax, dword [esp + 0x34]
mov byte [eax + 9], 1
cmp dword [esi + 0xc], 2
jne 0x4ec5e0
xor ecx, ecx
xor edx, edx
nop word [eax + eax]
mov eax, dword [esi + 0x14]
mov edi, 0x400
cmp word [eax + 0xc], di
je 0x4ec557
xor ebx, ebx
test ecx, ecx
cmove ebx, eax
jmp 0x4ec568
mov ebx, dword [eax + 0x1c]
cmp ecx, dword [ebx + 0xc]
jge 0x4ec566
mov ebx, dword [ebx + 0x14]
add ebx, edx
jmp 0x4ec568
xor ebx, ebx
inc ecx
add edx, 0x30
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], edx
test ebx, ebx
je 0x4ec5dc
xor esi, esi
xor edi, edi
nop dword [eax]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x14]
mov eax, 0x400
add ecx, 0x30
cmp word [ecx + 0xc], ax
je 0x4ec59e
xor eax, eax
test esi, esi
cmove eax, ecx
jmp 0x4ec5af
mov eax, dword [ecx + 0x1c]
cmp esi, dword [eax + 0xc]
jge 0x4ec5ad
mov eax, dword [eax + 0x14]
add eax, edi
jmp 0x4ec5af
xor eax, eax
inc esi
add edi, 0x30
test eax, eax
je 0x4ec5cb
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push eax
push ebx
call fcn.004ec020
add esp, 8
jmp 0x4ec580
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0xc]
jmp 0x4ec540
mov edi, dword [esp + 0x10]
mov eax, edi
or eax, dword [esp + 0x18]
je 0x4ec8bf
xor eax, eax
mov edx, 0xffbf
or ecx, 0xffffffff
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], ecx
nop
test eax, eax
jne 0x4ec757
mov ebx, dword [esi + 0xc]
sub ebx, 1
mov edi, dword [esi + 0x14]
js 0x4ec8bf
and word [edi + 0xa], dx
mov edx, dword [edi + 0x14]
cmp edx, ecx
je 0x4ec665
mov ecx, dword [esp + 0x20]
xor eax, eax
mov esi, dword [ecx + 0x1ec]
test esi, esi
jle 0x4ec644
add ecx, 0x1f0
cmp dword [ecx], edx
je 0x4ec678
inc eax
add ecx, 4
cmp eax, esi
jl 0x4ec638
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
and ecx, dword [esp + 0x10]
and edx, dword [esp + 0x18]
or ecx, edx
jne 0x4ec68f
mov ecx, dword [esp + 0x30]
add edi, 0x30
sub ebx, 1
js 0x4ec8bf
mov edx, 0xffbf
jmp 0x4ec617
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x4ec655
mov eax, dword [edi + 0x14]
lea esi, [edi + 0xa]
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [edi]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0xc]
mov eax, 1
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4ec730
mov edi, dword [esp + 0x30]
cmp dword [esi + 0xa], edi
je 0x4ec6c9
mov ecx, 0xffbf
and word [esi], cx
jmp 0x4ec720
cmp dword [esi + 0x12], ecx
jne 0x4ec71a
cmp ecx, 0xfffffffe
jne 0x4ec6ec
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
push edx
mov edx, dword [esi - 0xa]
mov edx, dword [edx + 0xc]
call fcn.004b68f0
add esp, 8
test eax, eax
jne 0x4ec71a
mov ecx, dword [esi - 0xa]
mov ecx, dword [ecx + 0x10]
call fcn.004aedc0
mov ecx, dword [esi - 0xa]
movsx edi, al
mov ecx, dword [ecx + 0xc]
call fcn.004aedc0
movsx eax, al
test edi, edi
je 0x4ec710
cmp edi, eax
jne 0x4ec71a
or word [esi], 0x40
mov eax, dword [esp + 0x2c]
jmp 0x4ec720
xor eax, eax
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x40]
add esi, 0x30
sub ebx, 1
mov edx, dword [esp + 0x28]
jns 0x4ec6b2
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
inc edx
mov esi, dword [esp + 0xc]
cmp edx, 2
mov dword [esp + 0x4c], edx
mov edx, 0xffbf
jl 0x4ec600
test eax, eax
je 0x4ec8bf
mov eax, dword [esp + 0xc]
xor ebx, ebx
mov esi, dword [esi + 0x14]
xor edx, edx
mov edi, dword [eax + 0xc]
sub edi, 1
js 0x4ec7cb
nop word [eax + eax]
test byte [esi + 0xa], 0x40
je 0x4ec7ab
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4ec791
mov ecx, dword [esp + 0x24]
push 0
push 0
call fcn.004b0150
add esp, 8
jmp 0x4ec793
xor eax, eax
push eax
mov eax, dword [esp + 0x24]
mov edx, ebx
mov ecx, dword [eax]
call fcn.004b0d60
mov ebx, eax
add esp, 4
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
add esi, 0x30
sub edi, 1
jns 0x4ec770
test edx, edx
je 0x4ec7cb
mov ecx, dword [esp + 0x24]
push 0
push 0
call fcn.004b0150
add esp, 8
mov edi, eax
jmp 0x4ec7cd
xor edi, edi
mov eax, dword [esp + 0x3c]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.00477bd0
mov esi, eax
add esp, 8
test esi, esi
je 0x4ec89f
push 0x34
push 0
push esi
call fcn.00638f20
or eax, 0xffffffff
mov byte [esi], 0x31
add esp, 0xc
mov word [esi + 0x22], ax
test edi, edi
je 0x4ec812
mov dword [esi + 0xc], edi
mov eax, dword [edi + 4]
and eax, 0x200104
or dword [esi + 4], eax
mov ecx, esi
call fcn.004af860
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4ec836
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.0047ad30
add esp, 0xc
mov ecx, dword [esp + 0x50]
mov edx, esi
push 3
mov eax, dword [ecx + 4]
and eax, 1
or dword [esi + 4], eax
movzx eax, word [ecx + 0x24]
mov dword [esi + 0x14], ebx
mov ebx, dword [esp + 0x38]
mov ecx, ebx
mov word [esi + 0x24], ax
call fcn.004eb8d0
mov ecx, dword [esp + 0x3c]
add esp, 4
mov esi, eax
mov edx, ebx
push esi
call fcn.004ecc90
mov eax, dword [ebx + 0x14]
lea edx, [esi + esi*2]
mov ecx, dword [ebp + 8]
add edx, edx
mov esi, dword [esp + 0x58]
add esp, 4
mov dword [eax + edx*8 + 0x10], ecx
mov ecx, dword [ebx + 0x14]
movzx eax, word [ecx + esi + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
inc byte [eax + esi + 0xe]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4ec8b0
mov eax, dword [esp + 0x3c]
mov edx, edi
mov ecx, dword [eax]
call fcn.004aff00
test ebx, ebx
je 0x4ec8bf
mov ecx, dword [esp + 0x24]
mov edx, ebx
call fcn.004b1140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret