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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], edx
xor eax, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x4ca6ad
cmp dword [edi + 0x74], eax
jne 0x4ca6a0
test byte [ecx + 0x4c], 8
jne 0x4ca6a0
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.0049ca60
mov ebx, eax
mov dword [esp + 0x1c], eax
cmp dword [ebp + 0x1c], 0
jge 0x4ca70f
mov eax, dword [ebp + 0x10]
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x20], esi
movzx edx, byte [eax + 0x18]
cmp dword [ebx + 0x70], esi
jg 0x4ca6e0
push 0
push 0
push edx
mov edx, 0x2e
mov ecx, ebx
call fcn.0049cca0
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x4ca70f
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x2e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [ebp + 0x10]
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x4ca7cf
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4ca730
mov eax, dword [eax + 4]
movzx eax, word [eax + esi*2]
jmp 0x4ca733
or eax, 0xffffffff
mov edx, dword [ebp + 8]
mov ecx, edi
push eax
push dword [ebp + 0x18]
call fcn.004ca5c0
add esp, 8
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
test ebx, ebx
je 0x4ca755
movzx ecx, word [ebx + esi*4]
jmp 0x4ca759
movzx ecx, word [eax + 0x24]
mov eax, dword [eax]
movsx ecx, cx
add ecx, ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x28], eax
test eax, eax
je 0x4ca77f
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ca771
sub eax, edx
and eax, 0x3fffffff
mov ecx, dword [esp + 0x18]
mov edx, 0x3b
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push 0
push eax
call fcn.004b1ac0
push eax
push dword [esp + 0x20]
mov edx, 0x35
mov ecx, edi
call fcn.004b1c90
mov edx, dword [esp + 0x20]
mov ecx, edi
push eax
call fcn.004b1da0
mov edx, eax
inc esi
mov eax, dword [ebp + 0x10]
add esp, 0x14
mov dword [esp + 0x10], edx
cmp esi, dword [eax + 0x14]
jl 0x4ca720
mov ebx, eax
jmp 0x4ca7d1
xor edx, edx
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebx]
jne 0x4ca9b7
cmp dword [ebp + 0x1c], 0
jle 0x4ca9b7
test byte [ecx + 0x24], 0x20
jne 0x4ca881
mov ecx, dword [edi]
lea eax, [esp + 0x28]
push 0
push eax
mov edx, 0xa8
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.004b1ac0
mov esi, eax
add esp, 8
test esi, esi
je 0x4ca826
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
mov byte [esi + 1], 0x44
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, 0xa2
push 0
push eax
mov ebx, dword [ebx + 0x34]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.004b1ac0
add esp, 8
test eax, eax
je 0x4ca869
mov ecx, dword [ebp + 8]
mov dword [eax + 0x2c], ecx
or ecx, 0xffffffff
mov dword [eax + 0x1c], ebx
mov word [eax + 0x20], cx
push eax
push esi
mov edx, 0x34
mov ecx, edi
call fcn.004b1c90
add esp, 8
mov esi, eax
jmp 0x4ca99f
mov eax, dword [ebp + 0xc]
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x14], 0
cmp dx, word [eax + 0x32]
jae 0x4ca936
nop word [eax + eax]
mov eax, dword [eax + 4]
mov edx, ecx
mov ecx, edi
movzx esi, word [eax + ebx*2]
push esi
push dword [ebp + 0x18]
call fcn.004ca5c0
mov dword [esp + 0x30], eax
add esp, 8
mov eax, dword [ebp + 8]
movsx edx, si
add edx, edx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + edx*8]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4ca8e3
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ca8d4
sub ecx, edx
and ecx, 0x3fffffff
lea eax, [esp + 0x30]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x18]
mov edx, 0x3b
push 0
push eax
call fcn.004b1ac0
push eax
push dword [esp + 0x34]
mov edx, 0x2d
mov ecx, edi
call fcn.004b1c90
mov edx, dword [esp + 0x24]
mov ecx, edi
push eax
call fcn.004b1da0
mov ecx, dword [ebp + 8]
inc ebx
mov dword [esp + 0x28], eax
add esp, 0x14
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0x32]
cmp ebx, eax
mov eax, dword [ebp + 0xc]
jl 0x4ca8a0
mov ecx, dword [edi]
push 0
push 0x34
call fcn.0047ddb0
mov esi, eax
add esp, 8
test esi, esi
je 0x4ca98e
push 0x34
push 0
push esi
call fcn.00574370
add esp, 0xc
mov byte [esi], 0x13
or eax, 0xffffffff
mov edx, esi
mov word [esi + 0x22], ax
mov ecx, dword [edi]
push 0
push dword [esp + 0x18]
call fcn.004b1c20
mov eax, dword [edi]
add esp, 8
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4ca99f
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.00480fb0
add esp, 0xc
jmp 0x4ca99f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4ca99f
mov ecx, dword [edi]
mov edx, eax
call fcn.004b20e0
mov edx, dword [esp + 0x10]
mov ecx, edi
push esi
call fcn.004b1da0
mov ebx, dword [ebp + 0x10]
mov edx, eax
add esp, 4
mov dword [esp + 0x10], edx
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x38]
xorps xmm0, xmm0
mov dword [esp + 0x3c], esi
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x38], edi
call fcn.004b0d30
cmp dword [edi + 0x24], 0
jne 0x4caa63
push 0
push 0
push 0
push 0
push dword [esp + 0x20]
mov edx, esi
mov ecx, edi
call fcn.004f0400
mov edi, dword [esp + 0x30]
add esp, 0x14
movzx edx, byte [ebx + 0x18]
mov esi, eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4caa28
push 0
push dword [ebp + 0x1c]
mov ecx, edi
push edx
mov edx, 0x96
call fcn.0049cca0
add esp, 0xc
jmp 0x4caa56
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x1c]
mov dword [eax + ecx*4], 0x96
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
je 0x4caa67
mov ecx, esi
call fcn.004f1070
jmp 0x4caa67
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4caa7a
mov ecx, dword [esp + 0x18]
mov edx, eax
call fcn.004b20e0
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4caab1
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4caa9c
mov eax, 0x648de8
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret