Function at 0x4e7ee0
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 0x4e7f2f
push ecx
call fcn.0050c3b0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x14], esi
jmp 0x4e7f3c
call fcn.0051c8d0
add esp, 8
mov dword [ebp - 0x14], eax
mov esi, eax
test esi, esi
je 0x4e7f50
push 0x1a0
push 0
push esi
call fcn.0048e280
add esp, 0xc
mov dword [ebx + 0x1c], esi
test esi, esi
je 0x4e8817
or word [ebx + 0xa], 0x10
mov ebx, dword [ebp - 0x14]
push 0x180
push 0
lea esi, [ebx + 0x18]
push esi
call fcn.0048e280
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.00541340
mov esi, dword [ebx + 0xc]
add esp, 0x18
sub esi, 1
mov eax, dword [ebp + 8]
js 0x4e7fc3
lea ebx, [ebx]
push esi
push ebx
push eax
call fcn.004e6f50
mov eax, dword [ebp + 8]
add esp, 0xc
sub esi, 1
jns 0x4e7fb0
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0x51], 0
jne 0x4e8817
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 0x4e8262
mov edi, edi
mov eax, edx
or eax, edi
je 0x4e825f
movzx eax, word [ebx + 0xc]
test eax, 0x1ff
jne 0x4e8171
xor esi, esi
push esi
push 0x198
push ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
call fcn.0050c3b0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4e8251
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.0048e280
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.00541340
mov esi, dword [edi + 0xc]
add esp, 0x18
sub esi, 1
js 0x4e80b3
mov ebx, dword [ebp + 8]
lea esp, [esp]
push esi
push edi
push ebx
call fcn.004e6f50
add esp, 0xc
sub esi, 1
jns 0x4e80a0
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 0x4e812b
mov ebx, dword [edi + 0x14]
mov edi, dword [edi + 0xc]
test edi, edi
jle 0x4e8128
lea esp, [esp]
mov eax, dword [ebx]
mov al, byte [eax]
cmp al, 0x31
je 0x4e80ef
cmp al, 0x35
jb 0x4e80e0
cmp al, 0x39
jbe 0x4e80ef
cmp al, 0x32
je 0x4e80ef
cmp al, 0x2d
je 0x4e80ef
cmp word [ebx + 0xc], 0x40
jne 0x4e811d
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov edx, dword [ecx + 0x1ec]
test edx, edx
jle 0x4e8113
mov esi, dword [ebx + 0x14]
add ecx, 0x1f0
cmp dword [ecx], esi
je 0x4e815a
inc eax
add ecx, 4
cmp eax, edx
jl 0x4e8107
xor ecx, ecx
xor edx, edx
or dword [ebp - 0x28], ecx
or dword [ebp - 0x2c], edx
add ebx, 0x30
sub edi, 1
jne 0x4e80d0
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 0x4e8000
jmp 0x4e8262
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 0x4e8117
movzx eax, word [ebx + 0xa]
test al, 8
jne 0x4e813d
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov edi, dword [ecx + 0x1ec]
test edi, edi
jle 0x4e819d
mov edx, dword [ebx + 0x14]
add ecx, 0x1f0
cmp dword [ecx], edx
je 0x4e8212
inc eax
add ecx, 4
cmp eax, edi
jl 0x4e8191
xor esi, esi
xor ebx, ebx
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + 0xa]
test al, 2
je 0x4e81e7
xor edx, edx
test edi, edi
jle 0x4e81dc
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 0x4e822c
inc edx
add eax, 4
cmp edx, edi
jl 0x4e81d0
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 0x4e8243
mov ebx, dword [ebp - 0xc]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
jmp 0x4e8140
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 0x4e81a1
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 0x4e81e0
and dword [ebp - 4], esi
and dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
jmp 0x4e813d
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
jmp 0x4e8140
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 0x4e8444
mov eax, dword [ebp + 0xc]
mov byte [eax + 9], 1
cmp dword [ebx + 0xc], 2
jne 0x4e8444
mov ecx, dword [ebx + 0x14]
xor edx, edx
xor ebx, ebx
lea ecx, [ecx]
mov eax, 0x400
cmp word [ecx + 0xc], ax
je 0x4e82b4
xor edi, edi
test edx, edx
cmove edi, ecx
jmp 0x4e82c5
mov eax, dword [ecx + 0x1c]
cmp edx, dword [eax + 0xc]
jge 0x4e82c3
mov edi, dword [eax + 0x14]
add edi, ebx
jmp 0x4e82c5
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 0x4e843e
xor edx, edx
xor ebx, ebx
jmp 0x4e82f0
mov edi, dword [ebp - 0x1c]
jmp 0x4e82e8
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
jmp 0x4e82f0
mov eax, dword [ebp - 0x14]
mov esi, 0x400
mov ecx, dword [eax + 0x14]
cmp word [ecx + 0x3c], si
lea eax, [ecx + 0x30]
je 0x4e830d
xor esi, esi
test edx, edx
cmove esi, eax
jmp 0x4e831e
mov esi, dword [eax + 0x1c]
cmp edx, dword [esi + 0xc]
jge 0x4e831c
mov esi, dword [esi + 0x14]
add esi, ebx
jmp 0x4e831e
xor esi, esi
inc edx
add ebx, 0x30
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ebx
test esi, esi
je 0x4e8433
movzx ecx, word [edi + 0xc]
movzx edx, word [esi + 0xc]
mov eax, ecx
or eax, edx
movzx ebx, ax
test cl, 0x3e
je 0x4e82e5
test dl, 0x3e
mov edx, dword [ebp - 0xc]
je 0x4e82e8
mov eax, ebx
and eax, 0x1a
cmp ax, bx
je 0x4e8360
mov eax, ebx
and eax, 0x26
cmp ax, bx
jne 0x4e82e8
mov eax, dword [esi]
push 0xffffffffffffffff
push dword [eax + 0xc]
mov eax, dword [edi]
push dword [eax + 0xc]
push 0
call fcn.00511310
mov edx, dword [ebp - 0xc]
add esp, 0x10
test eax, eax
jne 0x4e82e8
mov eax, dword [esi]
push 0xffffffffffffffff
push dword [eax + 0x10]
mov eax, dword [edi]
push dword [eax + 0x10]
push 0
call fcn.00511310
mov edx, dword [ebp - 0xc]
add esp, 0x10
test eax, eax
jne 0x4e82e8
mov ecx, ebx
lea eax, [ecx - 1]
test ecx, eax
je 0x4e83bb
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 0x4e82e8
push 0
push 0
push eax
push ecx
call fcn.004e8ed0
mov edx, dword [ebp - 0xc]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x38], edi
test edi, edi
je 0x4e82e0
movzx esi, bx
mov edx, 0x35
cmp esi, 2
je 0x4e8410
xor ecx, ecx
mov edi, 2
inc ecx
mov eax, edi
shl eax, cl
inc edx
cmp esi, eax
jne 0x4e8403
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp + 0xc]
push 3
push edi
push ebx
mov byte [edi], dl
call fcn.0054dcc0
push eax
push ebx
push dword [ebp + 8]
call fcn.004e6f50
mov edi, dword [ebp - 0x1c]
add esp, 0x18
jmp 0x4e82e5
mov edx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
jmp 0x4e82a0
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
mov eax, esi
or eax, dword [ebp - 0x18]
je 0x4e8817
xor eax, eax
mov edx, 0xffbf
or ecx, 0xffffffff
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], ecx
nop
test eax, eax
jne 0x4e859e
mov edi, dword [ebx + 0x14]
mov ebx, dword [ebx + 0xc]
sub ebx, 1
js 0x4e8817
and word [edi + 0xa], dx
mov esi, dword [edi + 0x14]
cmp esi, ecx
je 0x4e84b9
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov edx, dword [ecx + 0x1ec]
test edx, edx
jle 0x4e84a3
add ecx, 0x1f0
cmp dword [ecx], esi
je 0x4e84c8
inc eax
add ecx, 4
cmp eax, edx
jl 0x4e8497
xor ecx, ecx
xor edx, edx
and ecx, dword [ebp - 4]
and edx, dword [ebp - 0x18]
or ecx, edx
jne 0x4e84df
mov ecx, dword [ebp - 0x1c]
mov edx, 0xffbf
add edi, 0x30
sub ebx, 1
jns 0x4e8477
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 0x4e84a7
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 0x4e8500
test eax, eax
je 0x4e857b
mov edi, dword [ebp - 0x1c]
cmp dword [esi + 0xa], edi
je 0x4e8516
mov ecx, 0xffbf
and word [esi], cx
jmp 0x4e856d
cmp dword [esi + 0x12], ecx
jne 0x4e8568
cmp ecx, 0xfffffffe
jne 0x4e8538
mov eax, dword [esi - 0xa]
push 0xffffffffffffffff
push edx
push dword [eax + 0xc]
push dword [ebp - 0x24]
call fcn.00511310
add esp, 0x10
test eax, eax
jne 0x4e8568
mov eax, dword [esi - 0xa]
push dword [eax + 0x10]
call fcn.0050e3b0
movsx edi, al
mov eax, dword [esi - 0xa]
push dword [eax + 0xc]
call fcn.0050e3b0
add esp, 8
movsx eax, al
test edi, edi
je 0x4e855f
cmp edi, eax
jne 0x4e8568
or word [esi], 0x40
mov eax, dword [ebp - 0x2c]
jmp 0x4e856d
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 0x4e8500
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 0x4e8460
test eax, eax
je 0x4e8817
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 0x4e872b
lea ebx, [ebx]
test byte [esi + 0xa], 0x40
je 0x4e8701
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4e85e8
push 0
push 0
push eax
push dword [ebp - 8]
call fcn.004e8ed0
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x4e85ef
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ebx, dword [eax]
test edi, edi
jne 0x4e8617
push edi
push 0x18
push ebx
call fcn.0050c3b0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4e86b3
xor edx, edx
jmp 0x4e86da
mov edx, dword [edi]
lea ecx, [edx - 1]
test edx, ecx
jne 0x4e86da
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 0x4e86a0
cmp edi, dword [ebx + 0x144]
jb 0x4e8676
test edx, edx
ja 0x4e86a0
jb 0x4e8672
cmp eax, 0x80
ja 0x4e86a0
mov eax, edi
jmp 0x4e86ac
cmp edi, dword [ebx + 0x148]
jb 0x4e86a0
movzx eax, word [ebx + 0x11e]
cdq
mov ecx, eax
cmp dword [ebp - 0x2c], edx
ja 0x4e869a
jb 0x4e8672
mov eax, dword [ebp - 0x30]
cmp eax, ecx
ja 0x4e869d
mov eax, edi
jmp 0x4e86ac
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
push edx
push eax
push edi
push ebx
call fcn.004e54a0
add esp, 0x10
mov esi, dword [ebp - 0x1c]
test eax, eax
jne 0x4e86d6
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4e86c4
push eax
push ebx
call fcn.005115e0
add esp, 8
test edi, edi
je 0x4e86d2
push edi
push ebx
call fcn.004e9640
add esp, 8
xor edi, edi
jmp 0x4e86f9
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 0x4e85c0
test eax, eax
je 0x4e872b
push 0
push 0
push eax
push dword [ebp - 8]
call fcn.004e8ed0
add esp, 0x10
mov ebx, eax
jmp 0x4e872d
xor ebx, ebx
mov eax, dword [ebp - 0x24]
push 0
push 0x34
push dword [eax]
call fcn.0050c3b0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4e87f5
push 0x34
push 0
push esi
call fcn.0048e280
or eax, 0xffffffff
mov byte [esi], 0x31
add esp, 0xc
mov word [esi + 0x22], ax
test ebx, ebx
je 0x4e8771
mov dword [esi + 0xc], ebx
mov eax, dword [ebx + 4]
and eax, 0x200104
or dword [esi + 4], eax
push esi
call fcn.004e9dc0
mov ecx, dword [ebp - 0x24]
add esp, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4e8796
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.0050e100
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.0054dcc0
mov esi, eax
push esi
push ebx
push dword [ebp + 8]
call fcn.004e6f50
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 0x4e8807
mov eax, dword [ebp - 0x24]
push ebx
push dword [eax]
call fcn.005115e0
add esp, 8
test edi, edi
je 0x4e8817
push edi
push dword [ebp - 8]
call fcn.004e9640
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret