Function at 0x4c9920
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 0x4c996d
cmp dword [edi + 0x74], eax
jne 0x4c9960
test byte [ecx + 0x4c], 8
jne 0x4c9960
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.0049bd00
mov ebx, eax
mov dword [esp + 0x1c], eax
cmp dword [ebp + 0x1c], 0
jge 0x4c99cf
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 0x4c99a0
push 0
push 0
push edx
mov edx, 0x2e
mov ecx, ebx
call fcn.0049bf40
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x4c99cf
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 0x4c9a8f
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4c99f0
mov eax, dword [eax + 4]
movzx eax, word [eax + esi*2]
jmp 0x4c99f3
or eax, 0xffffffff
mov edx, dword [ebp + 8]
mov ecx, edi
push eax
push dword [ebp + 0x18]
call fcn.004c9880
add esp, 8
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
test ebx, ebx
je 0x4c9a15
movzx ecx, word [ebx + esi*4]
jmp 0x4c9a19
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 0x4c9a3f
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c9a31
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.004b0d60
push eax
push dword [esp + 0x20]
mov edx, 0x35
mov ecx, edi
call fcn.004b0f30
mov edx, dword [esp + 0x20]
mov ecx, edi
push eax
call fcn.004b1040
mov edx, eax
inc esi
mov eax, dword [ebp + 0x10]
add esp, 0x14
mov dword [esp + 0x10], edx
cmp esi, dword [eax + 0x14]
jl 0x4c99e0
mov ebx, eax
jmp 0x4c9a91
xor edx, edx
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebx]
jne 0x4c9c77
cmp dword [ebp + 0x1c], 0
jle 0x4c9c77
test byte [ecx + 0x24], 0x20
jne 0x4c9b41
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.004b0d60
mov esi, eax
add esp, 8
test esi, esi
je 0x4c9ae6
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.004b0d60
add esp, 8
test eax, eax
je 0x4c9b29
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.004b0f30
add esp, 8
mov esi, eax
jmp 0x4c9c5f
mov eax, dword [ebp + 0xc]
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x14], 0
cmp dx, word [eax + 0x32]
jae 0x4c9bf6
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.004c9880
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 0x4c9ba3
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c9b94
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.004b0d60
push eax
push dword [esp + 0x34]
mov edx, 0x2d
mov ecx, edi
call fcn.004b0f30
mov edx, dword [esp + 0x24]
mov ecx, edi
push eax
call fcn.004b1040
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 0x4c9b60
mov ecx, dword [edi]
push 0
push 0x34
call fcn.0047d040
mov esi, eax
add esp, 8
test esi, esi
je 0x4c9c4e
push 0x34
push 0
push esi
call fcn.00573560
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.004b0ec0
mov eax, dword [edi]
add esp, 8
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4c9c5f
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.00480240
add esp, 0xc
jmp 0x4c9c5f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c9c5f
mov ecx, dword [edi]
mov edx, eax
call fcn.004b1380
mov edx, dword [esp + 0x10]
mov ecx, edi
push esi
call fcn.004b1040
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.004affd0
cmp dword [edi + 0x24], 0
jne 0x4c9d23
push 0
push 0
push 0
push 0
push dword [esp + 0x20]
mov edx, esi
mov ecx, edi
call fcn.004ef6d0
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 0x4c9ce8
push 0
push dword [ebp + 0x1c]
mov ecx, edi
push edx
mov edx, 0x96
call fcn.0049bf40
add esp, 0xc
jmp 0x4c9d16
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 0x4c9d27
mov ecx, esi
call fcn.004f0340
jmp 0x4c9d27
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c9d3a
mov ecx, dword [esp + 0x18]
mov edx, eax
call fcn.004b1380
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4c9d71
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4c9d5c
mov eax, 0x647cc8
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