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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov ebx, dword [eax + 0x14]
push edi
mov edi, dword [eax]
lea edx, [edx + edx*2]
shl edx, 4
add ebx, edx
mov dword [ebp - 0x20], edi
push 0
mov ecx, dword [edi]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebx]
mov dword [ebp - 0x3c], edx
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], eax
push 0x1a0
test ecx, ecx
je 0x4e7b6f
push ecx
call fcn.0050bfe0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x14], esi
jmp 0x4e7b7c
call fcn.0051c500
add esp, 8
mov dword [ebp - 0x14], eax
mov esi, eax
test esi, esi
je 0x4e7b90
push 0x1a0
push 0
push esi
call fcn.0048deb0
add esp, 0xc
mov dword [ebx + 0x1c], esi
test esi, esi
je 0x4e8457
or word [ebx + 0xa], 0x10
mov ebx, dword [ebp - 0x14]
push 0x180
push 0
lea esi, [ebx + 0x18]
push esi
call fcn.0048deb0
push 0x2b
push dword [ebp - 0x34]
mov dword [ebx], edi
push ebx
mov byte [ebx + 9], 0
mov dword [ebx + 4], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 8
mov dword [ebx + 0x14], esi
call fcn.00540f90
mov esi, dword [ebx + 0xc]
add esp, 0x18
sub esi, 1
mov eax, dword [ebp + 8]
js 0x4e7c03
lea ebx, [ebx]
push esi
push ebx
push eax
call fcn.004e6b90
mov eax, dword [ebp + 8]
add esp, 0xc
sub esi, 1
jns 0x4e7bf0
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0x51], 0
jne 0x4e8457
mov eax, dword [ebx + 0xc]
or edx, 0xffffffff
mov ebx, dword [ebx + 0x14]
or edi, 0xffffffff
or esi, 0xffffffff
mov dword [ebp - 0x10], edx
sub eax, 1
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xc], ebx
js 0x4e7ea2
mov edi, edi
mov eax, edx
or eax, edi
je 0x4e7e9f
movzx eax, word [ebx + 0xc]
test eax, 0x1ff
jne 0x4e7db1
xor esi, esi
push esi
push 0x198
push ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
call fcn.0050bfe0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4e7e91
or word [ebx + 0xa], 0x20
mov eax, 0x400
push 0x180
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
lea esi, [edi + 0x18]
push 0
push esi
mov dword [ebx + 0x1c], edi
mov word [ebx + 0xc], ax
call fcn.0048deb0
mov eax, dword [ebp + 0xc]
push 0x2c
mov eax, dword [eax]
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
push dword [ebx]
push edi
call fcn.00540f90
mov esi, dword [edi + 0xc]
add esp, 0x18
sub esi, 1
js 0x4e7cf3
mov ebx, dword [ebp + 8]
lea esp, [esp]
push esi
push edi
push ebx
call fcn.004e6b90
add esp, 0xc
sub esi, 1
jns 0x4e7ce0
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
cmp byte [ecx + 0x51], 0
jne 0x4e7d6b
mov ebx, dword [edi + 0x14]
mov edi, dword [edi + 0xc]
test edi, edi
jle 0x4e7d68
lea esp, [esp]
mov eax, dword [ebx]
mov al, byte [eax]
cmp al, 0x31
je 0x4e7d2f
cmp al, 0x35
jb 0x4e7d20
cmp al, 0x39
jbe 0x4e7d2f
cmp al, 0x32
je 0x4e7d2f
cmp al, 0x2d
je 0x4e7d2f
cmp word [ebx + 0xc], 0x40
jne 0x4e7d5d
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov edx, dword [ecx + 0x1ec]
test edx, edx
jle 0x4e7d53
mov esi, dword [ebx + 0x14]
add ecx, 0x1f0
cmp dword [ecx], esi
je 0x4e7d9a
inc eax
add ecx, 4
cmp eax, edx
jl 0x4e7d47
xor ecx, ecx
xor edx, edx
or dword [ebp - 0x28], ecx
or dword [ebp - 0x2c], edx
add ebx, 0x30
sub edi, 1
jne 0x4e7d10
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
and edx, dword [ebp - 0x28]
and edi, dword [ebp - 0x2c]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
add ebx, 0x30
dec eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x30], eax
test eax, eax
jns 0x4e7c40
jmp 0x4e7ea2
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 0x4e7d57
movzx eax, word [ebx + 0xa]
test al, 8
jne 0x4e7d7d
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov edi, dword [ecx + 0x1ec]
test edi, edi
jle 0x4e7ddd
mov edx, dword [ebx + 0x14]
add ecx, 0x1f0
cmp dword [ecx], edx
je 0x4e7e52
inc eax
add ecx, 4
cmp eax, edi
jl 0x4e7dd1
xor esi, esi
xor ebx, ebx
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + 0xa]
test al, 2
je 0x4e7e27
xor edx, edx
test edi, edi
jle 0x4e7e1c
mov eax, dword [ecx + 0x10]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x14]
add ecx, ecx
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [ebp - 0x20]
add eax, 0x1f0
lea esp, [esp]
cmp dword [eax], ecx
je 0x4e7e6c
inc edx
add eax, 4
cmp edx, edi
jl 0x4e7e10
xor eax, eax
xor ecx, ecx
or esi, eax
or ebx, ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
and edx, esi
movzx eax, word [ecx + 0xc]
and edi, ebx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], edi
test al, 2
jne 0x4e7e83
mov ebx, dword [ebp - 0xc]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
jmp 0x4e7d80
xor esi, esi
xor ebx, ebx
bts esi, eax
cmp eax, 0x20
cmovae ebx, esi
xor esi, ebx
cmp eax, 0x40
cmovae ebx, esi
jmp 0x4e7de1
xor eax, eax
xor ecx, ecx
bts eax, edx
cmp edx, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edx, 0x40
cmovae ecx, eax
jmp 0x4e7e20
and dword [ebp - 4], esi
and dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
jmp 0x4e7d7d
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
jmp 0x4e7d80
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 0x14]
mov ecx, 0x200
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x198], edx
or edx, edi
mov dword [ebx + 0x19c], edi
mov word [eax + 0xc], cx
je 0x4e8084
mov eax, dword [ebp + 0xc]
mov byte [eax + 9], 1
cmp dword [ebx + 0xc], 2
jne 0x4e8084
mov ecx, dword [ebx + 0x14]
xor edx, edx
xor ebx, ebx
lea ecx, [ecx]
mov eax, 0x400
cmp word [ecx + 0xc], ax
je 0x4e7ef4
xor edi, edi
test edx, edx
cmove edi, ecx
jmp 0x4e7f05
mov eax, dword [ecx + 0x1c]
cmp edx, dword [eax + 0xc]
jge 0x4e7f03
mov edi, dword [eax + 0x14]
add edi, ebx
jmp 0x4e7f05
xor edi, edi
inc edx
mov dword [ebp - 0x1c], edi
add ebx, 0x30
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ebx
test edi, edi
je 0x4e807e
xor edx, edx
xor ebx, ebx
jmp 0x4e7f30
mov edi, dword [ebp - 0x1c]
jmp 0x4e7f28
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
jmp 0x4e7f30
mov eax, dword [ebp - 0x14]
mov esi, 0x400
mov ecx, dword [eax + 0x14]
cmp word [ecx + 0x3c], si
lea eax, [ecx + 0x30]
je 0x4e7f4d
xor esi, esi
test edx, edx
cmove esi, eax
jmp 0x4e7f5e
mov esi, dword [eax + 0x1c]
cmp edx, dword [esi + 0xc]
jge 0x4e7f5c
mov esi, dword [esi + 0x14]
add esi, ebx
jmp 0x4e7f5e
xor esi, esi
inc edx
add ebx, 0x30
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ebx
test esi, esi
je 0x4e8073
movzx ecx, word [edi + 0xc]
movzx edx, word [esi + 0xc]
mov eax, ecx
or eax, edx
movzx ebx, ax
test cl, 0x3e
je 0x4e7f25
test dl, 0x3e
mov edx, dword [ebp - 0xc]
je 0x4e7f28
mov eax, ebx
and eax, 0x1a
cmp ax, bx
je 0x4e7fa0
mov eax, ebx
and eax, 0x26
cmp ax, bx
jne 0x4e7f28
mov eax, dword [esi]
push 0xffffffffffffffff
push dword [eax + 0xc]
mov eax, dword [edi]
push dword [eax + 0xc]
push 0
call fcn.00510f40
mov edx, dword [ebp - 0xc]
add esp, 0x10
test eax, eax
jne 0x4e7f28
mov eax, dword [esi]
push 0xffffffffffffffff
push dword [eax + 0x10]
mov eax, dword [edi]
push dword [eax + 0x10]
push 0
call fcn.00510f40
mov edx, dword [ebp - 0xc]
add esp, 0x10
test eax, eax
jne 0x4e7f28
mov ecx, ebx
lea eax, [ecx - 1]
test ecx, eax
je 0x4e7ffb
test bl, 0x18
mov eax, 8
mov ebx, 0x20
cmovne ebx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [edi]
test eax, eax
je 0x4e7f28
push 0
push 0
push eax
push ecx
call fcn.004e8b10
mov edx, dword [ebp - 0xc]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x38], edi
test edi, edi
je 0x4e7f20
movzx esi, bx
mov edx, 0x35
cmp esi, 2
je 0x4e8050
xor ecx, ecx
mov edi, 2
inc ecx
mov eax, edi
shl eax, cl
inc edx
cmp esi, eax
jne 0x4e8043
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp + 0xc]
push 3
push edi
push ebx
mov byte [edi], dl
call fcn.0054d900
push eax
push ebx
push dword [ebp + 8]
call fcn.004e6b90
mov edi, dword [ebp - 0x1c]
add esp, 0x18
jmp 0x4e7f25
mov edx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
jmp 0x4e7ee0
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
mov eax, esi
or eax, dword [ebp - 0x18]
je 0x4e8457
xor eax, eax
mov edx, 0xffbf
or ecx, 0xffffffff
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], ecx
nop
test eax, eax
jne 0x4e81de
mov edi, dword [ebx + 0x14]
mov ebx, dword [ebx + 0xc]
sub ebx, 1
js 0x4e8457
and word [edi + 0xa], dx
mov esi, dword [edi + 0x14]
cmp esi, ecx
je 0x4e80f9
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov edx, dword [ecx + 0x1ec]
test edx, edx
jle 0x4e80e3
add ecx, 0x1f0
cmp dword [ecx], esi
je 0x4e8108
inc eax
add ecx, 4
cmp eax, edx
jl 0x4e80d7
xor ecx, ecx
xor edx, edx
and ecx, dword [ebp - 4]
and edx, dword [ebp - 0x18]
or ecx, edx
jne 0x4e811f
mov ecx, dword [ebp - 0x1c]
mov edx, 0xffbf
add edi, 0x30
sub ebx, 1
jns 0x4e80b7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
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 0x4e80e7
mov eax, dword [edi]
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x1c], esi
lea esi, [edi + 0xa]
mov dword [ebp - 0x38], ecx
mov edx, dword [eax + 0xc]
mov eax, 1
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jmp 0x4e8140
test eax, eax
je 0x4e81bb
mov edi, dword [ebp - 0x1c]
cmp dword [esi + 0xa], edi
je 0x4e8156
mov ecx, 0xffbf
and word [esi], cx
jmp 0x4e81ad
cmp dword [esi + 0x12], ecx
jne 0x4e81a8
cmp ecx, 0xfffffffe
jne 0x4e8178
mov eax, dword [esi - 0xa]
push 0xffffffffffffffff
push edx
push dword [eax + 0xc]
push dword [ebp - 0x24]
call fcn.00510f40
add esp, 0x10
test eax, eax
jne 0x4e81a8
mov eax, dword [esi - 0xa]
push dword [eax + 0x10]
call fcn.0050dfe0
movsx edi, al
mov eax, dword [esi - 0xa]
push dword [eax + 0xc]
call fcn.0050dfe0
add esp, 8
movsx eax, al
test edi, edi
je 0x4e819f
cmp edi, eax
jne 0x4e81a8
or word [esi], 0x40
mov eax, dword [ebp - 0x2c]
jmp 0x4e81ad
xor eax, eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x38]
add esi, 0x30
sub ebx, 1
mov edx, dword [ebp - 0x28]
jns 0x4e8140
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
inc edx
mov ebx, dword [ebp - 0x14]
cmp edx, 2
mov dword [ebp - 0x30], edx
mov edx, 0xffbf
jl 0x4e80a0
test eax, eax
je 0x4e8457
mov ecx, dword [ebp - 0x14]
xor edi, edi
xor eax, eax
mov esi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub ecx, 1
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ecx
js 0x4e836b
lea ebx, [ebx]
test byte [esi + 0xa], 0x40
je 0x4e8341
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4e8228
push 0
push 0
push eax
push dword [ebp - 8]
call fcn.004e8b10
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x4e822f
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ebx, dword [eax]
test edi, edi
jne 0x4e8257
push edi
push 0x18
push ebx
call fcn.0050bfe0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4e82f3
xor edx, edx
jmp 0x4e831a
mov edx, dword [edi]
lea ecx, [edx - 1]
test edx, ecx
jne 0x4e831a
mov eax, edx
mov ecx, 2
imul ecx
add eax, 0xffffffff
mov ecx, eax
adc edx, 0xffffffff
mov esi, edx
shld esi, ecx, 2
shl ecx, 2
add eax, ecx
adc edx, esi
shld edx, eax, 2
shl eax, 2
add eax, 0x18
mov dword [ebp - 0x30], eax
adc edx, 0
mov dword [ebp - 0x2c], edx
cmp edi, dword [ebx + 0x14c]
jae 0x4e82e0
cmp edi, dword [ebx + 0x144]
jb 0x4e82b6
test edx, edx
ja 0x4e82e0
jb 0x4e82b2
cmp eax, 0x80
ja 0x4e82e0
mov eax, edi
jmp 0x4e82ec
cmp edi, dword [ebx + 0x148]
jb 0x4e82e0
movzx eax, word [ebx + 0x11e]
cdq
mov ecx, eax
cmp dword [ebp - 0x2c], edx
ja 0x4e82da
jb 0x4e82b2
mov eax, dword [ebp - 0x30]
cmp eax, ecx
ja 0x4e82dd
mov eax, edi
jmp 0x4e82ec
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
push edx
push eax
push edi
push ebx
call fcn.004e50e0
add esp, 0x10
mov esi, dword [ebp - 0x1c]
test eax, eax
jne 0x4e8316
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4e8304
push eax
push ebx
call fcn.00511210
add esp, 8
test edi, edi
je 0x4e8312
push edi
push ebx
call fcn.004e9280
add esp, 8
xor edi, edi
jmp 0x4e8339
mov edx, dword [eax]
mov edi, eax
lea eax, [edx + edx*4]
lea ecx, [edi + eax*4]
lea eax, [edx + 1]
mov dword [edi], eax
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx + 4], eax
mov eax, dword [esi]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
dec ecx
add esi, 0x30
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
test ecx, ecx
jns 0x4e8200
test eax, eax
je 0x4e836b
push 0
push 0
push eax
push dword [ebp - 8]
call fcn.004e8b10
add esp, 0x10
mov ebx, eax
jmp 0x4e836d
xor ebx, ebx
mov eax, dword [ebp - 0x24]
push 0
push 0x34
push dword [eax]
call fcn.0050bfe0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4e8435
push 0x34
push 0
push esi
call fcn.0048deb0
or eax, 0xffffffff
mov byte [esi], 0x31
add esp, 0xc
mov word [esi + 0x22], ax
test ebx, ebx
je 0x4e83b1
mov dword [esi + 0xc], ebx
mov eax, dword [ebx + 4]
and eax, 0x200104
or dword [esi + 4], eax
push esi
call fcn.004e9a00
mov ecx, dword [ebp - 0x24]
add esp, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4e83d6
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.0050dd30
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov ebx, dword [ebp + 0xc]
push 3
push esi
mov eax, dword [ecx + 4]
and eax, 1
or dword [esi + 4], eax
movzx eax, word [ecx + 0x24]
push ebx
mov word [esi + 0x24], ax
mov dword [esi + 0x14], edi
call fcn.0054d900
mov esi, eax
push esi
push ebx
push dword [ebp + 8]
call fcn.004e6b90
mov eax, dword [ebx + 0x14]
lea edx, [esi + esi*2]
mov ecx, dword [ebp + 0x10]
add edx, edx
mov esi, dword [ebp - 0x3c]
add esp, 0x18
mov dword [eax + edx*8 + 0x10], ecx
mov ecx, dword [ebx + 0x14]
pop edi
movzx eax, word [ecx + esi + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
inc byte [esi + eax + 0xe]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x4e8447
mov eax, dword [ebp - 0x24]
push ebx
push dword [eax]
call fcn.00511210
add esp, 8
test edi, edi
je 0x4e8457
push edi
push dword [ebp - 8]
call fcn.004e9280
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret