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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, edx
mov dword [esp + 0x2c], ecx
mov edx, dword [ebp + 8]
push ebx
push esi
mov ebx, dword [eax]
push edi
mov edi, dword [eax + 0x14]
lea edx, [edx + edx*2]
shl edx, 4
mov ecx, dword [ebx]
add edi, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], eax
push 0
mov ecx, dword [ecx]
mov eax, dword [edi]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], eax
push 0x1a0
test ecx, ecx
je 0x4a8a0c
call fcn.0042ca80
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x4a8a17
call fcn.0042c4a0
mov esi, eax
mov dword [esp + 0x14], eax
add esp, 8
test esi, esi
je 0x4a927e
push 0x1a0
push 0
push esi
call fcn.004e0bd0
or word [edi + 0xa], 0x10
add esp, 0xc
mov dword [edi + 0x1c], esi
add esi, 0x18
push 0x180
push 0
push esi
call fcn.004e0bd0
mov eax, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x44]
mov dword [eax], ebx
mov ebx, eax
push 0x2b
mov ecx, 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.004aa3a0
mov ecx, dword [esp + 0x3c]
add esp, 4
mov edx, ebx
call fcn.004aa730
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x51], 0
jne 0x4a9281
mov eax, dword [ebx + 0xc]
or edx, 0xffffffff
mov ebx, dword [ebx + 0x14]
or esi, 0xffffffff
sub eax, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], ebx
js 0x4a8dad
nop
mov eax, edx
or eax, esi
je 0x4a8da9
movzx eax, word [ebx + 0xc]
test eax, 0x1ff
jne 0x4a8c80
xorps xmm0, xmm0
push 0
push 0x198
movlpd qword [esp + 0x58], xmm0
call fcn.0042ca80
mov edi, eax
add esp, 8
test edi, edi
je 0x4a8c67
or word [ebx + 0xa], 0x20
lea esi, [edi + 0x18]
push 0x180
xorps xmm0, xmm0
mov dword [ebx + 0x1c], edi
mov eax, 0x400
movlpd qword [esp + 0x24], xmm0
push 0
push esi
mov word [ebx + 0xc], ax
call fcn.004e0bd0
mov eax, dword [esp + 0x38]
add esp, 0xc
mov ecx, edi
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
mov edx, dword [ebx]
push 0x2c
call fcn.004aa3a0
mov ecx, dword [esp + 0x3c]
add esp, 4
mov edx, edi
call fcn.004aa730
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x51], 0
jne 0x4a8c36
mov ebx, dword [edi + 0x14]
mov edi, dword [edi + 0xc]
test edi, edi
jle 0x4a8c36
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
mov eax, dword [ebx]
mov al, byte [eax]
cmp al, 0x31
je 0x4a8bc7
cmp al, 0x35
jb 0x4a8bb8
cmp al, 0x39
jbe 0x4a8bc7
cmp al, 0x32
je 0x4a8bc7
cmp al, 0x2d
je 0x4a8bc7
cmp word [ebx + 0xc], 0x40
jne 0x4a8c11
mov ecx, dword [esp + 0x30]
xor eax, eax
mov edx, dword [ecx + 0x1ec]
test edx, edx
jle 0x4a8bf0
mov esi, dword [ebx + 0x14]
add ecx, 0x1f0
cmp dword [ecx], esi
je 0x4a8c1b
inc eax
add ecx, 4
cmp eax, edx
jl 0x4a8be0
mov esi, dword [esp + 0x20]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
or esi, ecx
mov ecx, dword [esp + 0x1c]
or ecx, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
add ebx, 0x30
sub edi, 1
jne 0x4a8ba8
jmp 0x4a8c3e
mov esi, dword [esp + 0x20]
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 0x4a8c01
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x54]
and edx, esi
mov esi, dword [esp + 0x34]
and esi, ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ecx
jmp 0x4a8d89
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ecx
jmp 0x4a8d8d
movzx eax, word [ebx + 0xa]
test al, 8
jne 0x4a8d91
mov ecx, dword [esp + 0x30]
xor eax, eax
mov esi, dword [ecx + 0x1ec]
test esi, esi
jle 0x4a8cb5
mov edx, dword [ebx + 0x14]
add ecx, 0x1f0
cmp dword [ecx], edx
je 0x4a8d50
inc eax
add ecx, 4
cmp eax, esi
jl 0x4a8ca5
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
movzx eax, word [ecx + 0xa]
test al, 2
je 0x4a8d19
xor edx, edx
test esi, esi
jle 0x4a8d00
mov eax, dword [ecx + 0x10]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
add ecx, ecx
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [esp + 0x30]
add eax, 0x1f0
cmp dword [eax], ecx
je 0x4a8d6a
inc edx
add eax, 4
cmp edx, esi
jl 0x4a8cf4
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
or edi, eax
or ebx, ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
and edx, edi
movzx eax, word [ecx + 0xc]
and esi, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], esi
test al, 2
jne 0x4a8d81
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
jmp 0x4a8d89
xor edi, edi
xor ebx, ebx
bts edi, eax
cmp eax, 0x20
cmovae ebx, edi
xor edi, ebx
cmp eax, 0x40
cmovae ebx, edi
jmp 0x4a8cc6
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 0x4a8d11
and dword [esp + 0x1c], edi
and dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
add ebx, 0x30
dec eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x40], eax
test eax, eax
jns 0x4a8ad0
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0xc]
mov eax, 0x200
mov dword [ebx + 0x198], edx
or edx, esi
mov dword [ebx + 0x19c], esi
mov word [edi + 0xc], ax
je 0x4a8f9a
mov eax, dword [esp + 0x2c]
mov byte [eax + 9], 1
cmp dword [ebx + 0xc], 2
jne 0x4a8f9a
mov ecx, dword [ebx + 0x14]
xor edx, edx
xor ebx, ebx
nop word [eax + eax]
mov eax, 0x400
cmp word [ecx + 0xc], ax
je 0x4a8e04
xor edi, edi
test edx, edx
cmove edi, ecx
jmp 0x4a8e15
mov eax, dword [ecx + 0x1c]
cmp edx, dword [eax + 0xc]
jge 0x4a8f96
mov edi, dword [eax + 0x14]
add edi, ebx
inc edx
mov dword [esp + 0x34], edi
add ebx, 0x30
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], ebx
test edi, edi
je 0x4a8f96
xor edx, edx
xor ebx, ebx
jmp 0x4a8e41
mov edi, dword [esp + 0x34]
jmp 0x4a8e3d
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov esi, 0x400
mov ecx, dword [eax + 0x14]
cmp word [ecx + 0x3c], si
lea eax, [ecx + 0x30]
je 0x4a8e5f
xor esi, esi
test edx, edx
cmove esi, eax
jmp 0x4a8e70
mov esi, dword [eax + 0x1c]
cmp edx, dword [esi + 0xc]
jge 0x4a8f89
mov esi, dword [esi + 0x14]
add esi, ebx
inc edx
add ebx, 0x30
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
test esi, esi
je 0x4a8f89
movzx ecx, word [edi + 0xc]
movzx edx, word [esi + 0xc]
mov eax, ecx
or eax, edx
movzx ebx, ax
test cl, 0x3e
je 0x4a8e39
test dl, 0x3e
mov edx, dword [esp + 0x14]
je 0x4a8e3d
mov eax, ebx
and eax, 0x1a
cmp ax, bx
je 0x4a8eb5
mov eax, ebx
and eax, 0x26
cmp ax, bx
jne 0x4a8e3d
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [edi]
push 0xffffffffffffffff
push dword [eax + 0xc]
mov edx, dword [edx + 0xc]
call fcn.0046b700
mov edx, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x4a8e3d
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [edi]
push 0xffffffffffffffff
push dword [eax + 0x10]
mov edx, dword [edx + 0x10]
call fcn.0046b700
mov edx, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x4a8e3d
mov ecx, ebx
lea eax, [ecx - 1]
test ecx, eax
je 0x4a8f12
test bl, 0x18
mov eax, 8
mov ebx, 0x20
cmovne ebx, eax
mov eax, dword [esp + 0x2c]
mov edx, dword [edi]
mov eax, dword [eax]
mov eax, dword [eax]
test edx, edx
je 0x4a8e39
mov ecx, dword [eax]
push 0
push 0
call fcn.00464500
mov edx, dword [esp + 0x1c]
mov edi, eax
add esp, 8
test edi, edi
je 0x4a8e33
movzx esi, bx
mov edx, 0x35
cmp esi, 2
je 0x4a8f5d
xor ecx, ecx
nop
inc ecx
mov eax, 2
shl eax, cl
inc edx
cmp esi, eax
jne 0x4a8f50
mov ecx, dword [esp + 0x2c]
mov byte [edi], dl
mov edx, edi
push 3
call fcn.004a81e0
mov edx, dword [esp + 0x30]
add esp, 4
mov ecx, dword [esp + 0x38]
push eax
call fcn.004a94f0
mov edi, dword [esp + 0x38]
add esp, 4
jmp 0x4a8e39
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
jmp 0x4a8df0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x20]
je 0x4a9281
xor eax, eax
mov edx, 0xffbf
or ecx, 0xffffffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ecx
nop word [eax + eax]
test eax, eax
jne 0x4a9115
mov edi, dword [ebx + 0x14]
mov ebx, dword [ebx + 0xc]
sub ebx, 1
js 0x4a9281
and word [edi + 0xa], dx
mov esi, dword [edi + 0x14]
cmp esi, ecx
je 0x4a902a
mov ecx, dword [esp + 0x30]
xor eax, eax
mov edx, dword [ecx + 0x1ec]
test edx, edx
jle 0x4a9004
add ecx, 0x1f0
cmp dword [ecx], esi
je 0x4a9039
inc eax
add ecx, 4
cmp eax, edx
jl 0x4a8ff8
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
and ecx, dword [esp + 0x1c]
and edx, dword [esp + 0x20]
or ecx, edx
jne 0x4a9050
mov ecx, dword [esp + 0x34]
mov edx, 0xffbf
add edi, 0x30
sub ebx, 1
jns 0x4a8fd7
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 0x4a9015
mov eax, dword [edi]
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x34], esi
lea esi, [edi + 0xa]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0xc]
mov eax, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
test eax, eax
je 0x4a90ee
mov edi, dword [esp + 0x34]
cmp dword [esi + 0xa], edi
je 0x4a9087
mov ecx, 0xffbf
and word [esi], cx
jmp 0x4a90de
cmp dword [esi + 0x12], ecx
jne 0x4a90d8
cmp ecx, 0xfffffffe
jne 0x4a90aa
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
push edx
mov edx, dword [esi - 0xa]
mov edx, dword [edx + 0xc]
call fcn.0046b700
add esp, 8
test eax, eax
jne 0x4a90d8
mov ecx, dword [esi - 0xa]
mov ecx, dword [ecx + 0x10]
call fcn.00463030
mov ecx, dword [esi - 0xa]
movsx edi, al
mov ecx, dword [ecx + 0xc]
call fcn.00463030
movsx eax, al
test edi, edi
je 0x4a90ce
cmp edi, eax
jne 0x4a90d8
or word [esi], 0x40
mov eax, dword [esp + 0x18]
jmp 0x4a90de
xor eax, eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x48]
add esi, 0x30
sub ebx, 1
mov edx, dword [esp + 0x14]
jns 0x4a9070
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
inc edx
mov ebx, dword [esp + 0xc]
cmp edx, 2
mov dword [esp + 0x40], edx
mov edx, 0xffbf
jl 0x4a8fc0
test eax, eax
je 0x4a9281
mov eax, dword [esp + 0xc]
xor ebx, ebx
xor edx, edx
mov edi, dword [eax + 0xc]
sub edi, 1
mov esi, dword [eax + 0x14]
js 0x4a9183
test byte [esi + 0xa], 0x40
je 0x4a9163
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4a9149
mov ecx, dword [esp + 0x10]
push 0
push 0
call fcn.00464500
add esp, 8
jmp 0x4a914b
xor eax, eax
push eax
mov eax, dword [esp + 0x34]
mov edx, ebx
mov ecx, dword [eax]
call fcn.00465110
mov ebx, eax
add esp, 4
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
add esi, 0x30
sub edi, 1
jns 0x4a9128
test edx, edx
je 0x4a9183
mov ecx, dword [esp + 0x10]
push 0
push 0
call fcn.00464500
add esp, 8
mov edi, eax
jmp 0x4a9185
xor edi, edi
mov eax, dword [esp + 0x3c]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.0042ca80
mov esi, eax
add esp, 8
test esi, esi
je 0x4a9257
push 0x34
push 0
push esi
call fcn.004e0bd0
or eax, 0xffffffff
mov byte [esi], 0x31
add esp, 0xc
mov word [esi + 0x22], ax
test edi, edi
je 0x4a91ca
mov dword [esi + 0xc], edi
mov eax, dword [edi + 4]
and eax, 0x200104
or dword [esi + 4], eax
mov ecx, esi
call fcn.00463a40
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4a91ee
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.0042fce0
add esp, 0xc
mov ecx, dword [esp + 0x44]
mov edx, esi
push 3
mov eax, dword [ecx + 4]
and eax, 1
or dword [esi + 4], eax
movzx eax, word [ecx + 0x24]
mov dword [esi + 0x14], ebx
mov ebx, dword [esp + 0x30]
mov ecx, ebx
mov word [esi + 0x24], ax
call fcn.004a81e0
mov ecx, dword [esp + 0x3c]
add esp, 4
mov esi, eax
mov edx, ebx
push esi
call fcn.004a94f0
mov eax, dword [ebx + 0x14]
lea edx, [esi + esi*2]
mov ecx, dword [ebp + 8]
add edx, edx
mov esi, dword [esp + 0x50]
add esp, 4
mov dword [eax + edx*8 + 0x10], ecx
mov ecx, dword [ebx + 0x14]
movzx eax, word [ecx + esi + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
inc byte [esi + eax + 0xe]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4a9268
mov eax, dword [esp + 0x3c]
mov edx, edi
mov ecx, dword [eax]
call fcn.00464300
test ebx, ebx
je 0x4a9281
mov ecx, dword [esp + 0x10]
mov edx, ebx
call fcn.00465470
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x1c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret