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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x609e44]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov ecx, eax
mov ebx, dword [edx + 0x18]
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
call fcn.00492cb0
add esp, 4
mov ecx, eax
mov dword [esp + 0x28], ecx
test esi, esi
je 0x4d30b8
mov ecx, dword [esp + 0x1c]
mov edx, esi
push 0
push 0
call fcn.00492790
mov ecx, dword [esp + 0x30]
add esp, 8
mov dword [esp + 0x24], eax
jmp 0x4d30c0
mov dword [esp + 0x24], 0
test ecx, ecx
je 0x4d30d8
mov eax, dword [ecx + 0x18]
mov dword [ecx + 0x34], 0xffffffff
dec dword [eax + 0x20]
mov dword [ecx + 0x18], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d318c
xor ecx, ecx
xor ebx, ebx
cmp cx, word [eax + 0x32]
jae 0x4d317b
jmp 0x4d30f8
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [edi]
push 0
push 0x34
movzx eax, word [eax + ebx*2]
mov dword [esp + 0x1c], eax
call fcn.004581b0
mov esi, eax
add esp, 8
test esi, esi
je 0x4d3157
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi], 0x4b
or eax, 0xffffffff
mov ecx, esi
mov word [esi + 0x22], ax
call fcn.00491da0
mov eax, dword [edi]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4d314e
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.0045b840
add esp, 0xc
mov eax, dword [esp + 0x14]
inc eax
mov word [esi + 0x20], ax
mov edx, dword [esp + 0x10]
mov ecx, edi
push esi
call fcn.004933c0
mov dword [esp + 0x14], eax
inc ebx
mov eax, dword [esp + 0x1c]
add esp, 4
movzx eax, word [eax + 0x32]
cmp ebx, eax
jl 0x4d30f4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 0xf
jmp 0x4d32bd
cmp dword [ebx + 0xc], 0
je 0x4d3227
mov eax, dword [esp + 0x14]
xor ecx, ecx
xor ebx, ebx
cmp cx, word [eax + 0x2a]
jge 0x4d3216
mov ecx, dword [edi]
push 0
push 0x34
call fcn.004581b0
mov esi, eax
add esp, 8
test esi, esi
je 0x4d31f6
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi], 0x4b
or eax, 0xffffffff
mov ecx, esi
mov word [esi + 0x22], ax
call fcn.00491da0
mov eax, dword [edi]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4d31ef
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.0045b840
add esp, 0xc
lea eax, [ebx + 1]
mov word [esi + 0x20], ax
mov edx, dword [esp + 0x10]
mov ecx, edi
push esi
call fcn.004933c0
mov dword [esp + 0x14], eax
inc ebx
mov eax, dword [esp + 0x18]
add esp, 4
movsx eax, word [eax + 0x2a]
cmp ebx, eax
jl 0x4d31a4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 0xe
jmp 0x4d32bd
mov ebx, dword [ebx + 0x38]
mov ecx, dword [edi]
neg ebx
push 0
sbb ebx, ebx
add ebx, 0xf
push 0x34
mov dword [esp + 0x1c], ebx
call fcn.004581b0
mov esi, eax
add esp, 8
test esi, esi
je 0x4d3280
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi], 0x4b
or eax, 0xffffffff
mov ecx, esi
mov word [esi + 0x22], ax
call fcn.00491da0
mov eax, dword [edi]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4d3280
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.0045b840
add esp, 0xc
mov ebx, dword [edi]
mov ecx, ebx
push 0
push 0x18
call fcn.004581b0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x4d32aa
mov dword [eax], 1
xorps xmm0, xmm0
movups xmmword [eax + 8], xmm0
mov dword [eax + 4], esi
jmp 0x4d32bd
test esi, esi
je 0x4d32b7
mov edx, esi
mov ecx, ebx
call fcn.00492560
xor eax, eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4d3309
xor ebx, ebx
cmp dword [ecx], ebx
jle 0x4d3309
lea esi, [ecx + 4]
nop
mov edx, dword [esi]
test edx, edx
je 0x4d32e8
mov ecx, dword [esp + 0x1c]
push 0
push 0
call fcn.00492790
add esp, 8
jmp 0x4d32ea
xor eax, eax
mov edx, dword [esp + 0x10]
mov ecx, edi
push eax
call fcn.004933c0
mov ecx, dword [esp + 0x24]
inc ebx
add esp, 4
mov dword [esp + 0x10], eax
add esi, 0x14
cmp ebx, dword [ecx]
jl 0x4d32d0
push 0
push 0x820000
push 0
push 0
push 0
push dword [esp + 0x38]
mov edx, eax
mov ecx, edi
push dword [esp + 0x40]
call fcn.004c3740
mov esi, eax
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x30]
add esp, 0x1c
mov byte [esp + 0x30], al
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
test eax, eax
je 0x4d3366
movzx ecx, word [eax + 0x32]
mov dword [esp + 0x38], ecx
jmp 0x4d336e
mov dword [esp + 0x38], 0xffffffff
lea eax, [esp + 0x30]
mov edx, esi
push eax
mov ecx, edi
call fcn.004cdba0
add esp, 4
test esi, esi
je 0x4d3393
mov ecx, dword [esp + 0x1c]
mov edx, esi
push 1
call fcn.004c3630
add esp, 4
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret